Svelte bindings for the MapLibre mapping library
MIT License
Bot releases are hidden (Show)
Published by dimfeld 11 months ago
#106 36a1ec3
Thanks @dabreegster! - Update filters when changed
#105 55818fe
Thanks @dabreegster! - Add ImageSource
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
.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:
interactive
prop for Marker
and MarkerLayer
has been renamed to asButton
, to make room for the newinteractive
prop.pickable
prop, but interactive
should be used instead for consistency.Published by dimfeld about 1 year ago
821c3bd
Thanks @dabreegster! - Make eventsIfTopMost also work for manageHoverState, and introduceopenIfTopMost
defaults to true, which changes the default behavior for overlapping popups.accb09d
Thanks @mhrgoldberg! - Fix GeoJSON component reactivity to data changes after map styles are updated.Published by dimfeld about 1 year ago
#65 6e9a532
Thanks @stuartlynn! - Adds a JoinData component to allow data to be joined to vector features in the client
#69 1ced5d7
Thanks @dabreegster! - Add hash to track viewport in the URL
#68 d2459d5
Thanks @dabreegster! - Fix the map bounds property to work when initially set
#72 f403ca0
Thanks @dabreegster! - Fix hover state for vector tiles sources
#73 c42b2cc
Thanks @knd775! - Re-export common types from maplibre-gl
Published by dimfeld about 1 year ago
Full Changelog: https://github.com/dimfeld/svelte-maplibre/compare/v0.4.1...v0.4.2
Published by dimfeld about 1 year ago
Full Changelog: https://github.com/dimfeld/svelte-maplibre/compare/v0.4.0...v0.4.1
manageHoverState
on all Layer types is now false
, which is a breaking change.#60 ffd53aa
Thanks @stuartlynn! - Preserve sources and layers added by the user when changing the base map style
#59 721b0a0
Thanks @stuartlynn! - Add support for vector tile sources
Published by dimfeld about 1 year ago
Published by dimfeld about 1 year ago
This release adds support for the draggable
property on Markers, and adds related drag events. Thanks @FluffyDiscord for the PR!
Published by dimfeld over 1 year ago
Hover state was not properly managed for features with ID 0
. Thanks @dabreegster for the fix!