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
betatag frompackage.jsonand 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 flaginjectStyles: false. iconVisibilityThresholdhas been replaced withiconVisibleAtZoomLevelin label appearance.
Features
- Added
getScreenCoordinateFromCoordinate()to MapView. - Added touch screen controls including double tap to zoom and two finger tap to zoom out.
- Added
segmentsproperty to the Path class which gives you a portion of the path on a floor. - Added
iconOverflowoption for label appearance. - Added
interactiveflag for the watermark. - Added
getAccessToken()andgetSasToken()functions to MapData. - Added
categoriesproperty to EnterpriseLocation. - Added detached text areas loaded from enterprise data.
- Added
flipImagesToFaceCameratoTShow3dMapOptions. - Added
flipImageToFaceCameraas an option for Spaces. - Added
verticalOffsetas an option tocreateCoordinate(). - Added automatic loading of Mappedin CSS styles.
- Added
blueDotboolean to'click'event. - Added localization for the Floors and FloorStacks.
- Added
iconVisibleAtZoomLevelto 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
setFloorde-syncing DynamicFocus. - Fixed parity between
'floor-change-start'and'floor-change'. - Fixed unnecessary warnings when
layoutIdis 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.