Releases: maptiler/maptiler-sdk-js
Releases · maptiler/maptiler-sdk-js
v3.9.1-rc.1
This is a test release and not intended for production use.
v3.9.0
✨ Features and improvements
- Additions and improvements to ImageViewer
- ImageViewer
setmethods 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 tobounds.ImageViewerMarkerclass added.ImageViewercan now have markers positioned in image pixels.ImageViewernow has thegetCanvasmethod to retrieve theHTMLCanvasElementused by the viewer.- Exports
ImageMarkerEventstype. - Configs passed to
setSpaceandsetHaloare 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.
rtlTextPlugincan 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
This is a test release and not intended for production usage.
v3.9.0-rc.3
This is a test release and not intended for production usage.
v3.8.0
3.8.0
✨ Features and improvements
- Adds a new
ImageViewerclass 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,disableSpaceAnimationsto 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
halowhere 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: trueand no style is passed,spacebecomes unset.
⚙️ Others
- Removes superfluous dependencies from package.json
v3.8.0-rc.9
This is a pre-release and not suitable for production usage.
v3.8.0-rc8
This is a pre-release and not suitable for production usage.
v3.7.1-rc1
This release is not suitable for production use. Please use v3.7.0.
v3.7.0
v3.7.0
✨ Features and improvements
- Version Bump @maptiler/client to 2.5.0 adding
at,batch,computeOn,canParsePixelDatafunctions for working with elevations.
🐛 Bug fixes
- Includes workaround where internal event is not fired correctly and causes breaking of space and halo.
Others
- None