Closed dimfeld closed 8 months ago
Latest commit: 73260606b7b289a4472f715018c48ceff25b3f87
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
svelte-maplibre | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Oct 23, 2023 9:07pm |
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 witheventsIfTopMost
.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 forMarker
andMarkerLayer
has been renamed toasButton
, to make room for the newinteractive
prop.pickable
prop, butinteractive
should be used instead for consistency. The behavior here is unchanged though.