Mappedin JS & React SDK v6.0.1-beta.38

v6.0.1-beta.38

April 15, 2025

Changes

  • React SDK versions are now published under the “Latest” tag on NPM. It is recommended to remove the beta tag from package.json and avoid using it in future installations.
  • The CSS styles for the SDK are now automatically loaded when show3dMap() is called. This can be disabled by passing the flag injectStyles: false.
  • iconVisibilityThreshold has been replaced with iconVisibleAtZoomLevel in label appearance.

Features

  • Added getScreenCoordinateFromCoordinate() to MapView.
  • Added touch screen controls including double tap to zoom and two finger tap to zoom out.
  • Added segments property to the Path class which gives you a portion of the path on a floor.
  • Added iconOverflow option for label appearance.
  • Added interactive flag for the watermark.
  • Added getAccessToken() and getSasToken() functions to MapData.
  • Added categories property to EnterpriseLocation.
  • Added detached text areas loaded from enterprise data.
  • Added flipImagesToFaceCamera to TShow3dMapOptions.
  • Added flipImageToFaceCamera as an option for Spaces.
  • Added verticalOffset as an option to createCoordinate().
  • Added automatic loading of Mappedin CSS styles.
  • Added blueDot boolean to 'click' event.
  • Added localization for the Floors and FloorStacks.
  • Added iconVisibleAtZoomLevel to label appearance.

Fixes

  • Fixed getById('connection', id) returning the wrong data.
  • Fixed a regression in label icon loading.
  • Fixed a crash when map element width or height are 0.
  • Fixed getFocusOnTransform() triggering a 'camera-change' event.
  • Fixed textures not being loaded from data.
  • Fixed directions failing to identify a door in the instructions.
  • Fixed setFloor de-syncing DynamicFocus.
  • Fixed parity between 'floor-change-start' and 'floor-change'.
  • Fixed unnecessary warnings when layoutId is not set.
  • Fixed enterprise textures not blending with the polygon color.
  • Fixed edge weights in enterprise navigation.
  • Fixed outlines creating diagonal lines across some polygons.
  • Fixed pan bounds not scaling based on map size.
  • Fixed some paths rendering at the wrong elevation.
  • Fixed textures being applied to all polygons with the same style.
  • Fixed cases where label density would be really low.
  • Fixed images and labels z-fighting when outlines are turned off.
  • Fixed label icon size updates requiring an extra render to take affect.
  • Fixed labels being too jumpy during pan actions.
  • Fixed connection node neighbours being excluded on the current floor.
  • Fixed a crash that could occur when accessing LocationProfile properties with an old MVF.
  • Fixed issues loading inline SVGs in label icons.
  • Fixed path not drawing in stacked maps.
  • Fixed image meshes being visible before the image has fully loaded.