Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anoram/leaflet-svelte
Svelte wrapper for Leaflet
https://github.com/anoram/leaflet-svelte
leaflet leaflet-map maps sapper svelte
Last synced: 8 days ago
JSON representation
Svelte wrapper for Leaflet
- Host: GitHub
- URL: https://github.com/anoram/leaflet-svelte
- Owner: anoram
- License: mit
- Created: 2020-09-08T08:42:35.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-05T09:49:42.000Z (almost 4 years ago)
- Last Synced: 2024-12-02T01:44:18.033Z (11 days ago)
- Topics: leaflet, leaflet-map, maps, sapper, svelte
- Language: HTML
- Homepage: https://leaflet.anoram.com/
- Size: 566 KB
- Stars: 51
- Watchers: 8
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-svelte - leaflet-svelte - Svelte wrapper for Leaflet. (UI Components / Maps)
README
## Quick Start
Install `npm i @anoram/leaflet-svelte`
```html
import Map from '@anoram/leaflet-svelte'
let options={
center: [13,80],
markers: [
{
lat: 13,
lng: 80
}
],
mapID: "map"
}.map {
height: 600px;
width: auto;
}
```
## Demo and other instructions
[https://leaflet.anoram.com](https://leaflet.anoram.com)