Releases: maptiler/maptiler-sdk-js
Releases · maptiler/maptiler-sdk-js
v1.0.8
What's new?
- FIX: Since v1.0.7, the
Map
primary language (when custom) was no longer persistent on style updates.
v1.0.7
What's new?
- The
apiKey
can now be specified in theMap
constructor (will propagate toconfig
) - The
language
can now be specified in theMap
constructor (will not propagate toconfig
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
What's new:
- Now exposing
MaptilerGeolocateControl
for external initialization if needed - Now exposing
MaptilerTerrain
for external initialization if needed
v1.0.5
What's new:
- Terrain elevation is now using MapTiler's
terrain-rgb-v2
v1.0.4
What's new:
- Improved the geolocate control behavior by not zooming out
v1.0.3
In this version:
- FIXED the usage of relative path style JSON (in
Map
constructor and.setStyle()
)
v1.0.2
What's new: fixing the dependency scheme of MapLibre import.
v1.0.1
What's new?
- reducing the NPM size by ignoring documentation images
v1.0.0
First release of MapTiler SDK 🎉