Releases: maptiler/maptiler-sdk-js
v1.0.11
What's new?
- DOC update for
Map'soption.maptilerLogothat was a bit unclear - FIX now exporting
MaptilerNavigationControl
v1.0.10
What's new in this version:
- ADD terrain growing animation on enabling/disabling
- ADD
Mapcustom eventloadWithTerrain - ADD
Maplifecycle methods.onLoadAsync()and.onLoadWithTerrainAsync() - DOC readme section was added about the event and methods above
- VER updated from
[email protected]to[email protected] - VER updated from
[email protected]to[email protected], which changes slightly the look of the reference documentation. - VER updated from
[email protected]to[email protected] - VER updated from
[email protected]to[email protected]as well as all the Rollup plugins
v1.0.9
Here is what's new:
-
FIX: if the geolocate option is missing from the
Mapconstructor, then it's consideredfalse -
FIX: The instance types for the following MapLibre classes are now fully exported:
NavigationControlGeolocateControlAttributionControlLogoControlScaleControlFullscreenControlTerrainControlPopupMarkerStyleLngLatLngLatBoundsMercatorCoordinateEventedAJAXErrorCanvasSourceGeoJSONSourceImageSourceRasterDEMTileSourceRasterTileSourceVectorTileSourceVideoSourceMapMLGL
-
FIX: The following class has been extended to provide greater compatibility with SDK,s MapL
PopupMarkerStyleCanvasSourceGeoJSONSourceImageSourceRasterDEMTileSourceRasterTileSourceVectorTileSourceVideoSourceNavigationControlGeolocateControlAttributionControlLogoControlScaleControlFullscreenControlTerrainControl
-
ADD: new styles:
MapStyle.STREETS.NIGHTMapStyle.WINTER.DARKMapStyle.OUTDOOR.DARK
v1.0.8
What's new?
- FIX: Since v1.0.7, the
Mapprimary language (when custom) was no longer persistent on style updates.
v1.0.7
What's new?
- The
apiKeycan now be specified in theMapconstructor (will propagate toconfig) - The
languagecan now be specified in theMapconstructor (will not propagate toconfigand will apply only to this specific instance) Mapnow has the method.getSdkConfig()to retrieve the config object.Mapnow 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
MaptilerGeolocateControlfor external initialization if needed - Now exposing
MaptilerTerrainfor 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
Mapconstructor and.setStyle())
v1.0.2
What's new: fixing the dependency scheme of MapLibre import.