Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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)