1.0.0-next.4 • Published 7 months ago
@radiofrance/svelte-leaflet v1.0.0-next.4
@radiofrance/svelte-leaflet
Simple Leaflet maps for your Svelte projects.
Features
- Works in SSR pages
- TypeScript : events, props and options are fully typed
- Simple event usage with the
oneventnamesyntax
event.sourceTargetis correctly typed
- Fully reactive : update props and options, the components will update
- Customize
DivIcon,Popupand more with Svelte components or HTML instead of strings - Single dependency : no
leafletor@types/leafletneeded
Compatibility
- Version 1.0.0 and above are compatible with Svelte 5.
- For Svelte 3 and 4, use version 0.1.x (not actively maintained).
Install
npm i -D @radiofrance/svelte-leaflet
Components
UI Layers
- ✅ Marker
- DivOverlay (abstract class)
- ✅ Popup
- ✅ Tooltip
Raster Layers
- ✅ TileLayer
- ✅ TileLayer.WMS
- ✅ ImageOverlay
- ✅ VideoOverlay
Vector Layers
- Path
- ✅ Polyline
- ✅ Polygon
- ✅ Rectangle
- ✅ Circle
- ✅ CircleMarker
- ✅ SVGOverlay
- SVG (this is a Renderer, won't be implemented)
- Canvas (this is a Renderer, won't be implemented)
Other Layers
- LayerGroup
- FeatureGroup
- GeoJSON
- GridLayer
Basic Types
- LatLng
- LatLngBounds
- Point
- Bounds
- ✅ Icon
- ✅ DivIcon
Controls
- ✅ Zoom
- Attribution
- Layers
- Scale
Extra
- ✅ MarkerClusterGroup
- ✅ LocateControl
1.0.0-next.0
12 months ago
1.0.0-next.1
12 months ago
1.0.0-next.2
12 months ago
1.0.0-next.3
12 months ago
1.0.0-next.4
7 months ago
0.1.0-alpha.19
1 year ago
0.1.0-alpha.18
1 year ago
0.1.0-alpha.17
1 year ago
0.1.0-alpha.16
1 year ago
0.1.0-alpha.15
1 year ago
0.1.0-alpha.14
1 year ago
0.1.0-alpha.13
1 year ago
0.1.0-alpha.12
1 year ago
0.1.0-alpha.11
1 year ago
0.1.0-alpha.10
1 year ago
0.1.0-alpha.9
1 year ago
0.1.0-alpha.8
1 year ago
0.1.0-alpha.7
1 year ago
0.1.0-alpha.6
1 year ago
0.1.0-alpha.5
1 year ago
0.1.0-alpha.4
1 year ago
0.1.0-alpha.3
1 year ago
0.1.0-alpha.2
1 year ago
0.1.0-alpha.0
1 year ago
