Skip to content

lexfoxer/leaflet.wmts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>