Features
8 October 2024

๐ŸŽ‰ New features

The new features in this release are all about developer experience for our fellow Typescript devs! ๐Ÿ‘ฉโ€๐Ÿ’ป

  • We now expose many types that are frequently useful in userland at the root of the smplr-loader NPM package. Reach out to support if there are more that you need and are not yet exposed.

  • We have added type-specific variants of the addDataLayer API (e.g. addHeatmapDataLayer) to make it easy to force the type inference towards a specific type of data layer: point, polygon, etc. More in the docs.

๐Ÿ’… Improvements

  • The area calculation API now handles polygons with holes.

  • Polygons with holes are now draggable.

๐Ÿ› Bug fixes

  • We've fixed an issue that caused the argument of the onResize handler to be undefined.

  • We've fixed an issue with the topShownLevel option not working in 2D mode.

Share