Mappedin Logo

Developer

· 1 min read

Web SDK Release Notes

profile picture for Jere Suikkila

Jere Suikkila

Developer Evangelist

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

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
});

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'));

Search Our Docs

Sign Up

© 2020 Copyright Mappedin, All Rights Reserved. View our Privacy Policy