Skip to content

Releases: dimfeld/svelte-maplibre

v0.8.0 - Maplibre v4

15 Feb 02:30
Compare
Choose a tag to compare

0.8.0

Major Changes

  • #128 802474a Thanks @dimfeld! - Support maplibre v4

    All the breaking changes in the MaplibreGL JS v4 release apply here. Some specific API changes to this package:

    • Upgrade maplibregl-js to ^4.0.0
    • Upgrade pmtiles to ^3.0.3
    • cooperativeGestures prop is now just a boolean to match maplibre v4.
    • Add locale property to MapLibre component.
    • Add opacity property for Markers

v0.7.7

29 Jan 07:33
Compare
Choose a tag to compare

0.7.7

Patch Changes

  • #123 b97d4c5 Thanks @dimfeld! - Explicitly unsubscribe from events in Layer to avoid race condition between Layer and containing Source being torn down

  • #123 b97d4c5 Thanks @dimfeld! - Properly remove Popup if it is open when the Popup component is destroyed

v0.7.6

18 Jan 06:37
Compare
Choose a tag to compare

0.7.6

Minor Changes

v0.7.5

27 Dec 08:07
Compare
Choose a tag to compare

0.7.5

Minor Changes

v0.7.4

18 Dec 23:57
Compare
Choose a tag to compare

Minor Changes

Patch Changes

  • #111 8821852 Thanks @dimfeld! - Update imports to work with Vite 5 and Node.js

  • #113 28f1dd1 Thanks @dimfeld! - Add "default" export condition to help frameworks that don't add "svelte" to their list

v0.7.3

24 Nov 18:37
Compare
Choose a tag to compare

0.7.3

Minor Changes

v0.7.2

15 Nov 19:25
Compare
Choose a tag to compare

0.7.2

Patch Changes

  • 25d840c Thanks @dimfeld! - Add type definition for events emitted by MarkerLayer

  • 25d840c Thanks @dimfeld! - Fix missing type definition file for Marker.svelte

v0.7.1

15 Nov 19:25
Compare
Choose a tag to compare

0.7.1

Minor Changes

v0.7.0

10 Nov 20:14
Compare
Choose a tag to compare

Major Changes

  • #92 3800dbc Thanks @dabreegster! - Add RasterTileSource and RasterLayer. This is a breaking change in that the required version of maplibre-gl is changed from ^3.0.0 to ^3.5.0.

v0.6.0

23 Oct 21:15
Compare
Choose a tag to compare

Major Changes

Allow setting layers to be non-interactive. Layers with interactive={false} will not emit mouse events, and will not
participate in hit testing when comparing to other layers with eventsIfTopMost.

This is useful, for example, when placing a SymbolLayer on top of a
CircleLayer. See the updated "Clusters and Popups" example; previous the popup would disappear when the mouse was over
the labels, but not it does not.

This is a breaking change:

  • The interactive prop for Marker and MarkerLayer has been renamed to asButton, to make room for the new
    interactive prop.
  • DeckGlLayer still continues to allow the pickable prop, but interactive should be used instead for consistency.
    The behavior here is unchanged though.

Minor Changes

Patch Changes