@anoram/leaflet-svelte

0.0.7-1 • Public • Published

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

Package Sidebar

Install

npm i @anoram/leaflet-svelte

Weekly Downloads

10

Version

0.0.7-1

License

MIT

Unpacked Size

49.8 kB

Total Files

9

Last publish

Collaborators

  • shriji