Release Notes
v6.0.1-alpha.20
May 2, 2024
Features
- Added new options to customize the location of the watermark. The watermark
padding
option now accepts an object withtop
,right
,bottom
,left
to fine-tune it. - (Breaking) Added support for JPEG and PNG images in Floating Label icons. In addition to this, icons are now clipped in a circle to prevent overflow. New appearance options have been added to customize the icons.
mapView.Labels.add(space, space.name, { appearance: { marker: { iconSize: 20, iconFit: 'fill', iconPadding: 4, icon: 'http://www.example.com/dog.jpeg', }, },});
The new iconFit
property determines how the icon should be scaled within the circle. 'fill'
is now default.
Fill (default) | Contain | Cover |
---|---|---|
The padding
property sets the amount of space between the icon and the border. The icon may shrink based on this value.
padding: 0 | padding: 10 |
---|---|
v6.0.1-alpha.19
April 30, 2024
Features
- It is now possible to specify the radius of the raycast for directions smoothing.
mapView.getDirections(departure, destination, { smoothing: { radius: 3 } // 3 metre radius});
By default, radius is set to 1.8 metres.
Fixes
- Fixed a race condition when doing
mapView.Navigation.clear()
directly after callingmapView.Navigation.draw(directions)
.
v6.0.1-alpha.18
April 25, 2024
Fixes
- Fixed an issue where directions may be missing distances between instructions.
v6.0.1-alpha.17
April 23, 2024
Fixes
- Resolved an issue with installing the package from NPM.
v6.0.1-alpha.16
April 23, 2024
- Version bump only.
v6.0.1-alpha.15
April 19, 2024
Fixes
- Connection weights were not being properly accounted for, causing all connection types to be prioritized equally. This has been corrected.
- Fixed
SafeAreaInsets
not working when focusing on a single point.
v6.0.1-alpha.14
April 12, 2024
- Version bump only
v6.0.1-alpha.13
April 10, 2024
Features
- The MapView contains a new controller called
Exporter
. With Exporter, the rendered map can be converted to GLTF.
const gltf = await mapView.Exporter.getCurrentSceneGLTF();
v6.0.1-alpha.12
April 2, 2024
Fixes
- The navigation path should no longer traverse through walls.
- Fixed an issue with the watermark.
v6.0.1-alpha.11
March 26, 2024
Fixes
- Resolved an issue where some maps didn't render exterior walls. In cases where the map is missing styles for exterior walls, they will default to the indoor wall style.
v6.0.1-alpha.10
March 25, 2024
- Version bump only.
v6.0.1-alpha.9
March 19, 2024
- Version bump only.
v6.0.1-alpha.8
March 18, 2024
Fixes
- Halved memory usage during map initial load.
- The outline effect no longer retains line thickness while zooming out with inertia.
- Labels render correctly now on Intel integrated GPUs.
v6.0.1-alpha.7
March 12, 2024
Changes
- The default color of the exit connection navigation button is now blue instead of purple.
Fixes
- The
focusOn
animation no longer resets the min and max zoom levels. - If directions have less than 2 coordinates, navigation will now warn and prevent drawing the path.
- The
Coordinate
class is now data layer agnostic, making it easier to test and create directly.
v6.0.1-alpha.5
February 28, 2024
Features
- All map data objects now accurately include hyperlink metadata under the property
links
.
Fixes
- The default
type
for map data objects is nowobject
, instead ofunknown
. This will no longer warn of unknown object kind.
v6.0.1-alpha.4
February 27, 2024
Fixed
- The polygon outline opacity is now interpolated as the camera zooms out. This improves the outline appearance at the furthest zoom level.
Before/After:
v6.0.1-alpha.3
February 27, 2024
We're testing a new version of the Mappedin Web SDK and we'd love to hear your feedback! Mappedin Web SDK v6 alpha adds first class support for maps built with app.mappedin.com.
Please note that breaking changes will occur. We encourage you to contact us with any issues or feedback, and regularly check this page for detailed release notes and API changes.