@ggcity/leaflet-wms

0.7.0 • Public • Published

leaflet-wms Collection

Leaflet WMS web components collection. Requires Polymer 3.x.

Installation

This currently comes in as pure ES6 only.

$ yarn add @ggcity/leaflet-wms

Usage

<script type="module" src="./node_modules/@ggcity/leaflet-map/leaflet-map.js"></script>
<script type="module" src="./node_modules/@ggcity/leaflet-tile-layer/leaflet-tile-layer.js"></script>
<script type="module" src="./node_modules/@ggcity/leaflet-wms/leaflet-wms-group.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-tile-layer
    base
    url="//www.ci.garden-grove.ca.us/tileserver/styles/gg-basic/{z}/{x}/{y}.png"
    attribution="&copy; OpenStreetMap">
  </leaflet-tile-layer>

  <leaflet-wms-group
    source="//www.ci.garden-grove.ca.us/geoserver/gis/wms"
    layers='["gis:city_council_districts", "gis:flood_hazard_area"]'
    transparent
    format="image/png">
  </leaflet-wms-group>

</leaflet-map>

Maintainers

License

leaflet-wms

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/>.

leaflet.wms plugin distributed here is a modified version of heigeo/leaflet.wms

Copyright (c) 2014-2016 Houston Engineering, Inc.

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Readme

Keywords

none

Package Sidebar

Install

npm i @ggcity/leaflet-wms

Weekly Downloads

0

Version

0.7.0

License

GPL-3.0

Unpacked Size

347 kB

Total Files

24

Last publish

Collaborators

  • ggcity