Zach
1
Breaking Changes
- The
Label appearance option iconVisibleAtZoomLevel has been renamed iconVisible. It now accepts a boolean as well as a zoom level.
// ❌ Before
mapView.Labels.add(space, space.name, {
appearance: {
iconVisibleAtZoomLevel: Infinity, // effectively invisible
},
});
// ✅ After
mapView.Labels.add(space, space.name, {
appearance: {
iconVisible: false,
},
});
- The
Marker lowPriorityPin.enabled option has been removed and replaced with the placement option "hidden".
// ❌ Before
mapView.Markers.add(space, space.name, {
placement: ["center"],
lowPriorityPin: {
enabled: true,
size: 6,
color: 'red',
},
});
// ✅ After
mapView.Markers.add(space, space.name, {
placement: ["center", "hidden"],
lowPriorityPin: {
size: 6,
color: 'red',
},
});
Features
- Improved the appearance of
MapView.__EXPERIMENTAL__auto().
- Added
textPlacement as an option for Labels.
- Added
enableImageCollisions as an option for Spaces, enabling 2D elements to collide with anchored 3D images.
Fixes
- Fixed
MapView.__EXPERIMENTAL__auto() not labelling Facades.
- Fixed
Spaces not being created for Facades in MVFv3.
- Fixed exported types resolving as
any.
- Fixed z-fighting with overlapping
Paths in multi-destination routes.
- [React] Fixed
@mappedin/mappedin-js peer dependency.