File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ export const linzTopo: TileLayerDefinition =
33
33
} ,
34
34
} ;
35
35
36
+ const LINZ_BASEMAPS = 'd01fbtg0ar3v159zx4e0ajt0n09'
36
37
export const layerDefinitions : TileLayerDefinition [ ] = [
37
38
linzTopo ,
38
39
{
@@ -52,7 +53,7 @@ export const layerDefinitions: TileLayerDefinition[] = [
52
53
description : "High resolution imagery of New Zealand, provided by LINZ" ,
53
54
type : 'base' ,
54
55
url : ( [ z , x , y ] : TileCoord ) => {
55
- return `https://basemaps.linz.govt.nz/v1/tiles/aerial/EPSG:3857/${ z } /${ x } /${ y } .webp?api=d01fbtg0ar3v159zx4e0ajt0n09 ` ;
56
+ return `https://basemaps.linz.govt.nz/v1/tiles/aerial/EPSG:3857/${ z } /${ x } /${ y } .webp?api=${ LINZ_BASEMAPS } ` ;
56
57
}
57
58
} ,
58
59
{
@@ -61,6 +62,6 @@ export const layerDefinitions: TileLayerDefinition[] = [
61
62
type : 'overlay' ,
62
63
defaultVisible : true ,
63
64
minZoom : 10 ,
64
- url : ' https://basemaps.linz.govt.nz/v1/tiles/geographx-nz-dem-2012-8m/WebMercatorQuad/{z}/{x}/{y}.webp?api=c01hvn7wv0004d4njsf6rwk1t7p' ,
65
+ url : ` https://basemaps.linz.govt.nz/v1/tiles/geographx-nz-dem-2012-8m/WebMercatorQuad/{z}/{x}/{y}.webp?api=${ LINZ_BASEMAPS } ` ,
65
66
} ,
66
67
]
You can’t perform that action at this time.
0 commit comments