Skip to content

Commit 4ed0c6a

Browse files
committed
bump version
1 parent 2b618cd commit 4ed0c6a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "mapswipe-web",
3-
"version": "0.2.5",
3+
"version": "0.2.6",
44
"private": true,
55
"scripts": {
66
"dev": "vite",

src/utils/makeXyzUrl.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const makeXyzUrl = (tileServer: string, tileCoord: [number, number, number]) =>
55
const wmtsLayerName = tileServer.wmtsLayerName
66
const [zoom, x, y] = tileCoord
77
const quadkey = getQuadKeyFromCoordsAndZoom(x, y, zoom)
8-
let url = tileServer.url
8+
const url = tileServer.url
99
.replace(/({apiKey})|({key})/, apiKey)
1010
.replace(/({layer})|({name})/, wmtsLayerName)
1111
.replace(/({quad_key})/, quadkey)

0 commit comments

Comments
 (0)