Skip to content

Releases: maptiler/maptiler-sdk-js

v2.4.1

30 Oct 12:00
3ed4b81
Compare
Choose a tag to compare

Bug Fixes

  • The class AJAXError is now imported as part of the maplibregl namespace (CommonJS limitation from Maplibre GL JS) (#129)
  • The Map constructor can now also take a language as a string (#131)

v2.4.0

14 Oct 12:14
b2d083c
Compare
Choose a tag to compare

New Features

  • Shows a warning message in the map container if WebGL context is lost (#120)
  • adding documentation (readme) about usage in TypeScript (#123)
  • The event "webglContextLost" is now exposed (#120)
  • The Map class instances now have a .setTerrainAnimationDuration(d: number) method (#119)
  • The Map class instances now have events related to terrain animation "terrainAnimationStart" and "terrainAnimationStop" (#119)
  • expose the function getWebGLSupportError() to detect WebGL compatibility (#118)
  • Adding detection of invalid style objects of URLs and falling back to a default style if necessary (#124)
  • Updating to MapLibre v4.7.1 (#125)

v2.3.0

12 Sep 08:40
c43605d
Compare
Choose a tag to compare

Bug Fixes

  • Updating from MapLibre v4.4.1 to v4.7.0. See Maplibre changelogs for v4.5.0, v4.5.1, v4.5.2, and v4.6.0
  • Fixed the elevation shift glitch happening with terrain animation after calling .easeTo() (#110)
  • The heatmap layer helper missed the beforeId option

New Features

Others

  • Updating from MapLibre v4.4.1 to v4.7.0
  • Updating MapTilerGeolocateControl to match latest Maplibre update (#104)
  • Now sourcing language list from @maptiler/client (maptiler/maptiler-client-js#42)

v2.2.2

12 Aug 09:04
82d6e68
Compare
Choose a tag to compare

Bug Fixes

  • No longer using named imports from Maplibre (#99)
  • Exporting types with classes for Maplibre types (#99)

Others

  • Bundling now made with ViteJS (no longer Rollup)

v2.2.1

12 Jul 09:36
aff31e1
Compare
Choose a tag to compare

Bug Fixes

  • The types from classes defined in Maplibre are now exposed more reliably (#98)

Others

  • Loading (lazy) the RTL plugin ealier and outside Map instance to prevent display glitch

v2.2.0

03 Jul 10:00
ac872f2
Compare
Choose a tag to compare

New Features

  • Displays a message in the map div when WebGL2 is not supported (#92)
  • Fails quietly if caching API is not usable (non https, non localhost) (#93)

Bug Fixes

  • Removed Inflight as a second degree dependency (#95)
  • Removed double export of class+type from Maplibre (#95)
  • Fixing the loading of the RTL plugin (#96)

Others

  • Replaced Eslint and Prettier by BiomeJS (ang got rid of tons of dependencies, some were problematic) (#95)
  • Fixed many formatting and linting issues pointed by BiomeJS (#95)

v2.1.0

18 Jun 13:12
3588c8e
Compare
Choose a tag to compare

New Features

  • Update from Maplibre v4.1.3 to v4.4.1 (see Maplibre's changelog)

Bug Fixes

  • Floating buildings, fixed with the above update

v2.0.3

25 Apr 09:13
d3aed49
Compare
Choose a tag to compare

Bug Fixes

  • Fixed an issue with attribution control

v2.0.2

24 Apr 14:54
e565ccb
Compare
Choose a tag to compare

Bug Fixes

  • Fix for the client-side caching breaking GeoJSON sources #82
  • Improved attribution management

Others

  • Update to MapLibre GL JS v4.1.3

v2.0.1

08 Apr 08:36
200380c
Compare
Choose a tag to compare

Bug Fixes

  • Bundling issue solved by #79