-
Notifications
You must be signed in to change notification settings - Fork 1
Home
Florian DIDIER edited this page Jan 14, 2022
·
4 revisions
This project implements the Leaflet library to manipulate map in the form of reactive svelte components.
Leaflet is the leading open-source JavaScript library for mobile-friendly interactive maps. It has all the mapping features most developers ever need. Leaflet is designed with simplicity, performance and usability in mind. It works efficiently across all major desktop and mobile platforms, can be extended with lots of plugins, has a beautiful, easy to use and well-documented API and a simple, readable source code that is a joy to contribute to.
Link of Leaflet library : https://leafletjs.com/index.html
Install module : npm i svelte-map-leaflet
Import leaflet global css : import 'leaflet/dist/leaflet.css';
Name | Status |
---|---|
Map | ✅ |
TileLayer | ✅ |
TileLayerWms | ✅ |
Name | Status |
---|---|
Zoom | ✅ |
Scale | ✅ |
ControlLayers | ✅ |
Attribution | ✅ |
BaseLayer | ✅ |
Overlay | ✅ |
CustomControl | ✅ |
Name | Status |
---|---|
FeatureGroup | ✅ |
GeoJson | ✅ |
LayerGroup | ✅ |
Name | Status |
---|---|
ImageOverlay | ✅ |
SvgOverlay | ✅ |
VideoOverlay | ✅ |
Name | Status |
---|---|
Marker | ✅ |
Popup | ✅ |
ToolTip | ✅ |
DivIcon | ✅ |
Icon | ✅ |
Name | Status |
---|---|
Circle | ✅ |
CircleMarker | ✅ |
Rectangle | ✅ |
Polygon | ✅ |
Polyline | ✅ |