Leaflet Svelte Save

Svelte wrapper for Leaflet

Project README

Quick Start

Install npm i @anoram/leaflet-svelte

<script>
import Map from '@anoram/leaflet-svelte'
let options={
  center: [13,80],
  markers: [
    {
      lat: 13,
      lng: 80
    }
  ],
  mapID: "map"
}
</script>
<style>
  .map {
    height: 600px;
    width: auto;
  }
</style>
<div class="map">
  <Map {options} />
</div>

Demo and other instructions

https://leaflet.anoram.com

Open Source Agenda is not affiliated with "Leaflet Svelte" Project. README Source: anoram/leaflet-svelte
Stars
52
Open Issues
4
Last Commit
3 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating