Web SDK v1 Release Notes | Web SDK v1 | Mappedin Developer Portal
Loading...

Version 1 has been deprecated. View the latest version of this guide.

Web SDK v1 Release Notes

Mappedin Web SDK v1 release notes are posted here and this page will be kept up-to-date as updates are released.

v1.71.21 - November 24, 2021

Update to version 1.71.21 https://d1p5cqqchvbqmy.cloudfront.net/websdk/v1.71.21/mappedin.js

  • Added the option to further improve zoom level in multi-floor navigation by only focusing on interactive polygons with the option focusOnInteractivePolygons: true
  • Added the option to draw a semi-transparent path on top of all other geometry to improve visibility mapView.drawPath({transparent: true})

v1.71.20 - November 12, 2021

Update to version 1.71.20 https://d1p5cqqchvbqmy.cloudfront.net/websdk/v1.71.20/mappedin.js

  • Fixed maps disappearing on kiosks in rare circumstances

v1.71.19 - November 9, 2021

Update to version 1.71.19 https://d1p5cqqchvbqmy.cloudfront.net/websdk/v1.71.19/mappedin.js

  • Improved error handling for colliders

v1.71.12 - October 4, 2021

Update to version 1.71.12

https://d1p5cqqchvbqmy.cloudfront.net/websdk/v1.71.12/mappedin.js

  • Fixed an error when calling labelAllLocations if labels already existed
  • Added support for customizing the zoom factor when following or re-centering on Blue Dot
mapview.blueDotCore.enableBlueDot({
followingZoomFactor: 4 // default: 2
});

v1.71.10 - September 28, 2021

Update to version 1.71.10

https://d1p5cqqchvbqmy.cloudfront.net/websdk/v1.71.10/mappedin.js

  • Fix IE 11 compatibility issue introduced in 1.71.9

v1.71.9 - September 24, 2021

Update to version 1.71.9: https://d1p5cqqchvbqmy.cloudfront.net/websdk/v1.71.9/mappedin.js

  • Upgrade three.js from r107 to r117 to fix crashing in the new Safari 15 (desktop) browser

v1.71.8 - September 21, 2021

Update to version 1.71.8: https://d1p5cqqchvbqmy.cloudfront.net/websdk/v1.71.8/mappedin.js

  • Fix legacy bundle loading when one or more maps has no scene

v1.71.6 - September 13, 2021

Update to version 1.71.6: https://d1p5cqqchvbqmy.cloudfront.net/websdk/v1.71.6/mappedin.js

  • Smart label performance optimizations
  • Security and bug fixes

Smart label performance optimizations

  • Improvements in bulk creation of labels and caching of locations for faster label creation
  • Optimized label size calculations
  • Improved data model and sorting of labels in the collision engine

v1.70.3 - June 24, 2021

Update to version 1.70.3: https://d1p5cqqchvbqmy.cloudfront.net/websdk/v1.70.3/mappedin.js

Smart label customization

Labeling functions now accept a new set of options, under the appearance property. Old label style properties are now considered deprecated.

mapView.labelAllLocations({
smartLabels: true,
appearance: {
margin: 20,
text: {
foregroundColor: 'red'
},
marker: {
size: 30
}
}
});

The following options are available:

margin: number,
text: {
numLines: number,
size: number,
maxWidth: number,
foregroundColor: string,
backgroundColor: string
},
marker: {
size: number,
foreGroundColor: {
active: string,
inactive: string
},
backgroundColor: {
active: string,
inactive: string
}
}

Camera rotation

When starting blue dot mode, you can now enable a mode where the camera will rotate to follow the user's progress along the path drawn by the Journey API.

mapView.BlueDot.enable({
...
useRotationMode: true
});

v1.67.8-beta.0 - March 29, 2021

WebSDK version 1.67.8-beta.0. You may receive the SDK from here: https://d1p5cqqchvbqmy.cloudfront.net/websdk/v1.67.8-beta.0/mappedin.js

How to show map using venue bundle

Mappedin.initialize({
venue: {
clientId: '<key>',
clientSecret: '<secret>',
venue: '<venue-slug>',
perspective: 'Website',
things: {},
useVenueBundle: true,
bundleBaseUri: '<proxy url>',
},
mapview: {
mode: '3D'
},
}, document.querySelector('#root'));

NoAuth

You may use the NoAuth option for proxy implementation.

Mappedin.initialize({
venue: {
noAuth: true
venue: '<venue-slug>',
perspective: 'Website',
things: {},
useVenueBundle: true,
bundleBaseUri: '<proxy url>',
},
mapview: {
mode: '3D'
},
}, document.querySelector('#root'));
Was this page helpful?