@lowswaplab/leaflet-tilelayer-terrainel

1.1.2 • Public • Published

leaflet-tilelayer-terrainel

Leaflet Terrain Elevation Plugin

NPM

This package is available on npm:

@lowswaplab/leaflet-tilelayer-terrainel

This package can be installed by performing:

npm install @lowswaplab/leaflet-tilelayer-terrainel

JavaScript Example:

import "@lowswaplab/leaflet-tilelayer-terrainel";

L.tileLayer.terrainEl("https://api.mapbox.com/v4/mapbox.terrain-rgb/{z}/{x}/{y}.pngraw?access_token=" + mapboxAccessToken,
  {
  maxNativeZoom: 14,
  maxZoom: 23,
  opacity: 0
  }).addTo(map);

Source Code

leaflet-tilelayer-terrainel

Contribution

If you find this software useful, please consider financial support for future development via PayPal.

Author

Low SWaP Lab

Copyright

Copyright © 2020 Low SWaP Lab lowswaplab.com

/@lowswaplab/leaflet-tilelayer-terrainel/

    Package Sidebar

    Install

    npm i @lowswaplab/leaflet-tilelayer-terrainel

    Weekly Downloads

    0

    Version

    1.1.2

    License

    SEE LICENSE IN LICENSE

    Unpacked Size

    40.4 kB

    Total Files

    5

    Last publish

    Collaborators

    • lowswaplab