Changelog

4.2.2

4.2.1

4.2.0

4.1.2

4.1.1

4.1.0

4.0.1

4.0.0

This new version focusses on performance! The rendering engine has been completely redesigned while we have tried to keep the usage of the SDK as close as possible to the previous version to make migration as easy as possible. An extensive JSDoc is now generated and available at docs.mapwize.io.

UI

Dependencies

Features

Floor methods

Language methods

Universe methods

Promote methods

User location methods

Api

Other methods

Events

Map options

3.5.0

3.4.5

3.4.4

3.4.3

3.4.2

3.4.1

3.4.0 (Broken version, use 3.4.1+)

3.3.2

3.3.1

3.3.0

/!\ POSSIBLE BREAKING CHANGE /!\

mapwize:markerclick event has been removed. Use mapwize:click event

Before:

map.on('mapwize:markerclick', e => {
  console.log('clicked on marker', e.marker)
});

After

map.on('mapwize:click', e => {
  console.log('clicked on marker', e.marker)
});

Pay attention, mapwize:click event is called in multiple cases like: click on a marker, click on a place, click on a venue or click on the map.

The event object contains everything that is under your mouse.

3.2.1

3.2.0

/!\ DEPRECIATION WARNING /!\

The old method to create a map instance is now deprecated. Please, use the new method for new projects.

Before:

Mapwize.apiKey('<YOUR_MAPWIZE_API_KEY_HERE>');
const map = new Mapwize.Map({
  container: 'mapwize'
});

map.on('mapwize:ready', () => {
  // Mapwize map is now ready to be used
});
map.on('mapwize:loaderror', err => {
  // Something bad happened during Mapwize loading
  console.error(err);
});

After

Mapwize.apiKey('<YOUR_MAPWIZE_API_KEY_HERE>');
Mapwize.map({
  container: 'mapwize'
}).then(map => {
  // Mapwize map is now ready to be used
}).catch(err => {
  // Something bad happened during Mapwize loading
  console.error(err);
});

3.1.9

3.1.8

3.1.7

3.1.6

3.1.5

3.1.4

3.1.3

3.1.2

Fix: display places on floor null
Fix: display directions on floor null

3.1.1

Fix: export mapwize as umd package
Fix: setPlaceStyle now accept null as style param

3.1.0

First public release of the new Mapwize JS SDK based on Mapbox GL JS

Version 2.6.2

Version 2.6.1

Version 2.6.0

Version 2.5.0

Version 2.4.1

Version 2.4.0

Version 2.3.7

Version 2.3.6

Version 2.3.5

Version 2.3.4

Version 2.3.3

Version 2.3.2

Version 2.3.1

Version 2.3

Version 2.2

Version 2.1

Version 2.0.2

Version 1.7.1

Version 1.6.1

Version 1.6

Version 1.5

Version 1.4.4

Version 1.4.3

Version 1.4.2

Version 1.4.1