Skip to content

Releases: maptiler/maptiler-sdk-js

v1.0.11

24 Apr 08:25
5ee207e

Choose a tag to compare

What's new?

  • DOC update for Map's option.maptilerLogo that was a bit unclear
  • FIX now exporting MaptilerNavigationControl

v1.0.10

20 Apr 13:44
3500d35

Choose a tag to compare

What's new in this version:

v1.0.9

06 Apr 12:02
616d6bd

Choose a tag to compare

Here is what's new:

  • FIX: if the geolocate option is missing from the Map constructor, then it's considered false

  • FIX: The instance types for the following MapLibre classes are now fully exported:

    • NavigationControl
    • GeolocateControl
    • AttributionControl
    • LogoControl
    • ScaleControl
    • FullscreenControl
    • TerrainControl
    • Popup
    • Marker
    • Style
    • LngLat
    • LngLatBounds
    • MercatorCoordinate
    • Evented
    • AJAXError
    • CanvasSource
    • GeoJSONSource
    • ImageSource
    • RasterDEMTileSource
    • RasterTileSource
    • VectorTileSource
    • VideoSource
    • MapMLGL
  • FIX: The following class has been extended to provide greater compatibility with SDK,s MapL

    • Popup
    • Marker
    • Style
    • CanvasSource
    • GeoJSONSource
    • ImageSource
    • RasterDEMTileSource
    • RasterTileSource
    • VectorTileSource
    • VideoSource
    • NavigationControl
    • GeolocateControl
    • AttributionControl
    • LogoControl
    • ScaleControl
    • FullscreenControl
    • TerrainControl
  • ADD: new styles:

    • MapStyle.STREETS.NIGHT
    • MapStyle.WINTER.DARK
    • MapStyle.OUTDOOR.DARK

v1.0.8

28 Mar 09:40
6e526f0

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

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

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

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

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

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

Choose a tag to compare

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