Leaflet map web component

<leaflet-map>

Leaflet map web component. Requires Polymer 3.x.

Installation

This currently comes in as pure ES6 only.

$ yarn add @ggcity/leaflet-map

Usage

<script type="module" src="./node_modules/@ggcity/leaflet-map/leaflet-map.js"></script>

<leaflet-map
  latitude="33.778724"
  longitude="-117.960058"
  zoom="13"
  min-zoom="11"
  max-zoom="19"
  attribution-prefix="City of Garden Grove"
></leaflet-map>

Maintainers

License

Copyright (C) 2017 City of Garden Grove

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

Install

Link to this version
ImportedReleased 09 April 2018GNU General Public License v3.0 only
Framework Support
Polymer 3.0+
Browser Independent
Install with
npm install @ggcity/leaflet-map"@0.6.0"
Run the above npm command in your project folder. If you have any issues installing, please contact the author.
Release notes - Version 0.6.0

Dependencies

  • @polymer/polymer#next
  • leaflet#^1.3.1