@basemaps/landing 8.3.0 → 8.5.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.
- package/build/tsconfig.tsbuildinfo +1 -1
- package/dist/docs/404.html +189 -16
- package/dist/docs/assets/javascripts/swagger-ui-bundle.js +1 -1
- package/dist/docs/assets/javascripts/swagger-ui-standalone-preset.js +1 -1
- package/dist/docs/assets/stylesheets/swagger-ui.css +1 -1
- package/dist/docs/assets/stylesheets/swagger-ui.css.map +1 -1
- package/dist/docs/configuration/index.html +1579 -533
- package/dist/docs/deployment/index.html +1536 -493
- package/dist/docs/developer-guide/cli-methods/bundle-the-basemaps-assets-archive/index.html +1678 -595
- package/dist/docs/developer-guide/cli-methods/bundle-the-basemaps-config-file/index.html +1628 -553
- package/dist/docs/developer-guide/index.html +1487 -469
- package/dist/docs/developer-guide/run-basemaps-locally/index.html +1624 -554
- package/dist/docs/developer-guide/server-methods/serve-basemaps-with-bundled-config-file/index.html +1609 -546
- package/dist/docs/developer-guide/server-methods/serve-basemaps-with-collection-of-geotiff-files/index.html +1578 -519
- package/dist/docs/examples/_overview/index.html +1490 -465
- package/dist/docs/examples/leaflet.xyz.3857/index.html +1526 -502
- package/dist/docs/examples/maplibre.opacity.3857/index.html +1703 -679
- package/dist/docs/examples/maplibre.vector.3857/index.html +1533 -509
- package/dist/docs/index.html +1654 -568
- package/dist/docs/operator-guide/cog-quality/index.html +1668 -587
- package/dist/docs/operator-guide/empty-tiles/index.html +1529 -484
- package/dist/docs/operator-guide/gebco/index.html +1554 -509
- package/dist/docs/operator-guide/index.html +1475 -461
- package/dist/docs/operator-guide/quick-start/index.html +1638 -577
- package/dist/docs/operator-guide/relief-shade/index.html +1558 -509
- package/dist/docs/operator-guide/texture-shade/index.html +1611 -566
- package/dist/docs/operator-guide/xyz-projection/index.html +1590 -529
- package/dist/docs/quick-start/index.html +1482 -461
- package/dist/docs/sitemap.xml +42 -30
- package/dist/docs/sitemap.xml.gz +0 -0
- package/dist/docs/user-guide/_get-started/index.html +1612 -539
- package/dist/docs/user-guide/api-documentation/index.html +81 -18
- package/dist/docs/user-guide/api-documentation/{swagger-be89a08e.html → swagger-3b2ee5d5.html} +4 -4
- package/dist/docs/user-guide/how-to-use-and-customize-vector-tiles/_How-to-use-vector-tiles/index.html +1779 -0
- package/dist/docs/user-guide/how-to-use-and-customize-vector-tiles/_How-to-use-vector-tiles/index.maplibre.vector.3857.html +22 -0
- package/dist/docs/user-guide/how-to-use-and-customize-vector-tiles/how-to-customize-vector-tiles/index.html +1960 -0
- package/dist/docs/user-guide/how-to-use-and-customize-vector-tiles/how-to-customize-vector-tiles/index.maplibre.vector.3857.html +80 -0
- package/dist/docs/user-guide/how-to-use-and-customize-vector-tiles/how-to-customize-vector-tiles/static/add-filter.webp +0 -0
- package/dist/docs/user-guide/how-to-use-and-customize-vector-tiles/how-to-customize-vector-tiles/static/contours.webp +0 -0
- package/dist/docs/user-guide/how-to-use-and-customize-vector-tiles/how-to-customize-vector-tiles/static/modify-paint.webp +0 -0
- package/dist/docs/user-guide/how-to-use-and-customize-vector-tiles/index.html +1640 -0
- package/dist/docs/user-guide/technical-documentation/index.html +1811 -670
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-emergency-imagery-to-arcgis/index.html +1481 -463
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/index.html +1485 -467
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/index.html +1486 -468
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-basemaps-to-arcgis-online-basemaps/index.html +1478 -461
- package/dist/docs/user-guide/use-in-esri-software/index.html +1477 -461
- package/dist/examples/index.openlayers.attribution.wmts.3857.html +1 -1
- package/dist/{index-8.3.0-5f827c1e303a8185.js → index-8.5.0-3c37c4e66b36a792.js} +2 -2
- package/dist/index.html +2 -2
- package/dist/index.js +2 -2
- package/package.json +5 -5
- package/dist/docs/assets/javascripts/swagger-initializer.js +0 -20
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle-core.js +0 -3
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle-core.js.map +0 -1
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle.js +0 -3
- package/dist/docs/assets/javascripts/swagger-ui-es-bundle.js.map +0 -1
- package/dist/docs/assets/stylesheets/swagger-ui.js +0 -2
- package/dist/docs/assets/stylesheets/swagger-ui.js.map +0 -1
- /package/dist/{index-8.3.0-c5e57c4593cca04a.css → index-8.5.0-c5e57c4593cca04a.css} +0 -0
- /package/dist/lib/{attribution-8.3.0-7e26e43200746f3c.js → attribution-8.5.0-7e26e43200746f3c.js} +0 -0
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<script src="https://unpkg.com/maplibre-gl@4.5.0/dist/maplibre-gl.js"></script>
|
|
5
|
+
<link href="https://unpkg.com/maplibre-gl@4.5.0/dist/maplibre-gl.css" rel="stylesheet" />
|
|
6
|
+
<style>
|
|
7
|
+
body {
|
|
8
|
+
margin: 0;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
#map {
|
|
12
|
+
height: 100vh;
|
|
13
|
+
width: 100vw;
|
|
14
|
+
}
|
|
15
|
+
</style>
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
<body>
|
|
19
|
+
<div id="map"></div>
|
|
20
|
+
<script>
|
|
21
|
+
const map = new maplibregl.Map({
|
|
22
|
+
container: 'map',
|
|
23
|
+
|
|
24
|
+
style: {
|
|
25
|
+
version: 8,
|
|
26
|
+
sources: {
|
|
27
|
+
'LINZ Basemaps': {
|
|
28
|
+
attribution: '© 2022 Toitū Te Whenua - CC BY 4.0',
|
|
29
|
+
type: 'vector',
|
|
30
|
+
tiles: [
|
|
31
|
+
'https://basemaps.linz.govt.nz/v1/tiles/topographic-v2/WebMercatorQuad/{z}/{x}/{y}.pbf?api=c01jwykec5weqkbr50vc30xwzgs',
|
|
32
|
+
],
|
|
33
|
+
tilejson: '3.0.0',
|
|
34
|
+
maxzoom: 15,
|
|
35
|
+
},
|
|
36
|
+
},
|
|
37
|
+
layers: [
|
|
38
|
+
{
|
|
39
|
+
id: 'background',
|
|
40
|
+
type: 'background',
|
|
41
|
+
paint: {
|
|
42
|
+
'background-color': '#87CEEB', // Sky blue for ocean
|
|
43
|
+
},
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
id: 'coastline',
|
|
47
|
+
paint: {
|
|
48
|
+
'fill-color': '#f5f5dc', // Beige for land
|
|
49
|
+
},
|
|
50
|
+
source: 'LINZ Basemaps',
|
|
51
|
+
'source-layer': 'boundaries',
|
|
52
|
+
type: 'fill',
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: 'roads',
|
|
56
|
+
type: 'line',
|
|
57
|
+
source: 'LINZ Basemaps',
|
|
58
|
+
'source-layer': 'streets',
|
|
59
|
+
filter: ['all', ['==', 'kind', 'motorway']],
|
|
60
|
+
paint: {
|
|
61
|
+
'line-color': '#e89218',
|
|
62
|
+
'line-width': {
|
|
63
|
+
base: 1.4,
|
|
64
|
+
stops: [
|
|
65
|
+
[8, 2],
|
|
66
|
+
[12, 4],
|
|
67
|
+
[16, 8],
|
|
68
|
+
[20, 16],
|
|
69
|
+
],
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
},
|
|
73
|
+
],
|
|
74
|
+
center: [174.7633, -36.8485],
|
|
75
|
+
zoom: 10,
|
|
76
|
+
},
|
|
77
|
+
});
|
|
78
|
+
</script>
|
|
79
|
+
</body>
|
|
80
|
+
</html>
|
|
Binary file
|
|
Binary file
|