leaflet-tilelayer-swiss
Advanced tools
Comparing version 1.0.0-rc.1 to 1.0.0-rc.2
{ | ||
"name": "leaflet-tilelayer-swiss", | ||
"version": "1.0.0-rc.1", | ||
"description": "Leaflet.TileLayer.Swiss.js is a Leaflet plugin for creating tile layers from swisstopo, the Swiss Federal Office of Topography.", | ||
"version": "1.0.0-rc.2", | ||
"description": "Leaflet.TileLayer.Swiss is a Leaflet plugin for displaying national maps of Switzerland using WMTS services of swisstopo.", | ||
"main": "Leaflet.TileLayer.Swiss.js", | ||
@@ -6,0 +6,0 @@ "repository": { |
@@ -42,3 +42,3 @@ [![npm version](https://img.shields.io/npm/v/leaflet-tilelayer-swiss.svg)](https://www.npmjs.com/package/leaflet-tilelayer-swiss) | ||
``` | ||
```javascript | ||
// Create a map with LV95 (EPSG:2056) CRS and default base map layer | ||
@@ -59,3 +59,3 @@ var map = L.map('map', { | ||
``` | ||
```javascript | ||
L.tileLayer.swiss({ | ||
@@ -89,3 +89,3 @@ // Coordinate reference system. EPSG_2056 and EPSG_21871 are available. | ||
``` | ||
```javascript | ||
var map = L.map('map', { | ||
@@ -92,0 +92,0 @@ crs: L.TileLayer.Swiss.EPSG_21781, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11114