1.0.2 • Published 4 years ago

leaflet.wmts v1.0.2

Weekly downloads
15
License
MIT
Repository
github
Last release
4 years ago

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/leaflet@1.6.0/dist/leaflet.css" />
	<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"></script>

	<!-- Import after general Leaflet package -->
	<script src="./dist/leaflet.wmts.browser.min.js"></script>
</head>