@basemaps/landing 7.0.0 → 7.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/build/__tests__/config.debug.test.d.ts +0 -1
- package/build/__tests__/config.debug.test.js +11 -10
- package/build/__tests__/config.debug.test.js.map +1 -1
- package/build/__tests__/config.test.d.ts +0 -1
- package/build/__tests__/config.test.js +5 -4
- package/build/__tests__/config.test.js.map +1 -1
- package/build/__tests__/geojson.test.d.ts +0 -1
- package/build/__tests__/geojson.test.js +6 -5
- package/build/__tests__/geojson.test.js.map +1 -1
- package/build/__tests__/map.config.test.d.ts +0 -1
- package/build/__tests__/map.config.test.js +66 -65
- package/build/__tests__/map.config.test.js.map +1 -1
- package/build/__tests__/tile.matrix.test.d.ts +0 -1
- package/build/__tests__/tile.matrix.test.js +11 -10
- package/build/__tests__/tile.matrix.test.js.map +1 -1
- package/build/attribution.d.ts +8 -11
- package/build/attribution.js +145 -66
- package/build/attribution.js.map +1 -1
- package/build/components/copyable.d.ts +1 -2
- package/build/components/copyable.js +27 -18
- package/build/components/copyable.js.map +1 -1
- package/build/components/daterange.d.ts +0 -1
- package/build/components/daterange.js +11 -7
- package/build/components/daterange.js.map +1 -1
- package/build/components/debug.d.ts +13 -2
- package/build/components/debug.js +273 -78
- package/build/components/debug.js.map +1 -1
- package/build/components/layer.switcher.dropdown.d.ts +1 -2
- package/build/components/layer.switcher.dropdown.js +43 -29
- package/build/components/layer.switcher.dropdown.js.map +1 -1
- package/build/components/layout.footer.d.ts +0 -1
- package/build/components/layout.footer.js +7 -2
- package/build/components/layout.footer.js.map +1 -1
- package/build/components/layout.header.d.ts +1 -2
- package/build/components/layout.header.js +44 -23
- package/build/components/layout.header.js.map +1 -1
- package/build/components/link.d.ts +0 -1
- package/build/components/link.js +1 -1
- package/build/components/link.js.map +1 -1
- package/build/components/map.d.ts +14 -4
- package/build/components/map.js +221 -84
- package/build/components/map.js.map +1 -1
- package/build/components/map.switcher.d.ts +1 -2
- package/build/components/map.switcher.js +80 -31
- package/build/components/map.switcher.js.map +1 -1
- package/build/config.d.ts +0 -1
- package/build/config.debug.d.ts +6 -1
- package/build/config.debug.js +6 -0
- package/build/config.debug.js.map +1 -1
- package/build/config.js +4 -8
- package/build/config.js.map +1 -1
- package/build/config.layer.d.ts +31 -2
- package/build/config.layer.js +14 -6
- package/build/config.layer.js.map +1 -1
- package/build/config.map.d.ts +6 -6
- package/build/config.map.js +95 -29
- package/build/config.map.js.map +1 -1
- package/build/debug.map.d.ts +2 -3
- package/build/debug.map.js +57 -23
- package/build/debug.map.js.map +1 -1
- package/build/global.d.ts +3 -3
- package/build/index.d.ts +0 -1
- package/build/index.js.map +1 -1
- package/build/tile.matrix.d.ts +0 -1
- package/build/tile.matrix.js +12 -0
- package/build/tile.matrix.js.map +1 -1
- package/build/url.d.ts +4 -1
- package/build/url.js +10 -8
- package/build/url.js.map +1 -1
- package/build/webp.d.ts +0 -1
- package/build/webp.js.map +1 -1
- package/dist/docs/404.html +88 -63
- package/dist/docs/assets/javascripts/{bundle.cd18aaf1.min.js → bundle.6c14ae12.min.js} +6 -6
- package/dist/docs/assets/javascripts/{bundle.cd18aaf1.min.js.map → bundle.6c14ae12.min.js.map} +3 -3
- package/dist/docs/assets/javascripts/swagger-initializer.js +20 -0
- package/dist/docs/assets/javascripts/swagger-ui-bundle.js +3 -0
- package/dist/docs/assets/javascripts/swagger-ui-bundle.js.map +1 -0
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle-core.js +3 -0
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle-core.js.map +1 -0
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle.js +3 -0
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle.js.map +1 -0
- package/dist/docs/assets/javascripts/swagger-ui-standalone-preset.js +3 -0
- package/dist/docs/assets/javascripts/swagger-ui-standalone-preset.js.map +1 -0
- package/dist/docs/assets/stylesheets/swagger-ui-dark.css +833 -0
- package/dist/docs/assets/stylesheets/swagger-ui.css +3 -0
- package/dist/docs/assets/stylesheets/swagger-ui.css.map +1 -0
- package/dist/docs/assets/stylesheets/swagger-ui.js +2 -0
- package/dist/docs/assets/stylesheets/swagger-ui.js.map +1 -0
- package/dist/docs/assets/swagger-ui/oauth2-redirect.html +79 -0
- package/dist/docs/configuration/index.html +397 -875
- package/dist/docs/deployment/index.html +354 -829
- package/dist/docs/developer-guide/index.html +343 -793
- package/dist/docs/examples/_overview/index.html +335 -792
- package/dist/docs/examples/leaflet.xyz.3857/index.html +371 -827
- package/dist/docs/examples/maplibre.opacity.3857/index.html +548 -1004
- package/dist/docs/examples/maplibre.vector.3857/index.html +378 -834
- package/dist/docs/index.html +442 -960
- package/dist/docs/operator-guide/cog-quality/index.html +455 -968
- package/dist/docs/operator-guide/empty-tiles/index.html +354 -831
- package/dist/docs/operator-guide/gebco/index.html +479 -0
- package/dist/docs/operator-guide/index.html +331 -777
- package/dist/docs/operator-guide/quick-start/index.html +445 -938
- package/dist/docs/operator-guide/relief-shade/index.html +377 -858
- package/dist/docs/operator-guide/texture-shade/index.html +438 -915
- package/dist/docs/quick-start/index.html +332 -785
- package/dist/docs/sitemap.xml +32 -17
- package/dist/docs/sitemap.xml.gz +0 -0
- package/dist/docs/user-guide/_get-started/index.html +602 -0
- package/dist/docs/user-guide/api-documentation/index.html +409 -0
- package/dist/docs/user-guide/api-documentation/swagger-12014783.html +120 -0
- package/dist/docs/user-guide/swagger-api.json +393 -0
- package/dist/docs/user-guide/technical-documentation/index.html +930 -0
- package/package.json +17 -17
- package/CHANGELOG.md +0 -1393
- package/build/__tests__/config.debug.test.d.ts.map +0 -1
- package/build/__tests__/config.test.d.ts.map +0 -1
- package/build/__tests__/geojson.test.d.ts.map +0 -1
- package/build/__tests__/map.config.test.d.ts.map +0 -1
- package/build/__tests__/tile.matrix.test.d.ts.map +0 -1
- package/build/attribution.d.ts.map +0 -1
- package/build/components/copyable.d.ts.map +0 -1
- package/build/components/daterange.d.ts.map +0 -1
- package/build/components/debug.d.ts.map +0 -1
- package/build/components/layer.switcher.dropdown.d.ts.map +0 -1
- package/build/components/layout.footer.d.ts.map +0 -1
- package/build/components/layout.header.d.ts.map +0 -1
- package/build/components/link.d.ts.map +0 -1
- package/build/components/map.d.ts.map +0 -1
- package/build/components/map.switcher.d.ts.map +0 -1
- package/build/config.d.ts.map +0 -1
- package/build/config.debug.d.ts.map +0 -1
- package/build/config.layer.d.ts.map +0 -1
- package/build/config.map.d.ts.map +0 -1
- package/build/debug.map.d.ts.map +0 -1
- package/build/global.d.ts.map +0 -1
- package/build/index.d.ts.map +0 -1
- package/build/tile.matrix.d.ts.map +0 -1
- package/build/url.d.ts.map +0 -1
- package/build/webp.d.ts.map +0 -1
- package/dist/docs/search/search_index.json +0 -1
- package/dist/docs/user-guide/index.html +0 -856
|
@@ -1,892 +1,373 @@
|
|
|
1
1
|
|
|
2
|
-
<!
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<meta name="generator" content="mkdocs-1.5.3, mkdocs-material-9.4.14">
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
<title>Configuration - LINZ Basemaps</title>
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
<link rel="stylesheet" href="../assets/stylesheets/main.fad675c6.min.css">
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
<link rel="stylesheet" href="../assets/stylesheets/palette.356b1318.min.css">
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
|
46
|
-
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i%7COpen+Sans+Mono:400,400i,700,700i&display=fallback">
|
|
47
|
-
<style>:root{--md-text-font:"Open Sans";--md-code-font:"Open Sans Mono"}</style>
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
<link rel="stylesheet" href="../index.css">
|
|
52
|
-
|
|
53
|
-
<script>__md_scope=new URL("..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
|
|
4
|
+
<html class="no-js" lang="en">
|
|
5
|
+
<head>
|
|
6
|
+
<meta charset="utf-8"/>
|
|
7
|
+
<meta content="width=device-width,initial-scale=1" name="viewport"/>
|
|
8
|
+
<link href="http://localhost:8000/docs/configuration/" rel="canonical"/>
|
|
9
|
+
<link href=".." rel="prev"/>
|
|
10
|
+
<link href="../deployment/" rel="next"/>
|
|
11
|
+
<link href="../assets/images/favicon.png" rel="icon"/>
|
|
12
|
+
<meta content="mkdocs-1.5.3, mkdocs-material-9.4.10" name="generator"/>
|
|
13
|
+
<title>Configuration - LINZ Basemaps</title>
|
|
14
|
+
<link href="../assets/stylesheets/main.fad675c6.min.css" rel="stylesheet"/>
|
|
15
|
+
<link href="../assets/stylesheets/palette.356b1318.min.css" rel="stylesheet"/>
|
|
16
|
+
<link crossorigin="" href="https://fonts.gstatic.com" rel="preconnect"/>
|
|
17
|
+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i%7COpen+Sans+Mono:400,400i,700,700i&display=fallback" rel="stylesheet"/>
|
|
18
|
+
<style>:root{--md-text-font:"Open Sans";--md-code-font:"Open Sans Mono"}</style>
|
|
19
|
+
<link href="../index.css" rel="stylesheet"/>
|
|
20
|
+
<script>__md_scope=new URL("..",location),__md_hash=e=>[...e].reduce((e,_)=>(e<<5)-e+_.charCodeAt(0),0),__md_get=(e,_=localStorage,t=__md_scope)=>JSON.parse(_.getItem(t.pathname+"."+e)),__md_set=(e,_,t=localStorage,a=__md_scope)=>{try{t.setItem(a.pathname+"."+e,JSON.stringify(_))}catch(e){}}</script>
|
|
62
21
|
<script id="__analytics">function __md_analytics(){function n(){dataLayer.push(arguments)}window.dataLayer=window.dataLayer||[],n("js",new Date),n("config",""),document.addEventListener("DOMContentLoaded",function(){document.forms.search&&document.forms.search.query.addEventListener("blur",function(){this.value&&n("event","search",{search_term:this.value})}),document$.subscribe(function(){var a=document.forms.feedback;if(void 0!==a)for(var e of a.querySelectorAll("[type=submit]"))e.addEventListener("click",function(e){e.preventDefault();var t=document.location.pathname,e=this.getAttribute("data-md-value");n("event","feedback",{page:t,data:e}),a.firstElementChild.disabled=!0;e=a.querySelector(".md-feedback__note [data-md-value='"+e+"']");e&&(e.hidden=!1)}),a.hidden=!1}),location$.subscribe(function(e){n("config","",{page_path:e.pathname})})});var e=document.createElement("script");e.async=!0,e.src="https://www.googletagmanager.com/gtag/js?id=",document.getElementById("__analytics").insertAdjacentElement("afterEnd",e)}</script>
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
<body dir="ltr" data-md-color-scheme="default" data-md-color-primary="indigo" data-md-color-accent="indigo">
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
<script>var palette=__md_get("__palette");if(palette&&"object"==typeof palette.color)for(var key of Object.keys(palette.color))document.body.setAttribute("data-md-color-"+key,palette.color[key])</script>
|
|
85
|
-
|
|
86
|
-
<input class="md-toggle" data-md-toggle="drawer" type="checkbox" id="__drawer" autocomplete="off">
|
|
87
|
-
<input class="md-toggle" data-md-toggle="search" type="checkbox" id="__search" autocomplete="off">
|
|
88
|
-
<label class="md-overlay" for="__drawer"></label>
|
|
89
|
-
<div data-md-component="skip">
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
<a href="#configuration" class="md-skip">
|
|
22
|
+
<script>"undefined"!=typeof __md_analytics&&__md_analytics()</script>
|
|
23
|
+
</head>
|
|
24
|
+
<body data-md-color-accent="indigo" data-md-color-primary="indigo" data-md-color-scheme="default" dir="ltr">
|
|
25
|
+
<script>var palette=__md_get("__palette");if(palette&&"object"==typeof palette.color)for(var key of Object.keys(palette.color))document.body.setAttribute("data-md-color-"+key,palette.color[key])</script>
|
|
26
|
+
<input autocomplete="off" class="md-toggle" data-md-toggle="drawer" id="__drawer" type="checkbox"/>
|
|
27
|
+
<input autocomplete="off" class="md-toggle" data-md-toggle="search" id="__search" type="checkbox"/>
|
|
28
|
+
<label class="md-overlay" for="__drawer"></label>
|
|
29
|
+
<div data-md-component="skip">
|
|
30
|
+
<a class="md-skip" href="#configuration">
|
|
93
31
|
Skip to content
|
|
94
32
|
</a>
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
</div>
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
33
|
+
</div>
|
|
34
|
+
<div data-md-component="announce">
|
|
35
|
+
</div>
|
|
106
36
|
<header class="md-header md-header--shadow" data-md-component="header">
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
<div class="md-header__ellipsis">
|
|
119
|
-
<div class="md-header__topic">
|
|
120
|
-
<span class="md-ellipsis">
|
|
37
|
+
<nav aria-label="Header" class="md-header__inner md-grid">
|
|
38
|
+
<a aria-label="LINZ Basemaps" class="md-header__button md-logo" data-md-component="logo" href=".." title="LINZ Basemaps">
|
|
39
|
+
<img alt="logo" src="../linz-motif.svg"/>
|
|
40
|
+
</a>
|
|
41
|
+
<label class="md-header__button md-icon" for="__drawer">
|
|
42
|
+
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M3 6h18v2H3V6m0 5h18v2H3v-2m0 5h18v2H3v-2Z"></path></svg>
|
|
43
|
+
</label>
|
|
44
|
+
<div class="md-header__title" data-md-component="header-title">
|
|
45
|
+
<div class="md-header__ellipsis">
|
|
46
|
+
<div class="md-header__topic">
|
|
47
|
+
<span class="md-ellipsis">
|
|
121
48
|
LINZ Basemaps
|
|
122
49
|
</span>
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
50
|
+
</div>
|
|
51
|
+
<div class="md-header__topic" data-md-component="header-topic">
|
|
52
|
+
<span class="md-ellipsis">
|
|
126
53
|
|
|
127
54
|
Configuration
|
|
128
55
|
|
|
129
56
|
</span>
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
<label class="md-header__button md-icon" title="Switch to dark mode" for="__palette_2" hidden>
|
|
143
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69Z"/></svg>
|
|
144
|
-
</label>
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
<input class="md-option" data-md-color-media="(prefers-color-scheme: dark)" data-md-color-scheme="slate" data-md-color-primary="indigo" data-md-color-accent="indigo" aria-label="Switch to light mode" type="radio" name="__palette" id="__palette_2">
|
|
151
|
-
|
|
152
|
-
<label class="md-header__button md-icon" title="Switch to light mode" for="__palette_1" hidden>
|
|
153
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12c0-2.42-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69Z"/></svg>
|
|
154
|
-
</label>
|
|
155
|
-
|
|
156
|
-
|
|
57
|
+
</div>
|
|
58
|
+
</div>
|
|
59
|
+
</div>
|
|
60
|
+
<form class="md-header__option" data-md-component="palette">
|
|
61
|
+
<input aria-label="Switch to dark mode" class="md-option" data-md-color-accent="indigo" data-md-color-media="(prefers-color-scheme: light)" data-md-color-primary="indigo" data-md-color-scheme="default" id="__palette_1" name="__palette" type="radio"/>
|
|
62
|
+
<label class="md-header__button md-icon" for="__palette_2" hidden="" title="Switch to dark mode">
|
|
63
|
+
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 8a4 4 0 0 0-4 4 4 4 0 0 0 4 4 4 4 0 0 0 4-4 4 4 0 0 0-4-4m0 10a6 6 0 0 1-6-6 6 6 0 0 1 6-6 6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69Z"></path></svg>
|
|
64
|
+
</label>
|
|
65
|
+
<input aria-label="Switch to light mode" class="md-option" data-md-color-accent="indigo" data-md-color-media="(prefers-color-scheme: dark)" data-md-color-primary="indigo" data-md-color-scheme="slate" id="__palette_2" name="__palette" type="radio"/>
|
|
66
|
+
<label class="md-header__button md-icon" for="__palette_1" hidden="" title="Switch to light mode">
|
|
67
|
+
<svg viewbox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M12 18c-.89 0-1.74-.2-2.5-.55C11.56 16.5 13 14.42 13 12c0-2.42-1.44-4.5-3.5-5.45C10.26 6.2 11.11 6 12 6a6 6 0 0 1 6 6 6 6 0 0 1-6 6m8-9.31V4h-4.69L12 .69 8.69 4H4v4.69L.69 12 4 15.31V20h4.69L12 23.31 15.31 20H20v-4.69L23.31 12 20 8.69Z"></path></svg>
|
|
68
|
+
</label>
|
|
157
69
|
</form>
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
<label class="md-header__button md-icon" for="__search">
|
|
163
|
-
|
|
164
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
|
|
165
|
-
</label>
|
|
166
|
-
<div class="md-search" data-md-component="search" role="dialog">
|
|
167
|
-
<label class="md-search__overlay" for="__search"></label>
|
|
168
|
-
<div class="md-search__inner" role="search">
|
|
169
|
-
<form class="md-search__form" name="search">
|
|
170
|
-
<input type="text" class="md-search__input" name="query" aria-label="Search" placeholder="Search" autocapitalize="off" autocorrect="off" autocomplete="off" spellcheck="false" data-md-component="search-query" required>
|
|
171
|
-
<label class="md-search__icon md-icon" for="__search">
|
|
172
|
-
|
|
173
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M9.5 3A6.5 6.5 0 0 1 16 9.5c0 1.61-.59 3.09-1.56 4.23l.27.27h.79l5 5-1.5 1.5-5-5v-.79l-.27-.27A6.516 6.516 0 0 1 9.5 16 6.5 6.5 0 0 1 3 9.5 6.5 6.5 0 0 1 9.5 3m0 2C7 5 5 7 5 9.5S7 14 9.5 14 14 12 14 9.5 12 5 9.5 5Z"/></svg>
|
|
174
|
-
|
|
175
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M20 11v2H8l5.5 5.5-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5 8 11h12Z"/></svg>
|
|
176
|
-
</label>
|
|
177
|
-
<nav class="md-search__options" aria-label="Search">
|
|
178
|
-
|
|
179
|
-
<button type="reset" class="md-search__icon md-icon" title="Clear" aria-label="Clear" tabindex="-1">
|
|
180
|
-
|
|
181
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41Z"/></svg>
|
|
182
|
-
</button>
|
|
183
|
-
</nav>
|
|
184
|
-
|
|
185
|
-
</form>
|
|
186
|
-
<div class="md-search__output">
|
|
187
|
-
<div class="md-search__scrollwrap" data-md-scrollfix>
|
|
188
|
-
<div class="md-search-result" data-md-component="search-result">
|
|
189
|
-
<div class="md-search-result__meta">
|
|
190
|
-
Initializing search
|
|
191
|
-
</div>
|
|
192
|
-
<ol class="md-search-result__list" role="presentation"></ol>
|
|
193
|
-
</div>
|
|
194
|
-
</div>
|
|
195
|
-
</div>
|
|
196
|
-
</div>
|
|
70
|
+
<div class="md-header__source">
|
|
71
|
+
<a class="md-source" data-md-component="source" href="https://github.com/linz/basemaps" title="Go to repository">
|
|
72
|
+
<div class="md-source__icon md-icon">
|
|
73
|
+
<svg viewbox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"></path></svg>
|
|
197
74
|
</div>
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
<div class="md-header__source">
|
|
201
|
-
<a href="https://github.com/linz/basemaps" title="Go to repository" class="md-source" data-md-component="source">
|
|
202
|
-
<div class="md-source__icon md-icon">
|
|
203
|
-
|
|
204
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"/></svg>
|
|
205
|
-
</div>
|
|
206
|
-
<div class="md-source__repository">
|
|
75
|
+
<div class="md-source__repository">
|
|
207
76
|
GitHub
|
|
208
77
|
</div>
|
|
209
78
|
</a>
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
</nav>
|
|
213
|
-
|
|
79
|
+
</div>
|
|
80
|
+
</nav>
|
|
214
81
|
</header>
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation" >
|
|
229
|
-
<div class="md-sidebar__scrollwrap">
|
|
230
|
-
<div class="md-sidebar__inner">
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
|
|
236
|
-
<label class="md-nav__title" for="__drawer">
|
|
237
|
-
<a href=".." title="LINZ Basemaps" class="md-nav__button md-logo" aria-label="LINZ Basemaps" data-md-component="logo">
|
|
238
|
-
|
|
239
|
-
<img src="../linz-motif.svg" alt="logo">
|
|
240
|
-
|
|
241
|
-
</a>
|
|
82
|
+
<div class="md-container" data-md-component="container">
|
|
83
|
+
<main class="md-main" data-md-component="main">
|
|
84
|
+
<div class="md-main__inner md-grid">
|
|
85
|
+
<div class="md-sidebar md-sidebar--primary" data-md-component="sidebar" data-md-type="navigation">
|
|
86
|
+
<div class="md-sidebar__scrollwrap">
|
|
87
|
+
<div class="md-sidebar__inner">
|
|
88
|
+
<nav aria-label="Navigation" class="md-nav md-nav--primary" data-md-level="0">
|
|
89
|
+
<label class="md-nav__title" for="__drawer">
|
|
90
|
+
<a aria-label="LINZ Basemaps" class="md-nav__button md-logo" data-md-component="logo" href=".." title="LINZ Basemaps">
|
|
91
|
+
<img alt="logo" src="../linz-motif.svg"/>
|
|
92
|
+
</a>
|
|
242
93
|
LINZ Basemaps
|
|
243
94
|
</label>
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
</div>
|
|
251
|
-
<div class="md-source__repository">
|
|
95
|
+
<div class="md-nav__source">
|
|
96
|
+
<a class="md-source" data-md-component="source" href="https://github.com/linz/basemaps" title="Go to repository">
|
|
97
|
+
<div class="md-source__icon md-icon">
|
|
98
|
+
<svg viewbox="0 0 448 512" xmlns="http://www.w3.org/2000/svg"><!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc.--><path d="M439.55 236.05 244 40.45a28.87 28.87 0 0 0-40.81 0l-40.66 40.63 51.52 51.52c27.06-9.14 52.68 16.77 43.39 43.68l49.66 49.66c34.23-11.8 61.18 31 35.47 56.69-26.49 26.49-70.21-2.87-56-37.34L240.22 199v121.85c25.3 12.54 22.26 41.85 9.08 55a34.34 34.34 0 0 1-48.55 0c-17.57-17.6-11.07-46.91 11.25-56v-123c-20.8-8.51-24.6-30.74-18.64-45L142.57 101 8.45 235.14a28.86 28.86 0 0 0 0 40.81l195.61 195.6a28.86 28.86 0 0 0 40.8 0l194.69-194.69a28.86 28.86 0 0 0 0-40.81z"></path></svg>
|
|
99
|
+
</div>
|
|
100
|
+
<div class="md-source__repository">
|
|
252
101
|
GitHub
|
|
253
102
|
</div>
|
|
254
103
|
</a>
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
<li class="md-nav__item">
|
|
266
|
-
<a href=".." class="md-nav__link">
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
<span class="md-ellipsis">
|
|
104
|
+
</div>
|
|
105
|
+
<ul class="md-nav__list" data-md-scrollfix="">
|
|
106
|
+
<li class="md-nav__item">
|
|
107
|
+
<a class="md-nav__link" href="..">
|
|
108
|
+
<span class="md-ellipsis">
|
|
270
109
|
LINZ Basemaps
|
|
271
110
|
</span>
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
<li class="md-nav__item md-nav__item--active">
|
|
288
|
-
|
|
289
|
-
<input class="md-nav__toggle md-toggle" type="checkbox" id="__toc">
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
<label class="md-nav__link md-nav__link--active" for="__toc">
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
<span class="md-ellipsis">
|
|
111
|
+
</a>
|
|
112
|
+
</li>
|
|
113
|
+
<li class="md-nav__item md-nav__item--active">
|
|
114
|
+
<input class="md-nav__toggle md-toggle" id="__toc" type="checkbox"/>
|
|
115
|
+
<label class="md-nav__link md-nav__link--active" for="__toc">
|
|
116
|
+
<span class="md-ellipsis">
|
|
297
117
|
Configuration
|
|
298
118
|
</span>
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
<a href="./" class="md-nav__link md-nav__link--active">
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
<span class="md-ellipsis">
|
|
119
|
+
<span class="md-nav__icon md-icon"></span>
|
|
120
|
+
</label>
|
|
121
|
+
<a class="md-nav__link md-nav__link--active" href="./">
|
|
122
|
+
<span class="md-ellipsis">
|
|
308
123
|
Configuration
|
|
309
124
|
</span>
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
<nav class="md-nav md-nav--secondary" aria-label="Table of contents">
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
<label class="md-nav__title" for="__toc">
|
|
322
|
-
<span class="md-nav__icon md-icon"></span>
|
|
125
|
+
</a>
|
|
126
|
+
<nav aria-label="Table of contents" class="md-nav md-nav--secondary">
|
|
127
|
+
<label class="md-nav__title" for="__toc">
|
|
128
|
+
<span class="md-nav__icon md-icon"></span>
|
|
323
129
|
Table of contents
|
|
324
130
|
</label>
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
<span class="md-ellipsis">
|
|
131
|
+
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix="">
|
|
132
|
+
<li class="md-nav__item">
|
|
133
|
+
<a class="md-nav__link" href="#configuration">
|
|
134
|
+
<span class="md-ellipsis">
|
|
330
135
|
Configuration
|
|
331
136
|
</span>
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
<a href="#dynamic-configuration" class="md-nav__link">
|
|
339
|
-
<span class="md-ellipsis">
|
|
137
|
+
</a>
|
|
138
|
+
<nav aria-label="Configuration" class="md-nav">
|
|
139
|
+
<ul class="md-nav__list">
|
|
140
|
+
<li class="md-nav__item">
|
|
141
|
+
<a class="md-nav__link" href="#dynamic-configuration">
|
|
142
|
+
<span class="md-ellipsis">
|
|
340
143
|
Dynamic configuration
|
|
341
144
|
</span>
|
|
342
|
-
|
|
343
|
-
|
|
145
|
+
</a>
|
|
344
146
|
</li>
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
</nav>
|
|
348
|
-
|
|
147
|
+
</ul>
|
|
148
|
+
</nav>
|
|
349
149
|
</li>
|
|
350
|
-
|
|
351
|
-
</ul>
|
|
352
|
-
|
|
150
|
+
</ul>
|
|
353
151
|
</nav>
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
<li class="md-nav__item">
|
|
366
|
-
<a href="../deployment/" class="md-nav__link">
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
<span class="md-ellipsis">
|
|
152
|
+
</li>
|
|
153
|
+
<li class="md-nav__item">
|
|
154
|
+
<a class="md-nav__link" href="../deployment/">
|
|
155
|
+
<span class="md-ellipsis">
|
|
370
156
|
Deployment
|
|
371
157
|
</span>
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
<li class="md-nav__item">
|
|
386
|
-
<a href="../quick-start/" class="md-nav__link">
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
<span class="md-ellipsis">
|
|
158
|
+
</a>
|
|
159
|
+
</li>
|
|
160
|
+
<li class="md-nav__item">
|
|
161
|
+
<a class="md-nav__link" href="../quick-start/">
|
|
162
|
+
<span class="md-ellipsis">
|
|
390
163
|
Quick start guide
|
|
391
164
|
</span>
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
<li class="md-nav__item md-nav__item--nested">
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_5" >
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
<div class="md-nav__link md-nav__container">
|
|
426
|
-
<a href="../developer-guide/" class="md-nav__link ">
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
<span class="md-ellipsis">
|
|
165
|
+
</a>
|
|
166
|
+
</li>
|
|
167
|
+
<li class="md-nav__item md-nav__item--nested">
|
|
168
|
+
<input class="md-nav__toggle md-toggle" id="__nav_5" type="checkbox"/>
|
|
169
|
+
<div class="md-nav__link md-nav__container">
|
|
170
|
+
<a class="md-nav__link" href="../developer-guide/">
|
|
171
|
+
<span class="md-ellipsis">
|
|
430
172
|
Developer guide
|
|
431
173
|
</span>
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_5_label" aria-expanded="false">
|
|
439
|
-
<label class="md-nav__title" for="__nav_5">
|
|
440
|
-
<span class="md-nav__icon md-icon"></span>
|
|
174
|
+
</a>
|
|
175
|
+
</div>
|
|
176
|
+
<nav aria-expanded="false" aria-labelledby="__nav_5_label" class="md-nav" data-md-level="1">
|
|
177
|
+
<label class="md-nav__title" for="__nav_5">
|
|
178
|
+
<span class="md-nav__icon md-icon"></span>
|
|
441
179
|
Developer guide
|
|
442
180
|
</label>
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
<li class="md-nav__item md-nav__item--nested">
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_6" >
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
<label class="md-nav__link" for="__nav_6" id="__nav_6_label" tabindex="0">
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
<span class="md-ellipsis">
|
|
181
|
+
<ul class="md-nav__list" data-md-scrollfix="">
|
|
182
|
+
</ul>
|
|
183
|
+
</nav>
|
|
184
|
+
</li>
|
|
185
|
+
<li class="md-nav__item md-nav__item--nested">
|
|
186
|
+
<input class="md-nav__toggle md-toggle" id="__nav_6" type="checkbox"/>
|
|
187
|
+
<label class="md-nav__link" for="__nav_6" id="__nav_6_label" tabindex="0">
|
|
188
|
+
<span class="md-ellipsis">
|
|
487
189
|
Examples
|
|
488
190
|
</span>
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_6_label" aria-expanded="false">
|
|
495
|
-
<label class="md-nav__title" for="__nav_6">
|
|
496
|
-
<span class="md-nav__icon md-icon"></span>
|
|
191
|
+
<span class="md-nav__icon md-icon"></span>
|
|
192
|
+
</label>
|
|
193
|
+
<nav aria-expanded="false" aria-labelledby="__nav_6_label" class="md-nav" data-md-level="1">
|
|
194
|
+
<label class="md-nav__title" for="__nav_6">
|
|
195
|
+
<span class="md-nav__icon md-icon"></span>
|
|
497
196
|
Examples
|
|
498
197
|
</label>
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
<li class="md-nav__item">
|
|
508
|
-
<a href="../examples/_overview/" class="md-nav__link">
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
<span class="md-ellipsis">
|
|
198
|
+
<ul class="md-nav__list" data-md-scrollfix="">
|
|
199
|
+
<li class="md-nav__item">
|
|
200
|
+
<a class="md-nav__link" href="../examples/_overview/">
|
|
201
|
+
<span class="md-ellipsis">
|
|
512
202
|
Overview
|
|
513
203
|
</span>
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
<li class="md-nav__item">
|
|
529
|
-
<a href="../examples/leaflet.xyz.3857/" class="md-nav__link">
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
<span class="md-ellipsis">
|
|
204
|
+
</a>
|
|
205
|
+
</li>
|
|
206
|
+
<li class="md-nav__item">
|
|
207
|
+
<a class="md-nav__link" href="../examples/leaflet.xyz.3857/">
|
|
208
|
+
<span class="md-ellipsis">
|
|
533
209
|
Leaflet Raster Map
|
|
534
210
|
</span>
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
<li class="md-nav__item">
|
|
550
|
-
<a href="../examples/maplibre.opacity.3857/" class="md-nav__link">
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
<span class="md-ellipsis">
|
|
211
|
+
</a>
|
|
212
|
+
</li>
|
|
213
|
+
<li class="md-nav__item">
|
|
214
|
+
<a class="md-nav__link" href="../examples/maplibre.opacity.3857/">
|
|
215
|
+
<span class="md-ellipsis">
|
|
554
216
|
Maplibre Opacity Slider
|
|
555
217
|
</span>
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
<li class="md-nav__item">
|
|
571
|
-
<a href="../examples/maplibre.vector.3857/" class="md-nav__link">
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
<span class="md-ellipsis">
|
|
218
|
+
</a>
|
|
219
|
+
</li>
|
|
220
|
+
<li class="md-nav__item">
|
|
221
|
+
<a class="md-nav__link" href="../examples/maplibre.vector.3857/">
|
|
222
|
+
<span class="md-ellipsis">
|
|
575
223
|
Maplibre Vector Map
|
|
576
224
|
</span>
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
</li>
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
<li class="md-nav__item md-nav__item--nested">
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_7" >
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
<div class="md-nav__link md-nav__container">
|
|
629
|
-
<a href="../operator-guide/" class="md-nav__link ">
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
<span class="md-ellipsis">
|
|
225
|
+
</a>
|
|
226
|
+
</li>
|
|
227
|
+
</ul>
|
|
228
|
+
</nav>
|
|
229
|
+
</li>
|
|
230
|
+
<li class="md-nav__item md-nav__item--nested">
|
|
231
|
+
<input class="md-nav__toggle md-toggle" id="__nav_7" type="checkbox"/>
|
|
232
|
+
<div class="md-nav__link md-nav__container">
|
|
233
|
+
<a class="md-nav__link" href="../operator-guide/">
|
|
234
|
+
<span class="md-ellipsis">
|
|
633
235
|
Operator guide
|
|
634
236
|
</span>
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
</div>
|
|
645
|
-
|
|
646
|
-
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_7_label" aria-expanded="false">
|
|
647
|
-
<label class="md-nav__title" for="__nav_7">
|
|
648
|
-
<span class="md-nav__icon md-icon"></span>
|
|
237
|
+
</a>
|
|
238
|
+
<label class="md-nav__link" for="__nav_7" id="__nav_7_label" tabindex="0">
|
|
239
|
+
<span class="md-nav__icon md-icon"></span>
|
|
240
|
+
</label>
|
|
241
|
+
</div>
|
|
242
|
+
<nav aria-expanded="false" aria-labelledby="__nav_7_label" class="md-nav" data-md-level="1">
|
|
243
|
+
<label class="md-nav__title" for="__nav_7">
|
|
244
|
+
<span class="md-nav__icon md-icon"></span>
|
|
649
245
|
Operator guide
|
|
650
246
|
</label>
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
<li class="md-nav__item">
|
|
662
|
-
<a href="../operator-guide/cog-quality/" class="md-nav__link">
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
<span class="md-ellipsis">
|
|
247
|
+
<ul class="md-nav__list" data-md-scrollfix="">
|
|
248
|
+
<li class="md-nav__item">
|
|
249
|
+
<a class="md-nav__link" href="../operator-guide/cog-quality/">
|
|
250
|
+
<span class="md-ellipsis">
|
|
666
251
|
COG Quality
|
|
667
252
|
</span>
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
<li class="md-nav__item">
|
|
683
|
-
<a href="../operator-guide/empty-tiles/" class="md-nav__link">
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
<span class="md-ellipsis">
|
|
253
|
+
</a>
|
|
254
|
+
</li>
|
|
255
|
+
<li class="md-nav__item">
|
|
256
|
+
<a class="md-nav__link" href="../operator-guide/empty-tiles/">
|
|
257
|
+
<span class="md-ellipsis">
|
|
687
258
|
Sparse Datasets and empty tiles
|
|
688
259
|
</span>
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
<li class="md-nav__item">
|
|
704
|
-
<a href="../operator-guide/quick-start/" class="md-nav__link">
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
<span class="md-ellipsis">
|
|
260
|
+
</a>
|
|
261
|
+
</li>
|
|
262
|
+
<li class="md-nav__item">
|
|
263
|
+
<a class="md-nav__link" href="../operator-guide/gebco/">
|
|
264
|
+
<span class="md-ellipsis">
|
|
265
|
+
Gebco re-project to NZTM2000Quad cog file
|
|
266
|
+
</span>
|
|
267
|
+
</a>
|
|
268
|
+
</li>
|
|
269
|
+
<li class="md-nav__item">
|
|
270
|
+
<a class="md-nav__link" href="../operator-guide/quick-start/">
|
|
271
|
+
<span class="md-ellipsis">
|
|
708
272
|
Running LINZ Basemaps - Quick Start
|
|
709
273
|
</span>
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
<li class="md-nav__item">
|
|
725
|
-
<a href="../operator-guide/relief-shade/" class="md-nav__link">
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
<span class="md-ellipsis">
|
|
274
|
+
</a>
|
|
275
|
+
</li>
|
|
276
|
+
<li class="md-nav__item">
|
|
277
|
+
<a class="md-nav__link" href="../operator-guide/relief-shade/">
|
|
278
|
+
<span class="md-ellipsis">
|
|
729
279
|
Relief shade
|
|
730
280
|
</span>
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
<li class="md-nav__item">
|
|
746
|
-
<a href="../operator-guide/texture-shade/" class="md-nav__link">
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
<span class="md-ellipsis">
|
|
281
|
+
</a>
|
|
282
|
+
</li>
|
|
283
|
+
<li class="md-nav__item">
|
|
284
|
+
<a class="md-nav__link" href="../operator-guide/texture-shade/">
|
|
285
|
+
<span class="md-ellipsis">
|
|
750
286
|
Texture shading
|
|
751
287
|
</span>
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
</nav>
|
|
762
|
-
|
|
763
|
-
</li>
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
<li class="md-nav__item md-nav__item--nested">
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
<input class="md-nav__toggle md-toggle " type="checkbox" id="__nav_8" >
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
<div class="md-nav__link md-nav__container">
|
|
794
|
-
<a href="../user-guide/" class="md-nav__link ">
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
<span class="md-ellipsis">
|
|
288
|
+
</a>
|
|
289
|
+
</li>
|
|
290
|
+
</ul>
|
|
291
|
+
</nav>
|
|
292
|
+
</li>
|
|
293
|
+
<li class="md-nav__item md-nav__item--nested">
|
|
294
|
+
<input class="md-nav__toggle md-toggle" id="__nav_8" type="checkbox"/>
|
|
295
|
+
<label class="md-nav__link" for="__nav_8" id="__nav_8_label" tabindex="0">
|
|
296
|
+
<span class="md-ellipsis">
|
|
798
297
|
User guide
|
|
799
298
|
</span>
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
<nav class="md-nav" data-md-level="1" aria-labelledby="__nav_8_label" aria-expanded="false">
|
|
807
|
-
<label class="md-nav__title" for="__nav_8">
|
|
808
|
-
<span class="md-nav__icon md-icon"></span>
|
|
299
|
+
<span class="md-nav__icon md-icon"></span>
|
|
300
|
+
</label>
|
|
301
|
+
<nav aria-expanded="false" aria-labelledby="__nav_8_label" class="md-nav" data-md-level="1">
|
|
302
|
+
<label class="md-nav__title" for="__nav_8">
|
|
303
|
+
<span class="md-nav__icon md-icon"></span>
|
|
809
304
|
User guide
|
|
810
305
|
</label>
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
306
|
+
<ul class="md-nav__list" data-md-scrollfix="">
|
|
307
|
+
<li class="md-nav__item">
|
|
308
|
+
<a class="md-nav__link" href="../user-guide/_get-started/">
|
|
309
|
+
<span class="md-ellipsis">
|
|
310
|
+
Get started with LINZ Basemaps
|
|
311
|
+
</span>
|
|
312
|
+
</a>
|
|
313
|
+
</li>
|
|
314
|
+
<li class="md-nav__item">
|
|
315
|
+
<a class="md-nav__link" href="../user-guide/api-documentation/">
|
|
316
|
+
<span class="md-ellipsis">
|
|
317
|
+
API documentation
|
|
318
|
+
</span>
|
|
319
|
+
</a>
|
|
320
|
+
</li>
|
|
321
|
+
<li class="md-nav__item">
|
|
322
|
+
<a class="md-nav__link" href="../user-guide/technical-documentation/">
|
|
323
|
+
<span class="md-ellipsis">
|
|
324
|
+
Technical documentation and specifications
|
|
325
|
+
</span>
|
|
326
|
+
</a>
|
|
327
|
+
</li>
|
|
328
|
+
</ul>
|
|
823
329
|
</nav>
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
834
|
-
|
|
835
|
-
<
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
<label class="md-nav__title" for="__toc">
|
|
841
|
-
<span class="md-nav__icon md-icon"></span>
|
|
330
|
+
</li>
|
|
331
|
+
</ul>
|
|
332
|
+
</nav>
|
|
333
|
+
</div>
|
|
334
|
+
</div>
|
|
335
|
+
</div>
|
|
336
|
+
<div class="md-sidebar md-sidebar--secondary" data-md-component="sidebar" data-md-type="toc">
|
|
337
|
+
<div class="md-sidebar__scrollwrap">
|
|
338
|
+
<div class="md-sidebar__inner">
|
|
339
|
+
<nav aria-label="Table of contents" class="md-nav md-nav--secondary">
|
|
340
|
+
<label class="md-nav__title" for="__toc">
|
|
341
|
+
<span class="md-nav__icon md-icon"></span>
|
|
842
342
|
Table of contents
|
|
843
343
|
</label>
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
<span class="md-ellipsis">
|
|
344
|
+
<ul class="md-nav__list" data-md-component="toc" data-md-scrollfix="">
|
|
345
|
+
<li class="md-nav__item">
|
|
346
|
+
<a class="md-nav__link" href="#configuration">
|
|
347
|
+
<span class="md-ellipsis">
|
|
849
348
|
Configuration
|
|
850
349
|
</span>
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
<a href="#dynamic-configuration" class="md-nav__link">
|
|
858
|
-
<span class="md-ellipsis">
|
|
350
|
+
</a>
|
|
351
|
+
<nav aria-label="Configuration" class="md-nav">
|
|
352
|
+
<ul class="md-nav__list">
|
|
353
|
+
<li class="md-nav__item">
|
|
354
|
+
<a class="md-nav__link" href="#dynamic-configuration">
|
|
355
|
+
<span class="md-ellipsis">
|
|
859
356
|
Dynamic configuration
|
|
860
357
|
</span>
|
|
861
|
-
|
|
862
|
-
|
|
358
|
+
</a>
|
|
863
359
|
</li>
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
</nav>
|
|
867
|
-
|
|
360
|
+
</ul>
|
|
361
|
+
</nav>
|
|
868
362
|
</li>
|
|
869
|
-
|
|
870
|
-
</ul>
|
|
871
|
-
|
|
363
|
+
</ul>
|
|
872
364
|
</nav>
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
<div class="md-content" data-md-component="content">
|
|
880
|
-
<article class="md-content__inner md-typeset">
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
<h1>Configuration</h1>
|
|
889
|
-
|
|
365
|
+
</div>
|
|
366
|
+
</div>
|
|
367
|
+
</div>
|
|
368
|
+
<div class="md-content" data-md-component="content">
|
|
369
|
+
<article class="md-content__inner md-typeset">
|
|
370
|
+
<h1>Configuration</h1>
|
|
890
371
|
<h2 id="configuration">Configuration</h2>
|
|
891
372
|
<p>Basemaps has two main components to its configuration</p>
|
|
892
373
|
<ul>
|
|
@@ -896,86 +377,127 @@
|
|
|
896
377
|
<p>The configuration can be stored as individual AWS DynamoDB objects or can be stored as a bundled JSON object.</p>
|
|
897
378
|
<p>The configuration is generally generated directly from the source tiffs and associated STAC metadata using the <a href="../packages/cli/README.md">@basemaps/cli</a> import process, with LINZ's specific configuration being stored in <a href="https://github.com/linz/basemaps-config">linz/basemaps-config</a>.</p>
|
|
898
379
|
<p>This allows the configuration objects to be somewhat short, below is a snippet from the <a href="https://github.com/linz/basemaps-config/blob/master/config/tileset/aerial.json">aerial</a> tile set configuration which layers 100+ aerial imagery layers together.</p>
|
|
899
|
-
<div class="language-json highlight"><pre><span></span><code><span id="__span-0-1"><a
|
|
900
|
-
</span><span id="__span-0-2"><a
|
|
901
|
-
</span><span id="__span-0-3"><a
|
|
902
|
-
</span><span id="__span-0-4"><a
|
|
903
|
-
</span><span id="__span-0-5"><a
|
|
904
|
-
</span><span id="__span-0-6"><a
|
|
905
|
-
</span><span id="__span-0-7"><a
|
|
906
|
-
</span><span id="__span-0-8"><a
|
|
907
|
-
</span><span id="__span-0-9"><a
|
|
908
|
-
</span><span id="__span-0-10"><a
|
|
909
|
-
</span><span id="__span-0-11"><a
|
|
910
|
-
</span><span id="__span-0-12"><a
|
|
911
|
-
</span><span id="__span-0-13"><a
|
|
912
|
-
</span><span id="__span-0-14"><a
|
|
913
|
-
</span><span id="__span-0-15"><a
|
|
914
|
-
</span><span id="__span-0-16"><a
|
|
915
|
-
</span><span id="__span-0-17"><a
|
|
916
|
-
</span><span id="__span-0-18"><a
|
|
917
|
-
</span><span id="__span-0-19"><a
|
|
918
|
-
</span><span id="__span-0-20"><a
|
|
919
|
-
</span><span id="__span-0-21"><a
|
|
920
|
-
</span><span id="__span-0-22"><a
|
|
921
|
-
</span><span id="__span-0-23"><a
|
|
922
|
-
</span><span id="__span-0-24"><a
|
|
923
|
-
</span><span id="__span-0-25"><a
|
|
924
|
-
</span><span id="__span-0-26"><a
|
|
925
|
-
</span><span id="__span-0-27"><a
|
|
380
|
+
<div class="language-json highlight"><pre><span></span><code><span id="__span-0-1"><a href="#__codelineno-0-1" id="__codelineno-0-1" name="__codelineno-0-1"></a><span class="p">{</span>
|
|
381
|
+
</span><span id="__span-0-2"><a href="#__codelineno-0-2" id="__codelineno-0-2" name="__codelineno-0-2"></a><span class="w"> </span><span class="c1">// Raster or Vector layer</span>
|
|
382
|
+
</span><span id="__span-0-3"><a href="#__codelineno-0-3" id="__codelineno-0-3" name="__codelineno-0-3"></a><span class="w"> </span><span class="nt">"type"</span><span class="p">:</span><span class="w"> </span><span class="s2">"raster"</span><span class="p">,</span>
|
|
383
|
+
</span><span id="__span-0-4"><a href="#__codelineno-0-4" id="__codelineno-0-4" name="__codelineno-0-4"></a><span class="w"> </span><span class="c1">// all id's are prefixed by type eg 'ts_' is TileSet</span>
|
|
384
|
+
</span><span id="__span-0-5"><a href="#__codelineno-0-5" id="__codelineno-0-5" name="__codelineno-0-5"></a><span class="w"> </span><span class="nt">"id"</span><span class="p">:</span><span class="w"> </span><span class="s2">"ts_aerial"</span><span class="p">,</span>
|
|
385
|
+
</span><span id="__span-0-6"><a href="#__codelineno-0-6" id="__codelineno-0-6" name="__codelineno-0-6"></a><span class="w"> </span><span class="c1">// Human friendly name</span>
|
|
386
|
+
</span><span id="__span-0-7"><a href="#__codelineno-0-7" id="__codelineno-0-7" name="__codelineno-0-7"></a><span class="w"> </span><span class="nt">"title"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Aerial Imagery Basemap"</span><span class="p">,</span>
|
|
387
|
+
</span><span id="__span-0-8"><a href="#__codelineno-0-8" id="__codelineno-0-8" name="__codelineno-0-8"></a><span class="w"> </span><span class="nt">"category"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Basemaps"</span><span class="p">,</span>
|
|
388
|
+
</span><span id="__span-0-9"><a href="#__codelineno-0-9" id="__codelineno-0-9" name="__codelineno-0-9"></a><span class="w"> </span><span class="c1">// If there is no data create a background color as hex RGBA</span>
|
|
389
|
+
</span><span id="__span-0-10"><a href="#__codelineno-0-10" id="__codelineno-0-10" name="__codelineno-0-10"></a><span class="w"> </span><span class="nt">"background"</span><span class="p">:</span><span class="w"> </span><span class="s2">"dce9edff"</span><span class="p">,</span>
|
|
390
|
+
</span><span id="__span-0-11"><a href="#__codelineno-0-11" id="__codelineno-0-11" name="__codelineno-0-11"></a><span class="w"> </span><span class="nt">"layers"</span><span class="p">:</span><span class="w"> </span><span class="p">[</span>
|
|
391
|
+
</span><span id="__span-0-12"><a href="#__codelineno-0-12" id="__codelineno-0-12" name="__codelineno-0-12"></a><span class="w"> </span><span class="p">{</span>
|
|
392
|
+
</span><span id="__span-0-13"><a href="#__codelineno-0-13" id="__codelineno-0-13" name="__codelineno-0-13"></a><span class="w"> </span><span class="c1">// Source location for EPSG:2193 Imagery</span>
|
|
393
|
+
</span><span id="__span-0-14"><a href="#__codelineno-0-14" id="__codelineno-0-14" name="__codelineno-0-14"></a><span class="w"> </span><span class="nt">"2193"</span><span class="p">:</span><span class="w"> </span><span class="s2">"s3://linz-basemaps/2193/gebco_2020_Nztm2000Quad_305-75m/01F1BFJN8R8P7BXN3XTHC5MT5G"</span><span class="p">,</span>
|
|
394
|
+
</span><span id="__span-0-15"><a href="#__codelineno-0-15" id="__codelineno-0-15" name="__codelineno-0-15"></a><span class="w"> </span><span class="c1">// Source location for EPSG:3857 Imagery</span>
|
|
395
|
+
</span><span id="__span-0-16"><a href="#__codelineno-0-16" id="__codelineno-0-16" name="__codelineno-0-16"></a><span class="w"> </span><span class="nt">"3857"</span><span class="p">:</span><span class="w"> </span><span class="s2">"s3://linz-basemaps/3857/gebco_2020_305-75m/01EDMTM3P563P06TWYQAZRA9F6"</span><span class="p">,</span>
|
|
396
|
+
</span><span id="__span-0-17"><a href="#__codelineno-0-17" id="__codelineno-0-17" name="__codelineno-0-17"></a><span class="w"> </span><span class="c1">// url/slug friendly name of the imagery set</span>
|
|
397
|
+
</span><span id="__span-0-18"><a href="#__codelineno-0-18" id="__codelineno-0-18" name="__codelineno-0-18"></a><span class="w"> </span><span class="nt">"name"</span><span class="p">:</span><span class="w"> </span><span class="s2">"gebco-2020-305.75m"</span><span class="p">,</span>
|
|
398
|
+
</span><span id="__span-0-19"><a href="#__codelineno-0-19" id="__codelineno-0-19" name="__codelineno-0-19"></a><span class="w"> </span><span class="c1">// At what level should the imagery be turned off</span>
|
|
399
|
+
</span><span id="__span-0-20"><a href="#__codelineno-0-20" id="__codelineno-0-20" name="__codelineno-0-20"></a><span class="w"> </span><span class="nt">"maxZoom"</span><span class="p">:</span><span class="w"> </span><span class="mi">15</span><span class="p">,</span>
|
|
400
|
+
</span><span id="__span-0-21"><a href="#__codelineno-0-21" id="__codelineno-0-21" name="__codelineno-0-21"></a><span class="w"> </span><span class="c1">// Human friendly name for the imagery</span>
|
|
401
|
+
</span><span id="__span-0-22"><a href="#__codelineno-0-22" id="__codelineno-0-22" name="__codelineno-0-22"></a><span class="w"> </span><span class="nt">"title"</span><span class="p">:</span><span class="w"> </span><span class="s2">"GEBCO Gridded Bathymetry (2020)"</span><span class="p">,</span>
|
|
402
|
+
</span><span id="__span-0-23"><a href="#__codelineno-0-23" id="__codelineno-0-23" name="__codelineno-0-23"></a><span class="w"> </span><span class="nt">"category"</span><span class="p">:</span><span class="w"> </span><span class="s2">"Bathymetry"</span>
|
|
403
|
+
</span><span id="__span-0-24"><a href="#__codelineno-0-24" id="__codelineno-0-24" name="__codelineno-0-24"></a><span class="w"> </span><span class="p">},</span>
|
|
404
|
+
</span><span id="__span-0-25"><a href="#__codelineno-0-25" id="__codelineno-0-25" name="__codelineno-0-25"></a><span class="w"> </span><span class="err">...</span>
|
|
405
|
+
</span><span id="__span-0-26"><a href="#__codelineno-0-26" id="__codelineno-0-26" name="__codelineno-0-26"></a><span class="w"> </span><span class="p">]</span>
|
|
406
|
+
</span><span id="__span-0-27"><a href="#__codelineno-0-27" id="__codelineno-0-27" name="__codelineno-0-27"></a><span class="p">}</span>
|
|
926
407
|
</span></code></pre></div>
|
|
927
408
|
<p>When this configuration is imported it will list all of the source locations looking for <code>collection.json</code> and <code>*.tiff|*.tif</code> files.</p>
|
|
928
409
|
<h3 id="dynamic-configuration">Dynamic configuration</h3>
|
|
929
410
|
<p>Configuration can be stored as single JSON object in s3 and then passed directly to the basemaps service with <code>?config=s3://linz-basemaps/config/config-latest.json.gz</code> this allows basemaps to preview a configuration before being deployed.</p>
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
|
|
939
|
-
|
|
940
|
-
|
|
941
|
-
|
|
942
|
-
</div>
|
|
943
|
-
|
|
944
|
-
</main>
|
|
945
|
-
|
|
946
|
-
<footer class="md-footer">
|
|
947
|
-
|
|
948
|
-
<div class="md-footer-meta md-typeset">
|
|
949
|
-
<div class="md-footer-meta__inner md-grid">
|
|
950
|
-
<div class="md-copyright">
|
|
951
|
-
|
|
952
|
-
<div class="md-copyright__highlight">
|
|
953
|
-
<a href="https://www.linz.govt.nz/copyright">© CC BY 4.0 LINZ</a>
|
|
954
|
-
</div>
|
|
411
|
+
</article>
|
|
412
|
+
</div>
|
|
413
|
+
</div>
|
|
414
|
+
</main>
|
|
415
|
+
<footer class="md-footer">
|
|
416
|
+
<div class="md-footer-meta md-typeset">
|
|
417
|
+
<div class="md-footer-meta__inner md-grid">
|
|
418
|
+
<div class="md-copyright">
|
|
419
|
+
<div class="md-copyright__highlight">
|
|
420
|
+
<a href="https://www.linz.govt.nz/copyright">© CC BY 4.0 LINZ</a>
|
|
421
|
+
</div>
|
|
955
422
|
|
|
956
423
|
|
|
957
424
|
Made with
|
|
958
|
-
<a href="https://squidfunk.github.io/mkdocs-material/"
|
|
425
|
+
<a href="https://squidfunk.github.io/mkdocs-material/" rel="noopener" target="_blank">
|
|
959
426
|
Material for MkDocs
|
|
960
427
|
</a>
|
|
961
|
-
|
|
962
428
|
</div>
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
</div>
|
|
429
|
+
</div>
|
|
430
|
+
</div>
|
|
966
431
|
</footer>
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
432
|
+
</div>
|
|
433
|
+
<div class="md-dialog" data-md-component="dialog">
|
|
434
|
+
<div class="md-dialog__inner md-typeset"></div>
|
|
435
|
+
</div>
|
|
436
|
+
<script id="__config" type="application/json">{"base": "..", "features": ["navigation.indexes", "content.code.copy"], "search": "../assets/javascripts/workers/search.f886a092.min.js", "translations": {"clipboard.copied": "Copied to clipboard", "clipboard.copy": "Copy to clipboard", "search.result.more.one": "1 more on this page", "search.result.more.other": "# more on this page", "search.result.none": "No matching documents", "search.result.one": "1 matching document", "search.result.other": "# matching documents", "search.result.placeholder": "Type to start searching", "search.result.term.missing": "Missing", "select.version": "Select version"}}</script>
|
|
437
|
+
<script src="../assets/javascripts/bundle.6c14ae12.min.js"></script>
|
|
438
|
+
<script>document$.subscribe(() => {
|
|
439
|
+
window.update_swagger_ui_iframe_height = function (id) {
|
|
440
|
+
var iFrameID = document.getElementById(id);
|
|
441
|
+
if (iFrameID) {
|
|
442
|
+
full_height = (iFrameID.contentWindow.document.body.scrollHeight + 80) + "px";
|
|
443
|
+
iFrameID.height = full_height;
|
|
444
|
+
iFrameID.style.height = full_height;
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
let iframe_id_list = []
|
|
449
|
+
var iframes = document.getElementsByClassName("swagger-ui-iframe");
|
|
450
|
+
for (var i = 0; i < iframes.length; i++) {
|
|
451
|
+
iframe_id_list.push(iframes[i].getAttribute("id"))
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
let ticking = true;
|
|
455
|
+
|
|
456
|
+
document.addEventListener('scroll', function(e) {
|
|
457
|
+
if (!ticking) {
|
|
458
|
+
window.requestAnimationFrame(()=> {
|
|
459
|
+
let half_vh = window.innerHeight/2;
|
|
460
|
+
for(var i = 0; i < iframe_id_list.length; i++) {
|
|
461
|
+
let element = document.getElementById(iframe_id_list[i])
|
|
462
|
+
if(element==null){
|
|
463
|
+
return
|
|
464
|
+
}
|
|
465
|
+
let diff = element.getBoundingClientRect().top
|
|
466
|
+
if(element.contentWindow.update_top_val){
|
|
467
|
+
element.contentWindow.update_top_val(half_vh - diff)
|
|
468
|
+
}
|
|
469
|
+
}
|
|
470
|
+
ticking = false;
|
|
471
|
+
});
|
|
472
|
+
ticking = true;
|
|
473
|
+
}
|
|
474
|
+
});
|
|
475
|
+
|
|
476
|
+
const dark_scheme_name = "slate"
|
|
477
|
+
|
|
478
|
+
window.scheme = document.body.getAttribute("data-md-color-scheme")
|
|
479
|
+
const options = {
|
|
480
|
+
attributeFilter: ['data-md-color-scheme'],
|
|
481
|
+
};
|
|
482
|
+
function color_scheme_callback(mutations) {
|
|
483
|
+
for (let mutation of mutations) {
|
|
484
|
+
if (mutation.attributeName === "data-md-color-scheme") {
|
|
485
|
+
scheme = document.body.getAttribute("data-md-color-scheme")
|
|
486
|
+
var iframe_list = document.getElementsByClassName("swagger-ui-iframe")
|
|
487
|
+
for(var i = 0; i < iframe_list.length; i++) {
|
|
488
|
+
var ele = iframe_list.item(i);
|
|
489
|
+
if (ele) {
|
|
490
|
+
if (scheme === dark_scheme_name) {
|
|
491
|
+
ele.contentWindow.enable_dark_mode();
|
|
492
|
+
} else {
|
|
493
|
+
ele.contentWindow.disable_dark_mode();
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
}
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
}
|
|
500
|
+
observer = new MutationObserver(color_scheme_callback);
|
|
501
|
+
observer.observe(document.body, options);
|
|
502
|
+
})</script></body>
|
|
981
503
|
</html>
|