@basemaps/landing 7.14.0 → 7.15.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/build/__tests__/map.config.test.js +23 -0
- package/build/__tests__/map.config.test.js.map +1 -1
- package/build/components/map.label.js +9 -1
- package/build/components/map.label.js.map +1 -1
- package/dist/docs/404.html +285 -0
- package/dist/docs/configuration/index.html +93 -0
- package/dist/docs/deployment/index.html +93 -0
- package/dist/docs/developer-guide/cli-methods/bundle-the-basemaps-assets-archive/index.html +93 -0
- package/dist/docs/developer-guide/cli-methods/bundle-the-basemaps-config-file/index.html +93 -0
- package/dist/docs/developer-guide/index.html +93 -0
- package/dist/docs/developer-guide/run-basemaps-locally/index.html +93 -0
- package/dist/docs/developer-guide/server-methods/serve-basemaps-with-bundled-config-file/index.html +97 -4
- package/dist/docs/developer-guide/server-methods/serve-basemaps-with-collection-of-geotiff-files/index.html +93 -0
- package/dist/docs/examples/_overview/index.html +93 -0
- package/dist/docs/examples/leaflet.xyz.3857/index.html +93 -0
- package/dist/docs/examples/maplibre.opacity.3857/index.html +93 -0
- package/dist/docs/examples/maplibre.vector.3857/index.html +93 -0
- package/dist/docs/index.html +93 -0
- package/dist/docs/operator-guide/cog-quality/index.html +93 -0
- package/dist/docs/operator-guide/empty-tiles/index.html +96 -6
- package/dist/docs/operator-guide/gebco/index.html +93 -0
- package/dist/docs/operator-guide/index.html +93 -0
- package/dist/docs/operator-guide/quick-start/index.html +93 -0
- package/dist/docs/operator-guide/relief-shade/index.html +93 -0
- package/dist/docs/operator-guide/texture-shade/index.html +93 -0
- package/dist/docs/operator-guide/xyz-projection/index.html +93 -0
- package/dist/docs/quick-start/index.html +93 -0
- package/dist/docs/sitemap.xml +45 -25
- package/dist/docs/sitemap.xml.gz +0 -0
- package/dist/docs/user-guide/_get-started/index.html +93 -0
- package/dist/docs/user-guide/api-documentation/index.html +93 -0
- package/dist/docs/user-guide/technical-documentation/index.html +94 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-emergency-imagery-to-arcgis/index.html +587 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-emergency-imagery-to-arcgis/static/emergency-response-group.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/index.html +635 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/basemaps-menu-button.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/copy-url-apikey.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/custom-parameters.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/layer-search.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/layer-selector.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-individual-linz-basemaps-layers-to-arcgis/static/move-apikey-info.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/index.html +610 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-1-agol-map-viewer.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-2-layers-panel.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-3-browse-layers-option.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-4-agol-option.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-5-search-box.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-aerial-imagery-basemaps-to-arcgis-online/static/step-6-desired-layer-on-map.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-basemaps-to-arcgis-online-basemaps/index.html +595 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-basemaps-to-arcgis-online-basemaps/static/LINZ-basemaps-group.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/how-to-add-linz-basemaps-to-arcgis-online-basemaps/static/basemaps-in-esri-chooser.png +0 -0
- package/dist/docs/user-guide/use-in-esri-software/index.html +586 -0
- package/dist/examples/index.openlayers.attribution.wmts.3857.html +1 -1
- package/dist/{index-7.14.0-d9cb691a42440ef4.js → index-7.15.1-32175f157bbe5191.js} +217 -15
- package/dist/index.html +2 -2
- package/dist/index.js +217 -15
- package/dist/lib/{attribution-7.14.0-6b67bd96f9957d4a.js → attribution-7.15.1-ec5888ef78974d9c.js} +206 -12
- package/dist/lib/attribution.js +206 -12
- package/package.json +7 -7
- /package/dist/{index-7.14.0-c5e57c4593cca04a.css → index-7.15.1-c5e57c4593cca04a.css} +0 -0
|
@@ -55851,16 +55851,11 @@ var CHAR_2 = "2".charCodeAt(0);
|
|
|
55851
55851
|
var CHAR_3 = "3".charCodeAt(0);
|
|
55852
55852
|
|
|
55853
55853
|
// ../geo/build/xy.order.js
|
|
55854
|
-
var XyOrder;
|
|
55855
|
-
(function(XyOrder2) {
|
|
55856
|
-
XyOrder2[XyOrder2["Xy"] = 0] = "Xy";
|
|
55857
|
-
XyOrder2[XyOrder2["Yx"] = 1] = "Yx";
|
|
55858
|
-
})(XyOrder || (XyOrder = {}));
|
|
55859
55854
|
function getXyOrder(epsg) {
|
|
55860
|
-
|
|
55861
|
-
|
|
55862
|
-
|
|
55863
|
-
return
|
|
55855
|
+
const code = typeof epsg === "number" ? epsg : epsg.code;
|
|
55856
|
+
if (code === EpsgCode.Nztm2000 || code === EpsgCode.Citm2000)
|
|
55857
|
+
return "yx";
|
|
55858
|
+
return "xy";
|
|
55864
55859
|
}
|
|
55865
55860
|
|
|
55866
55861
|
// ../geo/build/tile.matrix.set.js
|
|
@@ -55940,7 +55935,7 @@ var TileMatrixSet = class {
|
|
|
55940
55935
|
if (projection == null)
|
|
55941
55936
|
throw new Error(`Unable to find supported projection ${def.supportedCRS}`);
|
|
55942
55937
|
this.projection = projection;
|
|
55943
|
-
if (getXyOrder(this.projection) ===
|
|
55938
|
+
if (getXyOrder(this.projection) === "yx") {
|
|
55944
55939
|
this.indexX = 1;
|
|
55945
55940
|
this.indexY = 0;
|
|
55946
55941
|
}
|
|
@@ -56140,6 +56135,204 @@ var TileMatrixSet = class {
|
|
|
56140
56135
|
}
|
|
56141
56136
|
};
|
|
56142
56137
|
|
|
56138
|
+
// ../geo/build/tms/citm2000.js
|
|
56139
|
+
var Citm2000Tmst = {
|
|
56140
|
+
type: "TileMatrixSetType",
|
|
56141
|
+
title: "Debug tile matrix for EPSG:3793",
|
|
56142
|
+
abstract: "",
|
|
56143
|
+
identifier: "CITM2000Quad",
|
|
56144
|
+
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
56145
|
+
boundingBox: {
|
|
56146
|
+
type: "BoundingBoxType",
|
|
56147
|
+
crs: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
56148
|
+
lowerCorner: [5051234111622438e-9, 3.4301543757978342e6],
|
|
56149
|
+
upperCorner: [5207777145550478e-9, 3.5866974097258747e6]
|
|
56150
|
+
},
|
|
56151
|
+
tileMatrix: [
|
|
56152
|
+
{
|
|
56153
|
+
type: "TileMatrixType",
|
|
56154
|
+
identifier: "0",
|
|
56155
|
+
scaleDenominator: 218391509386217e-8,
|
|
56156
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56157
|
+
tileWidth: 256,
|
|
56158
|
+
tileHeight: 256,
|
|
56159
|
+
matrixWidth: 1,
|
|
56160
|
+
matrixHeight: 1
|
|
56161
|
+
},
|
|
56162
|
+
{
|
|
56163
|
+
type: "TileMatrixType",
|
|
56164
|
+
identifier: "1",
|
|
56165
|
+
scaleDenominator: 109195754693108e-8,
|
|
56166
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56167
|
+
tileWidth: 256,
|
|
56168
|
+
tileHeight: 256,
|
|
56169
|
+
matrixWidth: 2,
|
|
56170
|
+
matrixHeight: 2
|
|
56171
|
+
},
|
|
56172
|
+
{
|
|
56173
|
+
type: "TileMatrixType",
|
|
56174
|
+
identifier: "2",
|
|
56175
|
+
scaleDenominator: 545978.773465544,
|
|
56176
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56177
|
+
tileWidth: 256,
|
|
56178
|
+
tileHeight: 256,
|
|
56179
|
+
matrixWidth: 4,
|
|
56180
|
+
matrixHeight: 4
|
|
56181
|
+
},
|
|
56182
|
+
{
|
|
56183
|
+
type: "TileMatrixType",
|
|
56184
|
+
identifier: "3",
|
|
56185
|
+
scaleDenominator: 272989.386732772,
|
|
56186
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56187
|
+
tileWidth: 256,
|
|
56188
|
+
tileHeight: 256,
|
|
56189
|
+
matrixWidth: 8,
|
|
56190
|
+
matrixHeight: 8
|
|
56191
|
+
},
|
|
56192
|
+
{
|
|
56193
|
+
type: "TileMatrixType",
|
|
56194
|
+
identifier: "4",
|
|
56195
|
+
scaleDenominator: 136494.693366386,
|
|
56196
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56197
|
+
tileWidth: 256,
|
|
56198
|
+
tileHeight: 256,
|
|
56199
|
+
matrixWidth: 16,
|
|
56200
|
+
matrixHeight: 16
|
|
56201
|
+
},
|
|
56202
|
+
{
|
|
56203
|
+
type: "TileMatrixType",
|
|
56204
|
+
identifier: "5",
|
|
56205
|
+
scaleDenominator: 68247.346683193,
|
|
56206
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56207
|
+
tileWidth: 256,
|
|
56208
|
+
tileHeight: 256,
|
|
56209
|
+
matrixWidth: 32,
|
|
56210
|
+
matrixHeight: 32
|
|
56211
|
+
},
|
|
56212
|
+
{
|
|
56213
|
+
type: "TileMatrixType",
|
|
56214
|
+
identifier: "6",
|
|
56215
|
+
scaleDenominator: 34123.6733415964,
|
|
56216
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56217
|
+
tileWidth: 256,
|
|
56218
|
+
tileHeight: 256,
|
|
56219
|
+
matrixWidth: 64,
|
|
56220
|
+
matrixHeight: 64
|
|
56221
|
+
},
|
|
56222
|
+
{
|
|
56223
|
+
type: "TileMatrixType",
|
|
56224
|
+
identifier: "7",
|
|
56225
|
+
scaleDenominator: 17061.8366707982,
|
|
56226
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56227
|
+
tileWidth: 256,
|
|
56228
|
+
tileHeight: 256,
|
|
56229
|
+
matrixWidth: 128,
|
|
56230
|
+
matrixHeight: 128
|
|
56231
|
+
},
|
|
56232
|
+
{
|
|
56233
|
+
type: "TileMatrixType",
|
|
56234
|
+
identifier: "8",
|
|
56235
|
+
scaleDenominator: 8530.91833539913,
|
|
56236
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56237
|
+
tileWidth: 256,
|
|
56238
|
+
tileHeight: 256,
|
|
56239
|
+
matrixWidth: 256,
|
|
56240
|
+
matrixHeight: 256
|
|
56241
|
+
},
|
|
56242
|
+
{
|
|
56243
|
+
type: "TileMatrixType",
|
|
56244
|
+
identifier: "9",
|
|
56245
|
+
scaleDenominator: 4265.45916769956,
|
|
56246
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56247
|
+
tileWidth: 256,
|
|
56248
|
+
tileHeight: 256,
|
|
56249
|
+
matrixWidth: 512,
|
|
56250
|
+
matrixHeight: 512
|
|
56251
|
+
},
|
|
56252
|
+
{
|
|
56253
|
+
type: "TileMatrixType",
|
|
56254
|
+
identifier: "10",
|
|
56255
|
+
scaleDenominator: 2132.72958384978,
|
|
56256
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56257
|
+
tileWidth: 256,
|
|
56258
|
+
tileHeight: 256,
|
|
56259
|
+
matrixWidth: 1024,
|
|
56260
|
+
matrixHeight: 1024
|
|
56261
|
+
},
|
|
56262
|
+
{
|
|
56263
|
+
type: "TileMatrixType",
|
|
56264
|
+
identifier: "11",
|
|
56265
|
+
scaleDenominator: 1066.36479192489,
|
|
56266
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56267
|
+
tileWidth: 256,
|
|
56268
|
+
tileHeight: 256,
|
|
56269
|
+
matrixWidth: 2048,
|
|
56270
|
+
matrixHeight: 2048
|
|
56271
|
+
},
|
|
56272
|
+
{
|
|
56273
|
+
type: "TileMatrixType",
|
|
56274
|
+
identifier: "12",
|
|
56275
|
+
scaleDenominator: 533.182395962445,
|
|
56276
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56277
|
+
tileWidth: 256,
|
|
56278
|
+
tileHeight: 256,
|
|
56279
|
+
matrixWidth: 4096,
|
|
56280
|
+
matrixHeight: 4096
|
|
56281
|
+
},
|
|
56282
|
+
{
|
|
56283
|
+
type: "TileMatrixType",
|
|
56284
|
+
identifier: "13",
|
|
56285
|
+
scaleDenominator: 266.591197981222,
|
|
56286
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56287
|
+
tileWidth: 256,
|
|
56288
|
+
tileHeight: 256,
|
|
56289
|
+
matrixWidth: 8192,
|
|
56290
|
+
matrixHeight: 8192
|
|
56291
|
+
},
|
|
56292
|
+
{
|
|
56293
|
+
type: "TileMatrixType",
|
|
56294
|
+
identifier: "14",
|
|
56295
|
+
scaleDenominator: 133.295598990611,
|
|
56296
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56297
|
+
tileWidth: 256,
|
|
56298
|
+
tileHeight: 256,
|
|
56299
|
+
matrixWidth: 16384,
|
|
56300
|
+
matrixHeight: 16384
|
|
56301
|
+
},
|
|
56302
|
+
{
|
|
56303
|
+
type: "TileMatrixType",
|
|
56304
|
+
identifier: "15",
|
|
56305
|
+
scaleDenominator: 66.6477994953056,
|
|
56306
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56307
|
+
tileWidth: 256,
|
|
56308
|
+
tileHeight: 256,
|
|
56309
|
+
matrixWidth: 32768,
|
|
56310
|
+
matrixHeight: 32768
|
|
56311
|
+
},
|
|
56312
|
+
{
|
|
56313
|
+
type: "TileMatrixType",
|
|
56314
|
+
identifier: "16",
|
|
56315
|
+
scaleDenominator: 33.3238997476528,
|
|
56316
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56317
|
+
tileWidth: 256,
|
|
56318
|
+
tileHeight: 256,
|
|
56319
|
+
matrixWidth: 65536,
|
|
56320
|
+
matrixHeight: 65536
|
|
56321
|
+
}
|
|
56322
|
+
],
|
|
56323
|
+
$generated: {
|
|
56324
|
+
package: "@basemaps/cli",
|
|
56325
|
+
version: "v7.14.0-4-g2766010d",
|
|
56326
|
+
hash: "2766010d8d2bb8b673f6bcbef2fe2636f2e0f4ea",
|
|
56327
|
+
createdAt: "2025-02-10T20:34:46.643Z"
|
|
56328
|
+
},
|
|
56329
|
+
$options: {
|
|
56330
|
+
sourceTileMatrix: "WebMercatorQuad",
|
|
56331
|
+
zoomOffset: 8
|
|
56332
|
+
}
|
|
56333
|
+
};
|
|
56334
|
+
var Citm2000Tms = new TileMatrixSet(Citm2000Tmst);
|
|
56335
|
+
|
|
56143
56336
|
// ../geo/build/tms/google.js
|
|
56144
56337
|
var GoogleTmst = {
|
|
56145
56338
|
type: "TileMatrixSetType",
|
|
@@ -56416,11 +56609,12 @@ var Nztm2000QuadTms = new TileMatrixSet(Nztm20002.Nztm2000Quad);
|
|
|
56416
56609
|
// ../geo/build/tms/index.js
|
|
56417
56610
|
var TileMatrixSets = {
|
|
56418
56611
|
/** All TileMatrixSets that are currently supported */
|
|
56419
|
-
All: [GoogleTms, Nztm2000Tms, Nztm2000QuadTms],
|
|
56612
|
+
All: [GoogleTms, Nztm2000Tms, Nztm2000QuadTms, Citm2000Tms],
|
|
56420
56613
|
/** Default mapping of EPSG code to Tile matrix set */
|
|
56421
56614
|
Defaults: /* @__PURE__ */ new Map([
|
|
56422
56615
|
[Epsg.Google.code, GoogleTms],
|
|
56423
|
-
[Epsg.Nztm2000.code, Nztm2000Tms]
|
|
56616
|
+
[Epsg.Nztm2000.code, Nztm2000Tms],
|
|
56617
|
+
[Epsg.Citm2000.code, Citm2000Tms]
|
|
56424
56618
|
]),
|
|
56425
56619
|
/**
|
|
56426
56620
|
* Get a tile matrix set by EPSG Code
|
|
@@ -56746,7 +56940,15 @@ function toQueryString(r2) {
|
|
|
56746
56940
|
}
|
|
56747
56941
|
|
|
56748
56942
|
// src/components/map.label.tsx
|
|
56749
|
-
var LabelsDisabledLayers = /* @__PURE__ */ new Set([
|
|
56943
|
+
var LabelsDisabledLayers = /* @__PURE__ */ new Set([
|
|
56944
|
+
"labels",
|
|
56945
|
+
"labels-v2",
|
|
56946
|
+
"topographic",
|
|
56947
|
+
"topographic-v2",
|
|
56948
|
+
"topolite",
|
|
56949
|
+
"topolite-v2",
|
|
56950
|
+
"topo-raster"
|
|
56951
|
+
]);
|
|
56750
56952
|
var MapLabelControl = class {
|
|
56751
56953
|
constructor() {
|
|
56752
56954
|
__publicField(this, "map");
|
|
@@ -57333,11 +57535,11 @@ var Config = {
|
|
|
57333
57535
|
return "";
|
|
57334
57536
|
},
|
|
57335
57537
|
get Version() {
|
|
57336
|
-
return "v7.
|
|
57538
|
+
return "v7.15.0-3-g500e138b";
|
|
57337
57539
|
},
|
|
57338
57540
|
/** Github buildId */
|
|
57339
57541
|
get BuildId() {
|
|
57340
|
-
return "
|
|
57542
|
+
return "14046256909-1";
|
|
57341
57543
|
},
|
|
57342
57544
|
map: new MapConfig()
|
|
57343
57545
|
};
|
package/dist/index.html
CHANGED
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
<meta name="twitter:image" property="og:image" content="/basemaps-card.jpeg" />
|
|
12
12
|
<meta name="twitter:description" property="og:description" content="NZ’s authoritative and open digital basemap service for LINZ and the public." />
|
|
13
13
|
|
|
14
|
-
<link rel="stylesheet" href="index-7.
|
|
14
|
+
<link rel="stylesheet" href="index-7.15.1-c5e57c4593cca04a.css" integrity="xeV8RZPMoEppgmSq1caqemmc8O5k7UmFLbdR/DCeOSP1XmotpTTisZTePLihKxDlJIXbfdkKwskYljWnxYN4tA==" />
|
|
15
15
|
<link href="https://fonts.googleapis.com/icon?family=Material+Icons+Round" rel="stylesheet" />
|
|
16
16
|
<title>Basemaps | Land Information New Zealand (LINZ)</title>
|
|
17
17
|
</head>
|
|
18
18
|
|
|
19
19
|
<body class="checker-board">
|
|
20
20
|
<main id="main"></main>
|
|
21
|
-
<script src="index-7.
|
|
21
|
+
<script src="index-7.15.1-32175f157bbe5191.js" integrity="sha512-MhdfFXu+UZELA6CEdduLJapczPfgQVdBsKPl5nmT9axWF13F/EKZyqZyRZMyf6AUXnw0oXhB4za9ql4KqhRN4g=="></script>
|
|
22
22
|
</body>
|
|
23
23
|
|
|
24
24
|
</html>
|
package/dist/index.js
CHANGED
|
@@ -55851,16 +55851,11 @@ var CHAR_2 = "2".charCodeAt(0);
|
|
|
55851
55851
|
var CHAR_3 = "3".charCodeAt(0);
|
|
55852
55852
|
|
|
55853
55853
|
// ../geo/build/xy.order.js
|
|
55854
|
-
var XyOrder;
|
|
55855
|
-
(function(XyOrder2) {
|
|
55856
|
-
XyOrder2[XyOrder2["Xy"] = 0] = "Xy";
|
|
55857
|
-
XyOrder2[XyOrder2["Yx"] = 1] = "Yx";
|
|
55858
|
-
})(XyOrder || (XyOrder = {}));
|
|
55859
55854
|
function getXyOrder(epsg) {
|
|
55860
|
-
|
|
55861
|
-
|
|
55862
|
-
|
|
55863
|
-
return
|
|
55855
|
+
const code = typeof epsg === "number" ? epsg : epsg.code;
|
|
55856
|
+
if (code === EpsgCode.Nztm2000 || code === EpsgCode.Citm2000)
|
|
55857
|
+
return "yx";
|
|
55858
|
+
return "xy";
|
|
55864
55859
|
}
|
|
55865
55860
|
|
|
55866
55861
|
// ../geo/build/tile.matrix.set.js
|
|
@@ -55940,7 +55935,7 @@ var TileMatrixSet = class {
|
|
|
55940
55935
|
if (projection == null)
|
|
55941
55936
|
throw new Error(`Unable to find supported projection ${def.supportedCRS}`);
|
|
55942
55937
|
this.projection = projection;
|
|
55943
|
-
if (getXyOrder(this.projection) ===
|
|
55938
|
+
if (getXyOrder(this.projection) === "yx") {
|
|
55944
55939
|
this.indexX = 1;
|
|
55945
55940
|
this.indexY = 0;
|
|
55946
55941
|
}
|
|
@@ -56140,6 +56135,204 @@ var TileMatrixSet = class {
|
|
|
56140
56135
|
}
|
|
56141
56136
|
};
|
|
56142
56137
|
|
|
56138
|
+
// ../geo/build/tms/citm2000.js
|
|
56139
|
+
var Citm2000Tmst = {
|
|
56140
|
+
type: "TileMatrixSetType",
|
|
56141
|
+
title: "Debug tile matrix for EPSG:3793",
|
|
56142
|
+
abstract: "",
|
|
56143
|
+
identifier: "CITM2000Quad",
|
|
56144
|
+
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
56145
|
+
boundingBox: {
|
|
56146
|
+
type: "BoundingBoxType",
|
|
56147
|
+
crs: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
56148
|
+
lowerCorner: [5051234111622438e-9, 3.4301543757978342e6],
|
|
56149
|
+
upperCorner: [5207777145550478e-9, 3.5866974097258747e6]
|
|
56150
|
+
},
|
|
56151
|
+
tileMatrix: [
|
|
56152
|
+
{
|
|
56153
|
+
type: "TileMatrixType",
|
|
56154
|
+
identifier: "0",
|
|
56155
|
+
scaleDenominator: 218391509386217e-8,
|
|
56156
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56157
|
+
tileWidth: 256,
|
|
56158
|
+
tileHeight: 256,
|
|
56159
|
+
matrixWidth: 1,
|
|
56160
|
+
matrixHeight: 1
|
|
56161
|
+
},
|
|
56162
|
+
{
|
|
56163
|
+
type: "TileMatrixType",
|
|
56164
|
+
identifier: "1",
|
|
56165
|
+
scaleDenominator: 109195754693108e-8,
|
|
56166
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56167
|
+
tileWidth: 256,
|
|
56168
|
+
tileHeight: 256,
|
|
56169
|
+
matrixWidth: 2,
|
|
56170
|
+
matrixHeight: 2
|
|
56171
|
+
},
|
|
56172
|
+
{
|
|
56173
|
+
type: "TileMatrixType",
|
|
56174
|
+
identifier: "2",
|
|
56175
|
+
scaleDenominator: 545978.773465544,
|
|
56176
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56177
|
+
tileWidth: 256,
|
|
56178
|
+
tileHeight: 256,
|
|
56179
|
+
matrixWidth: 4,
|
|
56180
|
+
matrixHeight: 4
|
|
56181
|
+
},
|
|
56182
|
+
{
|
|
56183
|
+
type: "TileMatrixType",
|
|
56184
|
+
identifier: "3",
|
|
56185
|
+
scaleDenominator: 272989.386732772,
|
|
56186
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56187
|
+
tileWidth: 256,
|
|
56188
|
+
tileHeight: 256,
|
|
56189
|
+
matrixWidth: 8,
|
|
56190
|
+
matrixHeight: 8
|
|
56191
|
+
},
|
|
56192
|
+
{
|
|
56193
|
+
type: "TileMatrixType",
|
|
56194
|
+
identifier: "4",
|
|
56195
|
+
scaleDenominator: 136494.693366386,
|
|
56196
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56197
|
+
tileWidth: 256,
|
|
56198
|
+
tileHeight: 256,
|
|
56199
|
+
matrixWidth: 16,
|
|
56200
|
+
matrixHeight: 16
|
|
56201
|
+
},
|
|
56202
|
+
{
|
|
56203
|
+
type: "TileMatrixType",
|
|
56204
|
+
identifier: "5",
|
|
56205
|
+
scaleDenominator: 68247.346683193,
|
|
56206
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56207
|
+
tileWidth: 256,
|
|
56208
|
+
tileHeight: 256,
|
|
56209
|
+
matrixWidth: 32,
|
|
56210
|
+
matrixHeight: 32
|
|
56211
|
+
},
|
|
56212
|
+
{
|
|
56213
|
+
type: "TileMatrixType",
|
|
56214
|
+
identifier: "6",
|
|
56215
|
+
scaleDenominator: 34123.6733415964,
|
|
56216
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56217
|
+
tileWidth: 256,
|
|
56218
|
+
tileHeight: 256,
|
|
56219
|
+
matrixWidth: 64,
|
|
56220
|
+
matrixHeight: 64
|
|
56221
|
+
},
|
|
56222
|
+
{
|
|
56223
|
+
type: "TileMatrixType",
|
|
56224
|
+
identifier: "7",
|
|
56225
|
+
scaleDenominator: 17061.8366707982,
|
|
56226
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56227
|
+
tileWidth: 256,
|
|
56228
|
+
tileHeight: 256,
|
|
56229
|
+
matrixWidth: 128,
|
|
56230
|
+
matrixHeight: 128
|
|
56231
|
+
},
|
|
56232
|
+
{
|
|
56233
|
+
type: "TileMatrixType",
|
|
56234
|
+
identifier: "8",
|
|
56235
|
+
scaleDenominator: 8530.91833539913,
|
|
56236
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56237
|
+
tileWidth: 256,
|
|
56238
|
+
tileHeight: 256,
|
|
56239
|
+
matrixWidth: 256,
|
|
56240
|
+
matrixHeight: 256
|
|
56241
|
+
},
|
|
56242
|
+
{
|
|
56243
|
+
type: "TileMatrixType",
|
|
56244
|
+
identifier: "9",
|
|
56245
|
+
scaleDenominator: 4265.45916769956,
|
|
56246
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56247
|
+
tileWidth: 256,
|
|
56248
|
+
tileHeight: 256,
|
|
56249
|
+
matrixWidth: 512,
|
|
56250
|
+
matrixHeight: 512
|
|
56251
|
+
},
|
|
56252
|
+
{
|
|
56253
|
+
type: "TileMatrixType",
|
|
56254
|
+
identifier: "10",
|
|
56255
|
+
scaleDenominator: 2132.72958384978,
|
|
56256
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56257
|
+
tileWidth: 256,
|
|
56258
|
+
tileHeight: 256,
|
|
56259
|
+
matrixWidth: 1024,
|
|
56260
|
+
matrixHeight: 1024
|
|
56261
|
+
},
|
|
56262
|
+
{
|
|
56263
|
+
type: "TileMatrixType",
|
|
56264
|
+
identifier: "11",
|
|
56265
|
+
scaleDenominator: 1066.36479192489,
|
|
56266
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56267
|
+
tileWidth: 256,
|
|
56268
|
+
tileHeight: 256,
|
|
56269
|
+
matrixWidth: 2048,
|
|
56270
|
+
matrixHeight: 2048
|
|
56271
|
+
},
|
|
56272
|
+
{
|
|
56273
|
+
type: "TileMatrixType",
|
|
56274
|
+
identifier: "12",
|
|
56275
|
+
scaleDenominator: 533.182395962445,
|
|
56276
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56277
|
+
tileWidth: 256,
|
|
56278
|
+
tileHeight: 256,
|
|
56279
|
+
matrixWidth: 4096,
|
|
56280
|
+
matrixHeight: 4096
|
|
56281
|
+
},
|
|
56282
|
+
{
|
|
56283
|
+
type: "TileMatrixType",
|
|
56284
|
+
identifier: "13",
|
|
56285
|
+
scaleDenominator: 266.591197981222,
|
|
56286
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56287
|
+
tileWidth: 256,
|
|
56288
|
+
tileHeight: 256,
|
|
56289
|
+
matrixWidth: 8192,
|
|
56290
|
+
matrixHeight: 8192
|
|
56291
|
+
},
|
|
56292
|
+
{
|
|
56293
|
+
type: "TileMatrixType",
|
|
56294
|
+
identifier: "14",
|
|
56295
|
+
scaleDenominator: 133.295598990611,
|
|
56296
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56297
|
+
tileWidth: 256,
|
|
56298
|
+
tileHeight: 256,
|
|
56299
|
+
matrixWidth: 16384,
|
|
56300
|
+
matrixHeight: 16384
|
|
56301
|
+
},
|
|
56302
|
+
{
|
|
56303
|
+
type: "TileMatrixType",
|
|
56304
|
+
identifier: "15",
|
|
56305
|
+
scaleDenominator: 66.6477994953056,
|
|
56306
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56307
|
+
tileWidth: 256,
|
|
56308
|
+
tileHeight: 256,
|
|
56309
|
+
matrixWidth: 32768,
|
|
56310
|
+
matrixHeight: 32768
|
|
56311
|
+
},
|
|
56312
|
+
{
|
|
56313
|
+
type: "TileMatrixType",
|
|
56314
|
+
identifier: "16",
|
|
56315
|
+
scaleDenominator: 33.3238997476528,
|
|
56316
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
56317
|
+
tileWidth: 256,
|
|
56318
|
+
tileHeight: 256,
|
|
56319
|
+
matrixWidth: 65536,
|
|
56320
|
+
matrixHeight: 65536
|
|
56321
|
+
}
|
|
56322
|
+
],
|
|
56323
|
+
$generated: {
|
|
56324
|
+
package: "@basemaps/cli",
|
|
56325
|
+
version: "v7.14.0-4-g2766010d",
|
|
56326
|
+
hash: "2766010d8d2bb8b673f6bcbef2fe2636f2e0f4ea",
|
|
56327
|
+
createdAt: "2025-02-10T20:34:46.643Z"
|
|
56328
|
+
},
|
|
56329
|
+
$options: {
|
|
56330
|
+
sourceTileMatrix: "WebMercatorQuad",
|
|
56331
|
+
zoomOffset: 8
|
|
56332
|
+
}
|
|
56333
|
+
};
|
|
56334
|
+
var Citm2000Tms = new TileMatrixSet(Citm2000Tmst);
|
|
56335
|
+
|
|
56143
56336
|
// ../geo/build/tms/google.js
|
|
56144
56337
|
var GoogleTmst = {
|
|
56145
56338
|
type: "TileMatrixSetType",
|
|
@@ -56416,11 +56609,12 @@ var Nztm2000QuadTms = new TileMatrixSet(Nztm20002.Nztm2000Quad);
|
|
|
56416
56609
|
// ../geo/build/tms/index.js
|
|
56417
56610
|
var TileMatrixSets = {
|
|
56418
56611
|
/** All TileMatrixSets that are currently supported */
|
|
56419
|
-
All: [GoogleTms, Nztm2000Tms, Nztm2000QuadTms],
|
|
56612
|
+
All: [GoogleTms, Nztm2000Tms, Nztm2000QuadTms, Citm2000Tms],
|
|
56420
56613
|
/** Default mapping of EPSG code to Tile matrix set */
|
|
56421
56614
|
Defaults: /* @__PURE__ */ new Map([
|
|
56422
56615
|
[Epsg.Google.code, GoogleTms],
|
|
56423
|
-
[Epsg.Nztm2000.code, Nztm2000Tms]
|
|
56616
|
+
[Epsg.Nztm2000.code, Nztm2000Tms],
|
|
56617
|
+
[Epsg.Citm2000.code, Citm2000Tms]
|
|
56424
56618
|
]),
|
|
56425
56619
|
/**
|
|
56426
56620
|
* Get a tile matrix set by EPSG Code
|
|
@@ -56746,7 +56940,15 @@ function toQueryString(r2) {
|
|
|
56746
56940
|
}
|
|
56747
56941
|
|
|
56748
56942
|
// src/components/map.label.tsx
|
|
56749
|
-
var LabelsDisabledLayers = /* @__PURE__ */ new Set([
|
|
56943
|
+
var LabelsDisabledLayers = /* @__PURE__ */ new Set([
|
|
56944
|
+
"labels",
|
|
56945
|
+
"labels-v2",
|
|
56946
|
+
"topographic",
|
|
56947
|
+
"topographic-v2",
|
|
56948
|
+
"topolite",
|
|
56949
|
+
"topolite-v2",
|
|
56950
|
+
"topo-raster"
|
|
56951
|
+
]);
|
|
56750
56952
|
var MapLabelControl = class {
|
|
56751
56953
|
constructor() {
|
|
56752
56954
|
__publicField(this, "map");
|
|
@@ -57333,11 +57535,11 @@ var Config = {
|
|
|
57333
57535
|
return "";
|
|
57334
57536
|
},
|
|
57335
57537
|
get Version() {
|
|
57336
|
-
return "v7.
|
|
57538
|
+
return "v7.15.0-3-g500e138b";
|
|
57337
57539
|
},
|
|
57338
57540
|
/** Github buildId */
|
|
57339
57541
|
get BuildId() {
|
|
57340
|
-
return "
|
|
57542
|
+
return "14046256909-1";
|
|
57341
57543
|
},
|
|
57342
57544
|
map: new MapConfig()
|
|
57343
57545
|
};
|