0.2.10 • Published 8 years ago

@custom-element/leaflet v0.2.10

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Leaflet Map

Leaflet map implementation in the simplest and the most convenient way.

gif1

gif2

gif3

Documentation

Examples

Installation

Just add the following script(< 2kb gzipped/polyfill in it) to your website. It will add CSS only once if required.

<script defer src="https://unpkg.com/@custom-element/leaflet"></script>

For npm users

$ npm install @custom-element/leaflet

import '@custom-element/leaflet'; // import and use it

Example

<a-leaflet center="Brampton, Canada">
  <a-marker latlng="Brampton, Canada" on-click="openPopup"></a-marker>
</a-leaflet>
0.2.10

8 years ago

0.2.9

8 years ago

0.2.8

8 years ago