slippy-tile
Advanced tools
Comparing version 1.6.0 to 1.6.1
@@ -6,2 +6,3 @@ | ||
- Change OSM `{zoom}` to `{z}` as a safer URL | ||
- Add individual parsing functions for WMS & WMTS | ||
@@ -8,0 +9,0 @@ - Improve typescript handling for `sample` |
{ | ||
"name": "slippy-tile", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "Helps convert Slippy Map url tile schemas", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,3 +9,3 @@ "use strict"; | ||
], | ||
url: 'https://{s}.tile.openstreetmap.org/{zoom}/{x}/{y}.png', | ||
url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -23,3 +23,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://{s}.tile.thunderforest.com/cycle/{zoom}/{x}/{y}.png', | ||
url: 'https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -38,3 +38,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://tile-{s}.openstreetmap.fr/hot/{zoom}/{x}/{y}.png', | ||
url: 'https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -52,3 +52,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://{s}.tile.thunderforest.com/transport/{zoom}/{x}/{y}.png', | ||
url: 'https://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -66,3 +66,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://maps.wikimedia.org/osm-intl/{zoom}/{x}/{y}.png', | ||
url: 'https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -80,3 +80,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://tiles.lyrk.org/ls/{zoom}/{x}/{y}?apikey=6e8cfef737a140e2a58c8122aaa26077', | ||
url: 'https://tiles.lyrk.org/ls/{z}/{x}/{y}?apikey=6e8cfef737a140e2a58c8122aaa26077', | ||
description: 'Tiles from OSM', | ||
@@ -94,3 +94,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://{s}.tiles.mapbox.com/v4/mapbox.streets/{zoom}/{x}/{y}.png', | ||
url: 'https://{s}.tiles.mapbox.com/v4/mapbox.streets/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -97,0 +97,0 @@ attribution: 'Map data © OSM', |
@@ -10,3 +10,3 @@ import { Provider } from '../index' | ||
], | ||
url: 'https://{s}.tile.openstreetmap.org/{zoom}/{x}/{y}.png', | ||
url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -24,3 +24,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://{s}.tile.thunderforest.com/cycle/{zoom}/{x}/{y}.png', | ||
url: 'https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -40,3 +40,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://tile-{s}.openstreetmap.fr/hot/{zoom}/{x}/{y}.png', | ||
url: 'https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -55,3 +55,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://{s}.tile.thunderforest.com/transport/{zoom}/{x}/{y}.png', | ||
url: 'https://{s}.tile.thunderforest.com/transport/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -70,3 +70,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://maps.wikimedia.org/osm-intl/{zoom}/{x}/{y}.png', | ||
url: 'https://maps.wikimedia.org/osm-intl/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -85,3 +85,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://tiles.lyrk.org/ls/{zoom}/{x}/{y}?apikey=6e8cfef737a140e2a58c8122aaa26077', | ||
url: 'https://tiles.lyrk.org/ls/{z}/{x}/{y}?apikey=6e8cfef737a140e2a58c8122aaa26077', | ||
description: 'Tiles from OSM', | ||
@@ -100,3 +100,3 @@ attribution: 'Map data © OSM', | ||
], | ||
url: 'https://{s}.tiles.mapbox.com/v4/mapbox.streets/{zoom}/{x}/{y}.png', | ||
url: 'https://{s}.tiles.mapbox.com/v4/mapbox.streets/{z}/{x}/{y}.png', | ||
description: 'Tiles from OSM', | ||
@@ -103,0 +103,0 @@ attribution: 'Map data © OSM', |
@@ -10,3 +10,3 @@ "use strict"; | ||
], | ||
url: 'https://globalheat.strava.com/tiles/both/color/{zoom}/{x}/{y}.png', | ||
url: 'https://globalheat.strava.com/tiles/both/color/{z}/{x}/{y}.png', | ||
description: 'Tiles from Strava', | ||
@@ -13,0 +13,0 @@ attribution: 'Map data © Strava', |
@@ -11,3 +11,3 @@ import { Provider } from '../index' | ||
], | ||
url: 'https://globalheat.strava.com/tiles/both/color/{zoom}/{x}/{y}.png', | ||
url: 'https://globalheat.strava.com/tiles/both/color/{z}/{x}/{y}.png', | ||
description: 'Tiles from Strava', | ||
@@ -14,0 +14,0 @@ attribution: 'Map data © Strava', |
@@ -168,2 +168,3 @@ # [Slippy Tile](https://www.npmjs.com/package/slippy-tile) | ||
- Change OSM `{zoom}` to `{z}` as a safer URL | ||
- Add individual parsing functions for WMS & WMTS | ||
@@ -170,0 +171,0 @@ - Improve typescript handling for `sample` |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
44912
214