Skip to content

Releases: maptiler/maptiler-sdk-js

v3.9.1-rc.1

01 Dec 15:35

Choose a tag to compare

v3.9.1-rc.1 Pre-release
Pre-release

This is a test release and not intended for production use.

v3.9.0

25 Nov 11:33
f24eea8

Choose a tag to compare

✨ Features and improvements

  • Additions and improvements to ImageViewer
  • ImageViewer set methods now return the ImageViewer instance for chaining.
  • ImageViewer.destroy() added for cleanup of internal resources and removal of listeners.
  • ImageViewer.getImageMetadata() returns the imagedata for the image being viewed.
  • ImageViewer.getImageBounds() returns the current bounds of the viewport in image pixels (note: not screen pixels, image pixels are pixels in relation to the intrinsic image size, not it's size on the screen).
  • ImageViewer.fitImageBounds(bounds) fits the viewer to bounds.
  • ImageViewerMarker class added. ImageViewercan now have markers positioned in image pixels.
  • ImageViewer now has the getCanvas method to retrieve the HTMLCanvasElementused by the viewer.
  • Exports ImageMarkerEvents type.
  • Configs passed to setSpace and setHalo are now validated ahead fo time.

🐛 Bug Fixes

  • Fixes a bug where setStyle(<JSON>) would not update.
  • Fixes a bug where map.getProjection() did not return a value when default projection was used
  • Fixes a bug where "Style Not Done Loading" error is thrown when an Image is used in conjunction with Spacebox.
  • Fixes a bug where switching between remote styles causes flickering in Halo.
  • Fixes a bug where Webgl would throw a texture error when two maps are rendered on the page due to a race condition loading images.

⚙️ Others

  • Right to left text is now opt-out. rtlTextPlugin can be passed in the constructor options to opt-out of installing the RTL text-plugin or install a different RTL text-plugin. Without this option the behaviour will remain the same.
  • Version bump of @maptiler/client to 2.6.0

v3.9.0-rc.5

12 Nov 15:51

Choose a tag to compare

v3.9.0-rc.5 Pre-release
Pre-release

This is a test release and not intended for production usage.

v3.9.0-rc.3

24 Oct 14:48

Choose a tag to compare

v3.9.0-rc.3 Pre-release
Pre-release

This is a test release and not intended for production usage.

v3.8.0

16 Sep 14:08

Choose a tag to compare

3.8.0

✨ Features and improvements

  • Adds a new ImageViewer class for viewing tiled non-georeferenced images from MapTiler Engine in the same way you would a map. See the docs for more info.
  • Adds enableHaloAnimations, enableSpaceAnimations, disableHaloAnimations, disableSpaceAnimations to Map instance for toggling halo and space animations.
  • Adds custom controls that can be styled however you wish and can do whatever you need, in both declarative (auto-detected) and programmatic way. See the section in the readme for more info.

🐛 Bug fixes

  • fixes a bug on halo where sharp edged stops cause noise to surface when scaled down.
  • fixes bug where space would not load correctly when style is a URI.
  • fixes a bug in the UMD module where space crashes when only a color is set.
  • fixes a bug when space: true and no style is passed, space becomes unset.

⚙️ Others

  • Removes superfluous dependencies from package.json

v3.8.0-rc.9

03 Sep 10:09
96650d3

Choose a tag to compare

v3.8.0-rc.9 Pre-release
Pre-release

This is a pre-release and not suitable for production usage.

v3.8.0-rc8

19 Aug 14:14

Choose a tag to compare

v3.8.0-rc8 Pre-release
Pre-release

This is a pre-release and not suitable for production usage.

v3.7.1-rc1

01 Aug 13:14

Choose a tag to compare

v3.7.1-rc1 Pre-release
Pre-release

This release is not suitable for production use. Please use v3.7.0.

v3.7.0

29 Jul 10:28
96c4bc2

Choose a tag to compare

v3.7.0

✨ Features and improvements

  • Version Bump @maptiler/client to 2.5.0 adding at, batch, computeOn, canParsePixelData functions for working with elevations.

🐛 Bug fixes

  • Includes workaround where internal event is not fired correctly and causes breaking of space and halo.

Others

  • None