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: 3 months 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 (about 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-05T09:49:42.000Z (almost 4 years ago)
- Last Synced: 2024-06-23T08:04:32.431Z (5 months ago)
- Topics: leaflet, leaflet-map, maps, sapper, svelte
- Language: HTML
- Homepage: https://leaflet.anoram.com/
- Size: 566 KB
- Stars: 52
- 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)