d84def9
Thanks @ciscorn! - Defer updating Layer’s layout and paint properties until Map style is fully loaded
- #195
aeaf638
Thanks @dimfeld! - Fix marker popups not closing properly when clicking on a different marker. This broke in v0.9.0
- #185
2a1fe13
Thanks @hmnd! - fix degraded performance with MarkerLayer - #186
484209f
Thanks @hmnd! - Fix types for Popup features and data
- #180
9e999f1
Thanks @dimfeld! - Adddraw-plugin.css
CSS file, which you can import to help with integrating the Mapbox Draw plugin
- #178
6f8e10b
Thanks @ADD-William-WaltersDavis! - Add pmtiles support for raster url
- #175
c857517
Thanks @dimfeld! - Allow providing custom hash update function for better framework compatibility
-
#169
3af7f53
Thanks @dimfeld! - Use easeTo so that simultaneous changes to center and zoom work properly -
#169
3af7f53
Thanks @dimfeld! - Handle changes in bearing and pitch
- #171
d968425
Thanks @thijserven! - Exposed control value of GeolocateControl so you can do bind:control and access the root maplibre-gl functionalities from the outside.
- #164
39371ee794f2a338c5760a840295af25964cfdec
Thanks @larsmaxfield! - Add 3D Terrain components and corresponding demo page
- #161
90ddec8
Thanks @dimfeld! - Add MapEvents component that makes it easier to subscribe to map events from inside Map components
-
#159
23fb3ab
Thanks @dimfeld! - MapLibre component now exposes its<div>
element on themapContainer
prop -
#160
756a1ef
Thanks @dimfeld! - Update Marker and DefaultMarker to expose the internalmaplibregl.Marker
through themarker
prop -
#157
417d468
Thanks @dabreegster! - Stop propagation of clicks on Markers
- #156
1529801
Thanks @singingwolfboy! - improve TypeScript typings for DefaultMarker
- #153
14b46a7
Thanks @Tenchi2xh! - Added property to control antialiasing
- #148
f39e1d6
Thanks @singingwolfboy! - Tell Typescript that features in MarkerLayer always have an id
- #142
c22141a
Thanks @dabreegster! - Update the viewport when the URL hash changes
- #130
d464803
Thanks @singingwolfboy! - Add on:open and on:close events to Popup
- #129
766f4ac
Thanks @singingwolfboy! - Fix typing formap
prop in slot
-
#128
802474a
Thanks @dimfeld! - Support maplibre v4All 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
-
#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
- #121
1e9ecfa
Thanks @torsteinringnes! - Add cooperativeGestures as svelte prop
-
#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
-
#106
36a1ec3
Thanks @dabreegster! - Update filters when changed -
#105
55818fe
Thanks @dabreegster! - Add ImageSource
-
25d840c
Thanks @dimfeld! - Add type definition for events emitted by MarkerLayer -
25d840c
Thanks @dimfeld! - Fix missing type definition file for Marker.svelte
- #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.
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 forMarker
andMarkerLayer
has been renamed toasButton
, to make room for the newinteractive
prop. - DeckGlLayer still continues to allow the
pickable
prop, butinteractive
should be used instead for consistency. The behavior here is unchanged though.
- #90
44df623
Thanks @dimfeld! - Add all components to the export map. This allows importing like "svelte-maplibre/MapLibre.svelte" in addition to importing everything from the package root.
-
#88
8d03d54
Thanks @dimfeld! - Properly remove sources and handle the source being quickly replaced -
#89
23bc94a
Thanks @dimfeld! - Export JoinedData from index file, mark sourceLayer optional
- #71
821c3bd
Thanks @dabreegster! - Make eventsIfTopMost also work for manageHoverState, and introduce openIfTopMost for Popups.openIfTopMost
defaults to true, which changes the default behavior for overlapping popups.
- #75
accb09d
Thanks @mhrgoldberg! - Fix GeoJSON component reactivity to data changes after map styles are updated.
-
#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 frommaplibre-gl
Added missing export for VectorTileSource
.
- #61 Thanks @dabreegster! - Consistent default values for manageHoverState. The default value for
manageHoverState
on all Layer types is nowfalse
, 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
-
#54
e5d8a09
Avoid clobbering MapLibre's added classes on Marker elements -
#54
e5d8a09
Supportdraggable
and drag events on MarkerLayer -
#55
7b94240
Support dblclick and contextmenu events on layesrs and markers -
#56
3cec7bf
Handle updates to the MapLibre component'sstyle
prop
- Support 2-way binding for
latLng
on draggable markers. - Add
eventsIfTopMost
to Layers, to only fire mouse events if the layer is the top-most layer under the mouse pointer.
- Support
draggable
onMarker
- Properly manage hover state on features with ID
0
- Lazily load deck.gl library so that the rest of the package can be used without including it.
- Support Svelte 4
- Upgrade to fully-released version of MapLibre GL 3.0
- Support
transformRequest
property on Map component.
- Fix layers not removing while data sources elsewhere in the map are loading