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
Contribution
If you find this software useful, please consider financial support for future development via PayPal.
Author
Copyright
Copyright © 2020 Low SWaP Lab lowswaplab.com