Mappedin Logo


· 2 min read

Web SDK v4 Release Notes

profile picture for Jere Suikkila

Jere Suikkila

Developer Evangelist

Mappedin Web SDK v4 release notes are posted here and this page will be kept up-to-date as updates are released. The SDK is available from @mappedin/mappedin-js on NPM.

v4.0.19 - May 20, 2022

  • Fix tooltip issue where floor change tooltips wouldn't show up sometimes

v4.0.18 - May 16, 2022

  • Performance improvements to tooltip collisions when handling camera events
  • Blue Dot experience and performance updates in multi-building venues to better determine the building and floor the user is on
  • Console warnings regarding Floating Labels and Smart Labels now no longer pop up when you hover over a polygon on desktop.

v4.0.17 - April 14, 2022

  • Improved frame rates on large venues especially on Android by merging geometries, which reduces calls to the GPU by 10x, resulting in much higher FPS. This is on by default. To use the old rendering method, use MAP_RENDER_MODE.MULTI_GEOMETRY.
  • Image textures are cached more effectively, resulting in fewer HTTP requests
  • Performance improvements by processing labels on-demand per map
  • Documentation and readme improvements

v4.0.16 - March 23, 2022

  • Fix polygon image rotation

v4.0.15 - March 17, 2022

  • Fix polygon image flipping towards the camera
  • Fix labelAllLocations so that polygons with images are not automatically labeled

v4.0.14 - March 14, 2022

  • Improved performance of Floating Labels by avoiding redrawing the label when possible

v4.0.13 - March 9, 2022

  • Fix Tooltip size caching and removal issues introduced in v4.0.12

v4.0.12 - March 7, 2022

  • Improved the performance of tooltips, markers and floating labels
  • Improved the initial render times of venues
  • Added alwaysVisible option to Tooltip. This is false by default and can be set to true ensure that overlapping tooltips in cases such as nearby wayfinding directions are always displayed.

v4.0.11 - February 28, 2022

  • Added getPolygonsAtCoordinate to check which polygons a MappedinCoordinate is inside the bounds of.
mapView.getPolygonsAtCoordinate(coordinate: MappedinCoordinate, includeNonInteractive: boolean = false): MappedinPolygon[]

includeNonInteractive indicates whether polygons that are not marked as interactive should be included in the result (false by default).

The method returns an array of polygons the coordinate is inside the bounds of, in order of their altitude from highest to lowest.

v4.0.10 - February 8, 2022

  • Added a new rich click event: E_SDK_EVENT.CLICK which exposes the geo-coordinates, an array of polygons and whether the click was near the Blue Dot.
export type TMapClickEvent = {
* The latitude / longitude of where the user clicked the map.
* Both components may be NaN if unable to compute these components.
position: {
latitude: number;
longitude: number;
* A list of MappedinPolygons corresponding to every polygon that a user's
* click passed through. These are in order of first to last intersected.
* Will be empty if no interactive polygons were clicked.
polygons: MappedinPolygon[];
* Indicates whether the user clicked close to the Blue Dot object on the
* map, if present. If Blue Dot is disabled, this will always be false.
nearBlueDot: boolean;

v4.0.9 - December 10, 2021

  • Fixed hover tooltip placement after the map has been resized when hovering on a Flat Label location

v4.0.8 - December 1, 2021

  • Fixed Floating label positions to the height of the polygon
  • Fixed issues in the rendering of text objects on the map

v4.0.7 - November 23, 2021

  • Fixed dynamic imports. Minimum Safari version target is now 11.1.

Search Our Docs

Sign Up

© 2020 Copyright Mappedin, All Rights Reserved. View our Privacy Policy