leaflet.wmts
v1.0.2
Published
Add WMTS layers for Leaflet using a Webpack or directly in a browser
Downloads
1,093
Readme
Upgrade old package for package builders (with error correction).
Leaflet.WMTS
Description
The package is adapted and tested for working with a geoserver. Allows you to easily connect WMTS layers to a web project.
Install
Use with package builder (Webpack, Parcel)
import 'leaflet.wmts';
Use in browser
UMD builds can be used directly in the browser via a script
tag
<head>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css" />
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
<!-- Import after general Leaflet package -->
<script src="./dist/leaflet.wmts.browser.min.js"></script>
</head>