@basemaps/landing 7.0.0 → 7.1.0

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.
Files changed (142) hide show
  1. package/README.md +2 -2
  2. package/build/__tests__/config.debug.test.d.ts +0 -1
  3. package/build/__tests__/config.debug.test.js +11 -10
  4. package/build/__tests__/config.debug.test.js.map +1 -1
  5. package/build/__tests__/config.test.d.ts +0 -1
  6. package/build/__tests__/config.test.js +5 -4
  7. package/build/__tests__/config.test.js.map +1 -1
  8. package/build/__tests__/geojson.test.d.ts +0 -1
  9. package/build/__tests__/geojson.test.js +6 -5
  10. package/build/__tests__/geojson.test.js.map +1 -1
  11. package/build/__tests__/map.config.test.d.ts +0 -1
  12. package/build/__tests__/map.config.test.js +66 -65
  13. package/build/__tests__/map.config.test.js.map +1 -1
  14. package/build/__tests__/tile.matrix.test.d.ts +0 -1
  15. package/build/__tests__/tile.matrix.test.js +11 -10
  16. package/build/__tests__/tile.matrix.test.js.map +1 -1
  17. package/build/attribution.d.ts +8 -11
  18. package/build/attribution.js +145 -66
  19. package/build/attribution.js.map +1 -1
  20. package/build/components/copyable.d.ts +1 -2
  21. package/build/components/copyable.js +27 -18
  22. package/build/components/copyable.js.map +1 -1
  23. package/build/components/daterange.d.ts +0 -1
  24. package/build/components/daterange.js +11 -7
  25. package/build/components/daterange.js.map +1 -1
  26. package/build/components/debug.d.ts +13 -2
  27. package/build/components/debug.js +273 -78
  28. package/build/components/debug.js.map +1 -1
  29. package/build/components/layer.switcher.dropdown.d.ts +1 -2
  30. package/build/components/layer.switcher.dropdown.js +43 -29
  31. package/build/components/layer.switcher.dropdown.js.map +1 -1
  32. package/build/components/layout.footer.d.ts +0 -1
  33. package/build/components/layout.footer.js +7 -2
  34. package/build/components/layout.footer.js.map +1 -1
  35. package/build/components/layout.header.d.ts +1 -2
  36. package/build/components/layout.header.js +44 -23
  37. package/build/components/layout.header.js.map +1 -1
  38. package/build/components/link.d.ts +0 -1
  39. package/build/components/link.js +1 -1
  40. package/build/components/link.js.map +1 -1
  41. package/build/components/map.d.ts +14 -4
  42. package/build/components/map.js +221 -84
  43. package/build/components/map.js.map +1 -1
  44. package/build/components/map.switcher.d.ts +1 -2
  45. package/build/components/map.switcher.js +80 -31
  46. package/build/components/map.switcher.js.map +1 -1
  47. package/build/config.d.ts +0 -1
  48. package/build/config.debug.d.ts +6 -1
  49. package/build/config.debug.js +6 -0
  50. package/build/config.debug.js.map +1 -1
  51. package/build/config.js +4 -8
  52. package/build/config.js.map +1 -1
  53. package/build/config.layer.d.ts +31 -2
  54. package/build/config.layer.js +14 -6
  55. package/build/config.layer.js.map +1 -1
  56. package/build/config.map.d.ts +6 -6
  57. package/build/config.map.js +95 -29
  58. package/build/config.map.js.map +1 -1
  59. package/build/debug.map.d.ts +2 -3
  60. package/build/debug.map.js +57 -23
  61. package/build/debug.map.js.map +1 -1
  62. package/build/global.d.ts +3 -3
  63. package/build/index.d.ts +0 -1
  64. package/build/index.js.map +1 -1
  65. package/build/tile.matrix.d.ts +0 -1
  66. package/build/tile.matrix.js +12 -0
  67. package/build/tile.matrix.js.map +1 -1
  68. package/build/url.d.ts +4 -1
  69. package/build/url.js +10 -8
  70. package/build/url.js.map +1 -1
  71. package/build/webp.d.ts +0 -1
  72. package/build/webp.js.map +1 -1
  73. package/dist/docs/404.html +88 -63
  74. package/dist/docs/assets/javascripts/{bundle.cd18aaf1.min.js → bundle.6c14ae12.min.js} +6 -6
  75. package/dist/docs/assets/javascripts/{bundle.cd18aaf1.min.js.map → bundle.6c14ae12.min.js.map} +3 -3
  76. package/dist/docs/assets/javascripts/swagger-initializer.js +20 -0
  77. package/dist/docs/assets/javascripts/swagger-ui-bundle.js +3 -0
  78. package/dist/docs/assets/javascripts/swagger-ui-bundle.js.map +1 -0
  79. package/dist/docs/assets/javascripts/swagger-ui-es-bundle-core.js +3 -0
  80. package/dist/docs/assets/javascripts/swagger-ui-es-bundle-core.js.map +1 -0
  81. package/dist/docs/assets/javascripts/swagger-ui-es-bundle.js +3 -0
  82. package/dist/docs/assets/javascripts/swagger-ui-es-bundle.js.map +1 -0
  83. package/dist/docs/assets/javascripts/swagger-ui-standalone-preset.js +3 -0
  84. package/dist/docs/assets/javascripts/swagger-ui-standalone-preset.js.map +1 -0
  85. package/dist/docs/assets/stylesheets/swagger-ui-dark.css +833 -0
  86. package/dist/docs/assets/stylesheets/swagger-ui.css +3 -0
  87. package/dist/docs/assets/stylesheets/swagger-ui.css.map +1 -0
  88. package/dist/docs/assets/stylesheets/swagger-ui.js +2 -0
  89. package/dist/docs/assets/stylesheets/swagger-ui.js.map +1 -0
  90. package/dist/docs/assets/swagger-ui/oauth2-redirect.html +79 -0
  91. package/dist/docs/configuration/index.html +397 -875
  92. package/dist/docs/deployment/index.html +354 -829
  93. package/dist/docs/developer-guide/index.html +343 -793
  94. package/dist/docs/examples/_overview/index.html +335 -792
  95. package/dist/docs/examples/leaflet.xyz.3857/index.html +371 -827
  96. package/dist/docs/examples/maplibre.opacity.3857/index.html +548 -1004
  97. package/dist/docs/examples/maplibre.vector.3857/index.html +378 -834
  98. package/dist/docs/index.html +442 -960
  99. package/dist/docs/operator-guide/cog-quality/index.html +455 -968
  100. package/dist/docs/operator-guide/empty-tiles/index.html +354 -831
  101. package/dist/docs/operator-guide/gebco/index.html +479 -0
  102. package/dist/docs/operator-guide/index.html +331 -777
  103. package/dist/docs/operator-guide/quick-start/index.html +445 -938
  104. package/dist/docs/operator-guide/relief-shade/index.html +377 -858
  105. package/dist/docs/operator-guide/texture-shade/index.html +438 -915
  106. package/dist/docs/quick-start/index.html +332 -785
  107. package/dist/docs/sitemap.xml +32 -17
  108. package/dist/docs/sitemap.xml.gz +0 -0
  109. package/dist/docs/user-guide/_get-started/index.html +602 -0
  110. package/dist/docs/user-guide/api-documentation/index.html +409 -0
  111. package/dist/docs/user-guide/api-documentation/swagger-c1884237.html +120 -0
  112. package/dist/docs/user-guide/swagger-api.json +393 -0
  113. package/dist/docs/user-guide/technical-documentation/index.html +930 -0
  114. package/package.json +17 -17
  115. package/CHANGELOG.md +0 -1393
  116. package/build/__tests__/config.debug.test.d.ts.map +0 -1
  117. package/build/__tests__/config.test.d.ts.map +0 -1
  118. package/build/__tests__/geojson.test.d.ts.map +0 -1
  119. package/build/__tests__/map.config.test.d.ts.map +0 -1
  120. package/build/__tests__/tile.matrix.test.d.ts.map +0 -1
  121. package/build/attribution.d.ts.map +0 -1
  122. package/build/components/copyable.d.ts.map +0 -1
  123. package/build/components/daterange.d.ts.map +0 -1
  124. package/build/components/debug.d.ts.map +0 -1
  125. package/build/components/layer.switcher.dropdown.d.ts.map +0 -1
  126. package/build/components/layout.footer.d.ts.map +0 -1
  127. package/build/components/layout.header.d.ts.map +0 -1
  128. package/build/components/link.d.ts.map +0 -1
  129. package/build/components/map.d.ts.map +0 -1
  130. package/build/components/map.switcher.d.ts.map +0 -1
  131. package/build/config.d.ts.map +0 -1
  132. package/build/config.debug.d.ts.map +0 -1
  133. package/build/config.layer.d.ts.map +0 -1
  134. package/build/config.map.d.ts.map +0 -1
  135. package/build/debug.map.d.ts.map +0 -1
  136. package/build/global.d.ts.map +0 -1
  137. package/build/index.d.ts.map +0 -1
  138. package/build/tile.matrix.d.ts.map +0 -1
  139. package/build/url.d.ts.map +0 -1
  140. package/build/webp.d.ts.map +0 -1
  141. package/dist/docs/search/search_index.json +0 -1
  142. package/dist/docs/user-guide/index.html +0 -856
@@ -0,0 +1,393 @@
1
+ {
2
+ "openapi": "3.0.3",
3
+ "servers": [
4
+ {
5
+ "url": "https://basemaps.linz.govt.nz/v1"
6
+ }
7
+ ],
8
+ "tags": [
9
+ {
10
+ "name": "WMTS",
11
+ "description": "LINZ Basemaps supports WMTS version 1.0.0. While best suited for use in GIS apps, WMTS can also be deployed in Javascript clients."
12
+ },
13
+ {
14
+ "name": "XYZ",
15
+ "description": "LINZ Basemaps supports XYZ style requests, for integration of our APIs in mapping clients such as Leaflet and OpenLayers. Some of the latest versions of GIS apps also now support XYZ map tiles services."
16
+ },
17
+ {
18
+ "name": "Vector",
19
+ "description": "LINZ Basemaps supports StyleJSON version v8 for integration of our vector-based Topographic Basemap into GIS Applications (QGIS) and JavaScript clients."
20
+ }
21
+ ],
22
+ "paths": {
23
+ "/tiles/WMTSCapabilities.xml": {
24
+ "get": {
25
+ "tags": ["WMTS"],
26
+ "summary": "Get default WMTS",
27
+ "operationId": "get_wmts",
28
+ "parameters": [
29
+ {
30
+ "name": "api",
31
+ "in": "query",
32
+ "description": "LINZ Basemaps api key",
33
+ "required": true,
34
+ "schema": {
35
+ "type": "string"
36
+ },
37
+ "example": "d01hep5551e30kxb7w85hck49tp"
38
+ }
39
+ ],
40
+ "responses": {
41
+ "200": {
42
+ "description": "successful operation"
43
+ },
44
+ "400": {
45
+ "description": "Invalid API Key supplied"
46
+ },
47
+ "5XX": {
48
+ "description": "Unexpected error"
49
+ }
50
+ }
51
+ }
52
+ },
53
+ "/tiles/{tileSet}/WMTSCapabilities.xml": {
54
+ "get": {
55
+ "tags": ["WMTS"],
56
+ "summary": "Get WMTS by the imagery tile set",
57
+ "operationId": "get_wmts_by_tileset",
58
+ "parameters": [
59
+ {
60
+ "name": "tileSet",
61
+ "in": "path",
62
+ "description": "Raster Imagery tile set",
63
+ "required": true,
64
+ "schema": {
65
+ "type": "string"
66
+ },
67
+ "example": "aerial"
68
+ },
69
+ {
70
+ "name": "api",
71
+ "in": "query",
72
+ "description": "LINZ Basemaps api key",
73
+ "required": true,
74
+ "schema": {
75
+ "type": "string"
76
+ },
77
+ "example": "d01hep5551e30kxb7w85hck49tp"
78
+ }
79
+ ],
80
+ "responses": {
81
+ "200": {
82
+ "description": "successful operation"
83
+ },
84
+ "400": {
85
+ "description": "Invalid API Key supplied"
86
+ },
87
+ "404": {
88
+ "description": "tileSet not found"
89
+ },
90
+ "5XX": {
91
+ "description": "Unexpected error"
92
+ }
93
+ }
94
+ }
95
+ },
96
+ "/tiles/{tileSet}/{tileMatrix}/WMTSCapabilities.xml": {
97
+ "get": {
98
+ "tags": ["WMTS"],
99
+ "summary": "Get WMTS by the imagery tile set and tile matrix",
100
+ "operationId": "get_wmts_by_tileset_tilematrix",
101
+ "parameters": [
102
+ {
103
+ "name": "tileSet",
104
+ "in": "path",
105
+ "description": "Raster Imagery tile set",
106
+ "required": true,
107
+ "schema": {
108
+ "type": "string"
109
+ },
110
+ "example": "aerial"
111
+ },
112
+ {
113
+ "name": "api",
114
+ "in": "query",
115
+ "description": "LINZ Basemaps api key",
116
+ "required": true,
117
+ "schema": {
118
+ "type": "string"
119
+ },
120
+ "example": "d01hep5551e30kxb7w85hck49tp"
121
+ },
122
+ {
123
+ "name": "tileMatrix",
124
+ "in": "path",
125
+ "description": "Supported Raster Tiling schemes",
126
+ "required": true,
127
+ "schema": {
128
+ "type": "string",
129
+ "enum": ["WebMercatorQuad", "NZTM2000QUAD"]
130
+ }
131
+ }
132
+ ],
133
+ "responses": {
134
+ "200": {
135
+ "description": "successful operation"
136
+ },
137
+ "400": {
138
+ "description": "Invalid API Key supplied"
139
+ },
140
+ "404": {
141
+ "description": "tileSet or tileMatrix not found"
142
+ },
143
+ "5XX": {
144
+ "description": "Unexpected error"
145
+ }
146
+ }
147
+ }
148
+ },
149
+ "/tiles/{tileSet}/{tileMatrix}/{z}/{x}/{y}.{tileType}": {
150
+ "get": {
151
+ "tags": ["XYZ"],
152
+ "summary": "Get WMTS by the imagery tile set",
153
+ "operationId": "get_image_by_xyz",
154
+ "parameters": [
155
+ {
156
+ "name": "tileSet",
157
+ "in": "path",
158
+ "description": "Raster Imagery tile set",
159
+ "required": true,
160
+ "schema": {
161
+ "type": "string"
162
+ },
163
+ "example": "aerial"
164
+ },
165
+ {
166
+ "name": "api",
167
+ "in": "query",
168
+ "description": "LINZ Basemaps api key",
169
+ "required": true,
170
+ "schema": {
171
+ "type": "string"
172
+ },
173
+ "example": "d01hep5551e30kxb7w85hck49tp"
174
+ },
175
+ {
176
+ "name": "tileMatrix",
177
+ "in": "path",
178
+ "description": "Supported Raster Tiling schemes",
179
+ "required": true,
180
+ "schema": {
181
+ "type": "string",
182
+ "enum": ["WebMercatorQuad", "NZTM2000QUAD"]
183
+ }
184
+ },
185
+ {
186
+ "in": "path",
187
+ "name": "tileType",
188
+ "description": "Image Format",
189
+ "schema": {
190
+ "type": "string",
191
+ "enum": ["webp", "png", "jpeg", "avif"]
192
+ },
193
+ "required": true
194
+ },
195
+ {
196
+ "in": "path",
197
+ "name": "x",
198
+ "description": "horizontal location offset of the tile",
199
+ "schema": {
200
+ "type": "integer"
201
+ },
202
+ "required": true,
203
+ "example": 64586
204
+ },
205
+ {
206
+ "in": "path",
207
+ "name": "y",
208
+ "description": "vertical location offset of the tile",
209
+ "schema": {
210
+ "type": "integer"
211
+ },
212
+ "required": true,
213
+ "example": 41036
214
+ },
215
+ {
216
+ "in": "path",
217
+ "name": "z",
218
+ "description": "zoom level of the tile",
219
+ "schema": {
220
+ "type": "integer"
221
+ },
222
+ "required": true,
223
+ "example": 16
224
+ }
225
+ ],
226
+ "responses": {
227
+ "200": {
228
+ "description": "successful operation"
229
+ },
230
+ "400": {
231
+ "description": "Invalid API Key supplied"
232
+ },
233
+ "404": {
234
+ "description": "tileSet, tileMatrixnot, xyz or tileType not found"
235
+ },
236
+ "5XX": {
237
+ "description": "Unexpected error"
238
+ }
239
+ }
240
+ }
241
+ },
242
+ "/tiles/{tileSet}/{tileMatrix}/tile.json": {
243
+ "get": {
244
+ "tags": ["Vector"],
245
+ "summary": "Get vector tile json by the tileset and tileMatrix",
246
+ "operationId": "get_tile_json",
247
+ "parameters": [
248
+ {
249
+ "name": "api",
250
+ "in": "query",
251
+ "description": "LINZ Basemaps api key",
252
+ "required": true,
253
+ "schema": {
254
+ "type": "string"
255
+ },
256
+ "example": "d01hep5551e30kxb7w85hck49tp"
257
+ },
258
+ {
259
+ "name": "tileSet",
260
+ "in": "path",
261
+ "description": "Vector Imagery tile set",
262
+ "required": true,
263
+ "schema": {
264
+ "type": "string"
265
+ },
266
+ "example": "topographic"
267
+ },
268
+ {
269
+ "name": "tileMatrix",
270
+ "in": "path",
271
+ "description": "Supported Raster Tiling schemes",
272
+ "required": true,
273
+ "schema": {
274
+ "type": "string",
275
+ "enum": ["WebMercatorQuad", "NZTM2000QUAD"]
276
+ }
277
+ }
278
+ ],
279
+ "responses": {
280
+ "200": {
281
+ "description": "successful operation"
282
+ },
283
+ "400": {
284
+ "description": "Invalid API Key supplied"
285
+ },
286
+ "404": {
287
+ "description": "tileSet or tileMatrix not found"
288
+ },
289
+ "5XX": {
290
+ "description": "Unexpected error"
291
+ }
292
+ }
293
+ }
294
+ },
295
+ "/styles/{styleName}.json": {
296
+ "get": {
297
+ "tags": ["Vector"],
298
+ "summary": "Get vector map style json by the style name",
299
+ "operationId": "get_style_json",
300
+ "parameters": [
301
+ {
302
+ "name": "api",
303
+ "in": "query",
304
+ "description": "LINZ Basemaps api key",
305
+ "required": true,
306
+ "schema": {
307
+ "type": "string"
308
+ },
309
+ "example": "d01hep5551e30kxb7w85hck49tp"
310
+ },
311
+ {
312
+ "in": "path",
313
+ "name": "styleName",
314
+ "description": "Style Name",
315
+ "schema": {
316
+ "type": "string",
317
+ "example": "topographic"
318
+ },
319
+ "required": true
320
+ }
321
+ ],
322
+ "responses": {
323
+ "200": {
324
+ "description": "successful operation"
325
+ },
326
+ "400": {
327
+ "description": "Invalid API Key supplied"
328
+ },
329
+ "404": {
330
+ "description": "tileSet or tileMatrix not found"
331
+ },
332
+ "5XX": {
333
+ "description": "Unexpected error"
334
+ }
335
+ }
336
+ }
337
+ }
338
+ },
339
+ "components": {
340
+ "parameters": {
341
+ "api": {
342
+ "name": "api",
343
+ "in": "query",
344
+ "description": "LINZ Basemaps api key",
345
+ "required": true,
346
+ "schema": {
347
+ "type": "string"
348
+ },
349
+ "example": "d01hep5551e30kxb7w85hck49tp"
350
+ },
351
+ "tileSetRaster": {
352
+ "name": "tileSet",
353
+ "in": "path",
354
+ "description": "Raster Imagery tile set",
355
+ "required": true,
356
+ "schema": {
357
+ "type": "string"
358
+ },
359
+ "example": "aerial"
360
+ },
361
+ "tileMatrixRaster": {
362
+ "name": "tileMatrix",
363
+ "in": "path",
364
+ "description": "Supported Raster Tiling schemes",
365
+ "required": true,
366
+ "schema": {
367
+ "type": "string",
368
+ "enum": ["WebMercatorQuad", "NZTM2000QUAD"]
369
+ }
370
+ },
371
+ "tileSetVector": {
372
+ "name": "tileSet",
373
+ "in": "path",
374
+ "description": "Vector Imagery tile set",
375
+ "required": true,
376
+ "schema": {
377
+ "type": "string"
378
+ },
379
+ "example": "topographic"
380
+ },
381
+ "tileMatrixVecotor": {
382
+ "name": "tileMatrix",
383
+ "in": "path",
384
+ "description": "Supported Vector Tiling schemes",
385
+ "required": true,
386
+ "schema": {
387
+ "type": "string",
388
+ "enum": ["WebMercatorQuad"]
389
+ }
390
+ }
391
+ }
392
+ }
393
+ }