Skip to content

Releases: maptiler/maptiler-sdk-js

v1.0.8

28 Mar 09:40
6e526f0
Compare
Choose a tag to compare

What's new?

  • FIX: Since v1.0.7, the Map primary language (when custom) was no longer persistent on style updates.

v1.0.7

21 Mar 11:54
6811710
Compare
Choose a tag to compare

What's new?

  • The apiKey can now be specified in the Map constructor (will propagate to config)
  • The language can now be specified in the Map constructor (will not propagate to config and will apply only to this specific instance)
  • Map now has the method .getSdkConfig() to retrieve the config object.
  • Map now has the method .getMaptilerSessionId() to retrieve the MapTiler session ID

Both .getSdkConfig() and .getMaptilerSessionId() are handy for layers or control built outside of the SDK that still need some of the configurations to interact with the server. Those components do not always have access to the internal of the SDK (especially that the config is scoped) but can access the Map instance to which they are added with the implementation of the .onAdd() method.

v1.0.6

15 Mar 09:56
477d058
Compare
Choose a tag to compare

What's new:

  • Now exposing MaptilerGeolocateControl for external initialization if needed
  • Now exposing MaptilerTerrain for external initialization if needed

v1.0.5

10 Mar 20:52
aac8b82
Compare
Choose a tag to compare

What's new:

  • Terrain elevation is now using MapTiler's terrain-rgb-v2

v1.0.4

01 Mar 11:25
3b4c14f
Compare
Choose a tag to compare

What's new:

  • Improved the geolocate control behavior by not zooming out

v1.0.3

28 Feb 15:22
8693345
Compare
Choose a tag to compare

In this version:

  • FIXED the usage of relative path style JSON (in Map constructor and .setStyle())

v1.0.2

17 Feb 15:18
76f936a
Compare
Choose a tag to compare

What's new: fixing the dependency scheme of MapLibre import.

v1.0.1

17 Feb 14:33
Compare
Choose a tag to compare

What's new?

  • reducing the NPM size by ignoring documentation images

v1.0.0

16 Feb 10:31
638970c
Compare
Choose a tag to compare

First release of MapTiler SDK 🎉