Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 825 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 825 Bytes

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>