@basemaps/landing 8.2.0 → 8.3.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/src/__tests__/geojson.test.js +1 -2
- package/build/src/__tests__/geojson.test.js.map +1 -1
- package/build/src/__tests__/tile.matrix.test.js +1 -2
- package/build/src/__tests__/tile.matrix.test.js.map +1 -1
- package/build/src/components/layout.header.js +20 -11
- package/build/src/components/layout.header.js.map +1 -1
- package/build/src/components/map.js +2 -2
- package/build/src/components/map.js.map +1 -1
- package/build/src/config.map.js +5 -5
- package/build/src/config.map.js.map +1 -1
- package/build/src/debug.map.js +2 -3
- package/build/src/debug.map.js.map +1 -1
- package/build/src/tile.matrix.d.ts +0 -13
- package/build/src/tile.matrix.js +1 -64
- package/build/src/tile.matrix.js.map +1 -1
- package/build/tsconfig.tsbuildinfo +1 -1
- package/dist/docs/sitemap.xml +30 -30
- package/dist/docs/sitemap.xml.gz +0 -0
- package/dist/examples/index.openlayers.attribution.wmts.3857.html +1 -1
- package/dist/{index-8.2.0-1998afcd5d486f78.js → index-8.3.0-5f827c1e303a8185.js} +348 -310
- package/dist/index.html +2 -2
- package/dist/index.js +348 -310
- package/dist/lib/attribution.js +217 -217
- package/package.json +8 -8
- package/dist/{index-8.2.0-c5e57c4593cca04a.css → index-8.3.0-c5e57c4593cca04a.css} +0 -0
- package/dist/lib/{attribution-8.2.0-ec5888ef78974d9c.js → attribution-8.3.0-7e26e43200746f3c.js} +217 -217
package/dist/lib/attribution.js
CHANGED
|
@@ -9523,48 +9523,6 @@ Object.defineProperty(Projection2, "AllowedFloatingError", {
|
|
|
9523
9523
|
value: 1e-8
|
|
9524
9524
|
});
|
|
9525
9525
|
|
|
9526
|
-
// ../geo/build/proj/projection.loader.js
|
|
9527
|
-
var ProjectionLoader = class {
|
|
9528
|
-
/**
|
|
9529
|
-
* Ensure that a projection EPSG code is avialable for use in Proj4js
|
|
9530
|
-
*
|
|
9531
|
-
* If its not already loaded, lookup definition from spatialreference.org
|
|
9532
|
-
* @param code
|
|
9533
|
-
*/
|
|
9534
|
-
static async load(code) {
|
|
9535
|
-
if (Projection2.tryGet(code) != null)
|
|
9536
|
-
return Epsg.get(code);
|
|
9537
|
-
const url = `https://spatialreference.org/ref/epsg/${code}/ogcwkt/`;
|
|
9538
|
-
const res = await this._fetch(url);
|
|
9539
|
-
if (!res.ok)
|
|
9540
|
-
throw new Error("Failed to load projection information for:" + code);
|
|
9541
|
-
let epsg = Epsg.tryGet(code);
|
|
9542
|
-
if (epsg == null)
|
|
9543
|
-
epsg = new Epsg(code);
|
|
9544
|
-
const text = await res.text();
|
|
9545
|
-
Projection2.define(epsg, text);
|
|
9546
|
-
return epsg;
|
|
9547
|
-
}
|
|
9548
|
-
};
|
|
9549
|
-
Object.defineProperty(ProjectionLoader, "_fetch", {
|
|
9550
|
-
enumerable: true,
|
|
9551
|
-
configurable: true,
|
|
9552
|
-
writable: true,
|
|
9553
|
-
value: fetch
|
|
9554
|
-
});
|
|
9555
|
-
|
|
9556
|
-
// ../geo/build/proj/tile.set.name.js
|
|
9557
|
-
var TileSetName;
|
|
9558
|
-
(function(TileSetName2) {
|
|
9559
|
-
TileSetName2["aerial"] = "aerial";
|
|
9560
|
-
})(TileSetName || (TileSetName = {}));
|
|
9561
|
-
|
|
9562
|
-
// ../geo/build/quad.key.js
|
|
9563
|
-
var CHAR_0 = "0".charCodeAt(0);
|
|
9564
|
-
var CHAR_1 = "1".charCodeAt(0);
|
|
9565
|
-
var CHAR_2 = "2".charCodeAt(0);
|
|
9566
|
-
var CHAR_3 = "3".charCodeAt(0);
|
|
9567
|
-
|
|
9568
9526
|
// ../geo/build/xy.order.js
|
|
9569
9527
|
function getXyOrder(epsg) {
|
|
9570
9528
|
const code = typeof epsg === "number" ? epsg : epsg.code;
|
|
@@ -9850,25 +9808,25 @@ var TileMatrixSet = class {
|
|
|
9850
9808
|
}
|
|
9851
9809
|
};
|
|
9852
9810
|
|
|
9853
|
-
// ../geo/build/tms/
|
|
9854
|
-
var
|
|
9811
|
+
// ../geo/build/tms/google.js
|
|
9812
|
+
var GoogleTmst = {
|
|
9855
9813
|
type: "TileMatrixSetType",
|
|
9856
|
-
title: "
|
|
9857
|
-
|
|
9858
|
-
identifier: "CITM2000Quad",
|
|
9859
|
-
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
9814
|
+
title: "Google Maps Compatible for the World",
|
|
9815
|
+
identifier: "WebMercatorQuad",
|
|
9860
9816
|
boundingBox: {
|
|
9861
9817
|
type: "BoundingBoxType",
|
|
9862
|
-
crs: "
|
|
9863
|
-
lowerCorner: [
|
|
9864
|
-
upperCorner: [
|
|
9818
|
+
crs: "http://www.opengis.net/def/crs/EPSG/0/3857",
|
|
9819
|
+
lowerCorner: [-200375083427892e-7, -200375083427892e-7],
|
|
9820
|
+
upperCorner: [200375083427892e-7, 200375083427892e-7]
|
|
9865
9821
|
},
|
|
9822
|
+
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3857",
|
|
9823
|
+
wellKnownScaleSet: "https://www.opengis.net/def/wkss/OGC/1.0/GoogleMapsCompatible",
|
|
9866
9824
|
tileMatrix: [
|
|
9867
9825
|
{
|
|
9868
9826
|
type: "TileMatrixType",
|
|
9869
9827
|
identifier: "0",
|
|
9870
|
-
scaleDenominator:
|
|
9871
|
-
topLeftCorner: [
|
|
9828
|
+
scaleDenominator: 559082264028717e-6,
|
|
9829
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9872
9830
|
tileWidth: 256,
|
|
9873
9831
|
tileHeight: 256,
|
|
9874
9832
|
matrixWidth: 1,
|
|
@@ -9877,8 +9835,8 @@ var Citm2000Tmst = {
|
|
|
9877
9835
|
{
|
|
9878
9836
|
type: "TileMatrixType",
|
|
9879
9837
|
identifier: "1",
|
|
9880
|
-
scaleDenominator:
|
|
9881
|
-
topLeftCorner: [
|
|
9838
|
+
scaleDenominator: 279541132014358e-6,
|
|
9839
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9882
9840
|
tileWidth: 256,
|
|
9883
9841
|
tileHeight: 256,
|
|
9884
9842
|
matrixWidth: 2,
|
|
@@ -9887,8 +9845,8 @@ var Citm2000Tmst = {
|
|
|
9887
9845
|
{
|
|
9888
9846
|
type: "TileMatrixType",
|
|
9889
9847
|
identifier: "2",
|
|
9890
|
-
scaleDenominator:
|
|
9891
|
-
topLeftCorner: [
|
|
9848
|
+
scaleDenominator: 139770566007179e-6,
|
|
9849
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9892
9850
|
tileWidth: 256,
|
|
9893
9851
|
tileHeight: 256,
|
|
9894
9852
|
matrixWidth: 4,
|
|
@@ -9897,8 +9855,8 @@ var Citm2000Tmst = {
|
|
|
9897
9855
|
{
|
|
9898
9856
|
type: "TileMatrixType",
|
|
9899
9857
|
identifier: "3",
|
|
9900
|
-
scaleDenominator:
|
|
9901
|
-
topLeftCorner: [
|
|
9858
|
+
scaleDenominator: 698852830035897e-7,
|
|
9859
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9902
9860
|
tileWidth: 256,
|
|
9903
9861
|
tileHeight: 256,
|
|
9904
9862
|
matrixWidth: 8,
|
|
@@ -9907,8 +9865,8 @@ var Citm2000Tmst = {
|
|
|
9907
9865
|
{
|
|
9908
9866
|
type: "TileMatrixType",
|
|
9909
9867
|
identifier: "4",
|
|
9910
|
-
scaleDenominator:
|
|
9911
|
-
topLeftCorner: [
|
|
9868
|
+
scaleDenominator: 349426415017948e-7,
|
|
9869
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9912
9870
|
tileWidth: 256,
|
|
9913
9871
|
tileHeight: 256,
|
|
9914
9872
|
matrixWidth: 16,
|
|
@@ -9917,8 +9875,8 @@ var Citm2000Tmst = {
|
|
|
9917
9875
|
{
|
|
9918
9876
|
type: "TileMatrixType",
|
|
9919
9877
|
identifier: "5",
|
|
9920
|
-
scaleDenominator:
|
|
9921
|
-
topLeftCorner: [
|
|
9878
|
+
scaleDenominator: 174713207508974e-7,
|
|
9879
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9922
9880
|
tileWidth: 256,
|
|
9923
9881
|
tileHeight: 256,
|
|
9924
9882
|
matrixWidth: 32,
|
|
@@ -9927,8 +9885,8 @@ var Citm2000Tmst = {
|
|
|
9927
9885
|
{
|
|
9928
9886
|
type: "TileMatrixType",
|
|
9929
9887
|
identifier: "6",
|
|
9930
|
-
scaleDenominator:
|
|
9931
|
-
topLeftCorner: [
|
|
9888
|
+
scaleDenominator: 873566037544871e-8,
|
|
9889
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9932
9890
|
tileWidth: 256,
|
|
9933
9891
|
tileHeight: 256,
|
|
9934
9892
|
matrixWidth: 64,
|
|
@@ -9937,8 +9895,8 @@ var Citm2000Tmst = {
|
|
|
9937
9895
|
{
|
|
9938
9896
|
type: "TileMatrixType",
|
|
9939
9897
|
identifier: "7",
|
|
9940
|
-
scaleDenominator:
|
|
9941
|
-
topLeftCorner: [
|
|
9898
|
+
scaleDenominator: 436783018772435e-8,
|
|
9899
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9942
9900
|
tileWidth: 256,
|
|
9943
9901
|
tileHeight: 256,
|
|
9944
9902
|
matrixWidth: 128,
|
|
@@ -9947,8 +9905,8 @@ var Citm2000Tmst = {
|
|
|
9947
9905
|
{
|
|
9948
9906
|
type: "TileMatrixType",
|
|
9949
9907
|
identifier: "8",
|
|
9950
|
-
scaleDenominator:
|
|
9951
|
-
topLeftCorner: [
|
|
9908
|
+
scaleDenominator: 218391509386217e-8,
|
|
9909
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9952
9910
|
tileWidth: 256,
|
|
9953
9911
|
tileHeight: 256,
|
|
9954
9912
|
matrixWidth: 256,
|
|
@@ -9957,8 +9915,8 @@ var Citm2000Tmst = {
|
|
|
9957
9915
|
{
|
|
9958
9916
|
type: "TileMatrixType",
|
|
9959
9917
|
identifier: "9",
|
|
9960
|
-
scaleDenominator:
|
|
9961
|
-
topLeftCorner: [
|
|
9918
|
+
scaleDenominator: 109195754693108e-8,
|
|
9919
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9962
9920
|
tileWidth: 256,
|
|
9963
9921
|
tileHeight: 256,
|
|
9964
9922
|
matrixWidth: 512,
|
|
@@ -9967,8 +9925,8 @@ var Citm2000Tmst = {
|
|
|
9967
9925
|
{
|
|
9968
9926
|
type: "TileMatrixType",
|
|
9969
9927
|
identifier: "10",
|
|
9970
|
-
scaleDenominator:
|
|
9971
|
-
topLeftCorner: [
|
|
9928
|
+
scaleDenominator: 545978.773465544,
|
|
9929
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9972
9930
|
tileWidth: 256,
|
|
9973
9931
|
tileHeight: 256,
|
|
9974
9932
|
matrixWidth: 1024,
|
|
@@ -9977,8 +9935,8 @@ var Citm2000Tmst = {
|
|
|
9977
9935
|
{
|
|
9978
9936
|
type: "TileMatrixType",
|
|
9979
9937
|
identifier: "11",
|
|
9980
|
-
scaleDenominator:
|
|
9981
|
-
topLeftCorner: [
|
|
9938
|
+
scaleDenominator: 272989.386732772,
|
|
9939
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9982
9940
|
tileWidth: 256,
|
|
9983
9941
|
tileHeight: 256,
|
|
9984
9942
|
matrixWidth: 2048,
|
|
@@ -9987,8 +9945,8 @@ var Citm2000Tmst = {
|
|
|
9987
9945
|
{
|
|
9988
9946
|
type: "TileMatrixType",
|
|
9989
9947
|
identifier: "12",
|
|
9990
|
-
scaleDenominator:
|
|
9991
|
-
topLeftCorner: [
|
|
9948
|
+
scaleDenominator: 136494.693366386,
|
|
9949
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
9992
9950
|
tileWidth: 256,
|
|
9993
9951
|
tileHeight: 256,
|
|
9994
9952
|
matrixWidth: 4096,
|
|
@@ -9997,8 +9955,8 @@ var Citm2000Tmst = {
|
|
|
9997
9955
|
{
|
|
9998
9956
|
type: "TileMatrixType",
|
|
9999
9957
|
identifier: "13",
|
|
10000
|
-
scaleDenominator:
|
|
10001
|
-
topLeftCorner: [
|
|
9958
|
+
scaleDenominator: 68247.346683193,
|
|
9959
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10002
9960
|
tileWidth: 256,
|
|
10003
9961
|
tileHeight: 256,
|
|
10004
9962
|
matrixWidth: 8192,
|
|
@@ -10007,8 +9965,8 @@ var Citm2000Tmst = {
|
|
|
10007
9965
|
{
|
|
10008
9966
|
type: "TileMatrixType",
|
|
10009
9967
|
identifier: "14",
|
|
10010
|
-
scaleDenominator:
|
|
10011
|
-
topLeftCorner: [
|
|
9968
|
+
scaleDenominator: 34123.6733415964,
|
|
9969
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10012
9970
|
tileWidth: 256,
|
|
10013
9971
|
tileHeight: 256,
|
|
10014
9972
|
matrixWidth: 16384,
|
|
@@ -10017,8 +9975,8 @@ var Citm2000Tmst = {
|
|
|
10017
9975
|
{
|
|
10018
9976
|
type: "TileMatrixType",
|
|
10019
9977
|
identifier: "15",
|
|
10020
|
-
scaleDenominator:
|
|
10021
|
-
topLeftCorner: [
|
|
9978
|
+
scaleDenominator: 17061.8366707982,
|
|
9979
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10022
9980
|
tileWidth: 256,
|
|
10023
9981
|
tileHeight: 256,
|
|
10024
9982
|
matrixWidth: 32768,
|
|
@@ -10027,294 +9985,336 @@ var Citm2000Tmst = {
|
|
|
10027
9985
|
{
|
|
10028
9986
|
type: "TileMatrixType",
|
|
10029
9987
|
identifier: "16",
|
|
10030
|
-
scaleDenominator:
|
|
10031
|
-
topLeftCorner: [
|
|
9988
|
+
scaleDenominator: 8530.91833539913,
|
|
9989
|
+
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10032
9990
|
tileWidth: 256,
|
|
10033
9991
|
tileHeight: 256,
|
|
10034
9992
|
matrixWidth: 65536,
|
|
10035
9993
|
matrixHeight: 65536
|
|
10036
|
-
}
|
|
10037
|
-
],
|
|
10038
|
-
$generated: {
|
|
10039
|
-
package: "@basemaps/cli",
|
|
10040
|
-
version: "v7.14.0-4-g2766010d",
|
|
10041
|
-
hash: "2766010d8d2bb8b673f6bcbef2fe2636f2e0f4ea",
|
|
10042
|
-
createdAt: "2025-02-10T20:34:46.643Z"
|
|
10043
|
-
},
|
|
10044
|
-
$options: {
|
|
10045
|
-
sourceTileMatrix: "WebMercatorQuad",
|
|
10046
|
-
zoomOffset: 8
|
|
10047
|
-
}
|
|
10048
|
-
};
|
|
10049
|
-
var Citm2000Tms = new TileMatrixSet(Citm2000Tmst);
|
|
10050
|
-
|
|
10051
|
-
// ../geo/build/tms/google.js
|
|
10052
|
-
var GoogleTmst = {
|
|
10053
|
-
type: "TileMatrixSetType",
|
|
10054
|
-
title: "Google Maps Compatible for the World",
|
|
10055
|
-
identifier: "WebMercatorQuad",
|
|
10056
|
-
boundingBox: {
|
|
10057
|
-
type: "BoundingBoxType",
|
|
10058
|
-
crs: "http://www.opengis.net/def/crs/EPSG/0/3857",
|
|
10059
|
-
lowerCorner: [-200375083427892e-7, -200375083427892e-7],
|
|
10060
|
-
upperCorner: [200375083427892e-7, 200375083427892e-7]
|
|
10061
|
-
},
|
|
10062
|
-
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3857",
|
|
10063
|
-
wellKnownScaleSet: "https://www.opengis.net/def/wkss/OGC/1.0/GoogleMapsCompatible",
|
|
10064
|
-
tileMatrix: [
|
|
9994
|
+
},
|
|
10065
9995
|
{
|
|
10066
9996
|
type: "TileMatrixType",
|
|
10067
|
-
identifier: "
|
|
10068
|
-
scaleDenominator:
|
|
9997
|
+
identifier: "17",
|
|
9998
|
+
scaleDenominator: 4265.45916769956,
|
|
10069
9999
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10070
10000
|
tileWidth: 256,
|
|
10071
10001
|
tileHeight: 256,
|
|
10072
|
-
matrixWidth:
|
|
10073
|
-
matrixHeight:
|
|
10002
|
+
matrixWidth: 131072,
|
|
10003
|
+
matrixHeight: 131072
|
|
10074
10004
|
},
|
|
10075
10005
|
{
|
|
10076
10006
|
type: "TileMatrixType",
|
|
10077
|
-
identifier: "
|
|
10078
|
-
scaleDenominator:
|
|
10007
|
+
identifier: "18",
|
|
10008
|
+
scaleDenominator: 2132.72958384978,
|
|
10079
10009
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10080
10010
|
tileWidth: 256,
|
|
10081
10011
|
tileHeight: 256,
|
|
10082
|
-
matrixWidth:
|
|
10083
|
-
matrixHeight:
|
|
10012
|
+
matrixWidth: 262144,
|
|
10013
|
+
matrixHeight: 262144
|
|
10084
10014
|
},
|
|
10085
10015
|
{
|
|
10086
10016
|
type: "TileMatrixType",
|
|
10087
|
-
identifier: "
|
|
10088
|
-
scaleDenominator:
|
|
10017
|
+
identifier: "19",
|
|
10018
|
+
scaleDenominator: 1066.36479192489,
|
|
10089
10019
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10090
10020
|
tileWidth: 256,
|
|
10091
10021
|
tileHeight: 256,
|
|
10092
|
-
matrixWidth:
|
|
10093
|
-
matrixHeight:
|
|
10022
|
+
matrixWidth: 524288,
|
|
10023
|
+
matrixHeight: 524288
|
|
10094
10024
|
},
|
|
10095
10025
|
{
|
|
10096
10026
|
type: "TileMatrixType",
|
|
10097
|
-
identifier: "
|
|
10098
|
-
scaleDenominator:
|
|
10027
|
+
identifier: "20",
|
|
10028
|
+
scaleDenominator: 533.182395962445,
|
|
10099
10029
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10100
10030
|
tileWidth: 256,
|
|
10101
10031
|
tileHeight: 256,
|
|
10102
|
-
matrixWidth:
|
|
10103
|
-
matrixHeight:
|
|
10032
|
+
matrixWidth: 1048576,
|
|
10033
|
+
matrixHeight: 1048576
|
|
10104
10034
|
},
|
|
10105
10035
|
{
|
|
10106
10036
|
type: "TileMatrixType",
|
|
10107
|
-
identifier: "
|
|
10108
|
-
scaleDenominator:
|
|
10037
|
+
identifier: "21",
|
|
10038
|
+
scaleDenominator: 266.591197981222,
|
|
10109
10039
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10110
10040
|
tileWidth: 256,
|
|
10111
10041
|
tileHeight: 256,
|
|
10112
|
-
matrixWidth:
|
|
10113
|
-
matrixHeight:
|
|
10042
|
+
matrixWidth: 2097152,
|
|
10043
|
+
matrixHeight: 2097152
|
|
10114
10044
|
},
|
|
10115
10045
|
{
|
|
10116
10046
|
type: "TileMatrixType",
|
|
10117
|
-
identifier: "
|
|
10118
|
-
scaleDenominator:
|
|
10047
|
+
identifier: "22",
|
|
10048
|
+
scaleDenominator: 133.295598990611,
|
|
10119
10049
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10120
10050
|
tileWidth: 256,
|
|
10121
10051
|
tileHeight: 256,
|
|
10122
|
-
matrixWidth:
|
|
10123
|
-
matrixHeight:
|
|
10052
|
+
matrixWidth: 4194304,
|
|
10053
|
+
matrixHeight: 4194304
|
|
10124
10054
|
},
|
|
10125
10055
|
{
|
|
10126
10056
|
type: "TileMatrixType",
|
|
10127
|
-
identifier: "
|
|
10128
|
-
scaleDenominator:
|
|
10057
|
+
identifier: "23",
|
|
10058
|
+
scaleDenominator: 66.6477994953056,
|
|
10129
10059
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10130
10060
|
tileWidth: 256,
|
|
10131
10061
|
tileHeight: 256,
|
|
10132
|
-
matrixWidth:
|
|
10133
|
-
matrixHeight:
|
|
10062
|
+
matrixWidth: 8388608,
|
|
10063
|
+
matrixHeight: 8388608
|
|
10134
10064
|
},
|
|
10135
10065
|
{
|
|
10136
10066
|
type: "TileMatrixType",
|
|
10137
|
-
identifier: "
|
|
10138
|
-
scaleDenominator:
|
|
10067
|
+
identifier: "24",
|
|
10068
|
+
scaleDenominator: 33.3238997476528,
|
|
10139
10069
|
topLeftCorner: [-200375083427892e-7, 200375083427892e-7],
|
|
10140
10070
|
tileWidth: 256,
|
|
10141
10071
|
tileHeight: 256,
|
|
10142
|
-
matrixWidth:
|
|
10143
|
-
matrixHeight:
|
|
10144
|
-
}
|
|
10072
|
+
matrixWidth: 16777216,
|
|
10073
|
+
matrixHeight: 16777216
|
|
10074
|
+
}
|
|
10075
|
+
]
|
|
10076
|
+
};
|
|
10077
|
+
var GoogleTms = new TileMatrixSet(GoogleTmst);
|
|
10078
|
+
|
|
10079
|
+
// ../geo/build/proj/projection.loader.js
|
|
10080
|
+
var ProjectionLoader = class {
|
|
10081
|
+
/**
|
|
10082
|
+
* Ensure that a projection EPSG code is avialable for use in Proj4js
|
|
10083
|
+
*
|
|
10084
|
+
* If its not already loaded, lookup definition from spatialreference.org
|
|
10085
|
+
* @param code
|
|
10086
|
+
*/
|
|
10087
|
+
static async load(code) {
|
|
10088
|
+
if (Projection2.tryGet(code) != null)
|
|
10089
|
+
return Epsg.get(code);
|
|
10090
|
+
const url = `https://spatialreference.org/ref/epsg/${code}/ogcwkt/`;
|
|
10091
|
+
const res = await this._fetch(url);
|
|
10092
|
+
if (!res.ok)
|
|
10093
|
+
throw new Error("Failed to load projection information for:" + code);
|
|
10094
|
+
let epsg = Epsg.tryGet(code);
|
|
10095
|
+
if (epsg == null)
|
|
10096
|
+
epsg = new Epsg(code);
|
|
10097
|
+
const text = await res.text();
|
|
10098
|
+
Projection2.define(epsg, text);
|
|
10099
|
+
return epsg;
|
|
10100
|
+
}
|
|
10101
|
+
};
|
|
10102
|
+
Object.defineProperty(ProjectionLoader, "_fetch", {
|
|
10103
|
+
enumerable: true,
|
|
10104
|
+
configurable: true,
|
|
10105
|
+
writable: true,
|
|
10106
|
+
value: fetch
|
|
10107
|
+
});
|
|
10108
|
+
|
|
10109
|
+
// ../geo/build/proj/tile.set.name.js
|
|
10110
|
+
var TileSetName;
|
|
10111
|
+
(function(TileSetName2) {
|
|
10112
|
+
TileSetName2["aerial"] = "aerial";
|
|
10113
|
+
})(TileSetName || (TileSetName = {}));
|
|
10114
|
+
|
|
10115
|
+
// ../geo/build/quad.key.js
|
|
10116
|
+
var CHAR_0 = "0".charCodeAt(0);
|
|
10117
|
+
var CHAR_1 = "1".charCodeAt(0);
|
|
10118
|
+
var CHAR_2 = "2".charCodeAt(0);
|
|
10119
|
+
var CHAR_3 = "3".charCodeAt(0);
|
|
10120
|
+
|
|
10121
|
+
// ../geo/build/tms/citm2000.js
|
|
10122
|
+
var Citm2000Tmst = {
|
|
10123
|
+
type: "TileMatrixSetType",
|
|
10124
|
+
title: "Debug tile matrix for EPSG:3793",
|
|
10125
|
+
abstract: "",
|
|
10126
|
+
identifier: "CITM2000Quad",
|
|
10127
|
+
supportedCRS: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
10128
|
+
boundingBox: {
|
|
10129
|
+
type: "BoundingBoxType",
|
|
10130
|
+
crs: "https://www.opengis.net/def/crs/EPSG/0/3793",
|
|
10131
|
+
lowerCorner: [5051234111622438e-9, 3.4301543757978342e6],
|
|
10132
|
+
upperCorner: [5207777145550478e-9, 3.5866974097258747e6]
|
|
10133
|
+
},
|
|
10134
|
+
tileMatrix: [
|
|
10145
10135
|
{
|
|
10146
10136
|
type: "TileMatrixType",
|
|
10147
|
-
identifier: "
|
|
10137
|
+
identifier: "0",
|
|
10148
10138
|
scaleDenominator: 218391509386217e-8,
|
|
10149
|
-
topLeftCorner: [-
|
|
10139
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10150
10140
|
tileWidth: 256,
|
|
10151
10141
|
tileHeight: 256,
|
|
10152
|
-
matrixWidth:
|
|
10153
|
-
matrixHeight:
|
|
10142
|
+
matrixWidth: 1,
|
|
10143
|
+
matrixHeight: 1
|
|
10154
10144
|
},
|
|
10155
10145
|
{
|
|
10156
10146
|
type: "TileMatrixType",
|
|
10157
|
-
identifier: "
|
|
10147
|
+
identifier: "1",
|
|
10158
10148
|
scaleDenominator: 109195754693108e-8,
|
|
10159
|
-
topLeftCorner: [-
|
|
10149
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10160
10150
|
tileWidth: 256,
|
|
10161
10151
|
tileHeight: 256,
|
|
10162
|
-
matrixWidth:
|
|
10163
|
-
matrixHeight:
|
|
10152
|
+
matrixWidth: 2,
|
|
10153
|
+
matrixHeight: 2
|
|
10164
10154
|
},
|
|
10165
10155
|
{
|
|
10166
10156
|
type: "TileMatrixType",
|
|
10167
|
-
identifier: "
|
|
10157
|
+
identifier: "2",
|
|
10168
10158
|
scaleDenominator: 545978.773465544,
|
|
10169
|
-
topLeftCorner: [-
|
|
10159
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10170
10160
|
tileWidth: 256,
|
|
10171
10161
|
tileHeight: 256,
|
|
10172
|
-
matrixWidth:
|
|
10173
|
-
matrixHeight:
|
|
10162
|
+
matrixWidth: 4,
|
|
10163
|
+
matrixHeight: 4
|
|
10174
10164
|
},
|
|
10175
10165
|
{
|
|
10176
10166
|
type: "TileMatrixType",
|
|
10177
|
-
identifier: "
|
|
10167
|
+
identifier: "3",
|
|
10178
10168
|
scaleDenominator: 272989.386732772,
|
|
10179
|
-
topLeftCorner: [-
|
|
10169
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10180
10170
|
tileWidth: 256,
|
|
10181
10171
|
tileHeight: 256,
|
|
10182
|
-
matrixWidth:
|
|
10183
|
-
matrixHeight:
|
|
10172
|
+
matrixWidth: 8,
|
|
10173
|
+
matrixHeight: 8
|
|
10184
10174
|
},
|
|
10185
10175
|
{
|
|
10186
10176
|
type: "TileMatrixType",
|
|
10187
|
-
identifier: "
|
|
10177
|
+
identifier: "4",
|
|
10188
10178
|
scaleDenominator: 136494.693366386,
|
|
10189
|
-
topLeftCorner: [-
|
|
10179
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10190
10180
|
tileWidth: 256,
|
|
10191
10181
|
tileHeight: 256,
|
|
10192
|
-
matrixWidth:
|
|
10193
|
-
matrixHeight:
|
|
10182
|
+
matrixWidth: 16,
|
|
10183
|
+
matrixHeight: 16
|
|
10194
10184
|
},
|
|
10195
10185
|
{
|
|
10196
10186
|
type: "TileMatrixType",
|
|
10197
|
-
identifier: "
|
|
10187
|
+
identifier: "5",
|
|
10198
10188
|
scaleDenominator: 68247.346683193,
|
|
10199
|
-
topLeftCorner: [-
|
|
10189
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10200
10190
|
tileWidth: 256,
|
|
10201
10191
|
tileHeight: 256,
|
|
10202
|
-
matrixWidth:
|
|
10203
|
-
matrixHeight:
|
|
10192
|
+
matrixWidth: 32,
|
|
10193
|
+
matrixHeight: 32
|
|
10204
10194
|
},
|
|
10205
10195
|
{
|
|
10206
10196
|
type: "TileMatrixType",
|
|
10207
|
-
identifier: "
|
|
10197
|
+
identifier: "6",
|
|
10208
10198
|
scaleDenominator: 34123.6733415964,
|
|
10209
|
-
topLeftCorner: [-
|
|
10199
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10210
10200
|
tileWidth: 256,
|
|
10211
10201
|
tileHeight: 256,
|
|
10212
|
-
matrixWidth:
|
|
10213
|
-
matrixHeight:
|
|
10202
|
+
matrixWidth: 64,
|
|
10203
|
+
matrixHeight: 64
|
|
10214
10204
|
},
|
|
10215
10205
|
{
|
|
10216
10206
|
type: "TileMatrixType",
|
|
10217
|
-
identifier: "
|
|
10207
|
+
identifier: "7",
|
|
10218
10208
|
scaleDenominator: 17061.8366707982,
|
|
10219
|
-
topLeftCorner: [-
|
|
10209
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10220
10210
|
tileWidth: 256,
|
|
10221
10211
|
tileHeight: 256,
|
|
10222
|
-
matrixWidth:
|
|
10223
|
-
matrixHeight:
|
|
10212
|
+
matrixWidth: 128,
|
|
10213
|
+
matrixHeight: 128
|
|
10224
10214
|
},
|
|
10225
10215
|
{
|
|
10226
10216
|
type: "TileMatrixType",
|
|
10227
|
-
identifier: "
|
|
10217
|
+
identifier: "8",
|
|
10228
10218
|
scaleDenominator: 8530.91833539913,
|
|
10229
|
-
topLeftCorner: [-
|
|
10219
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10230
10220
|
tileWidth: 256,
|
|
10231
10221
|
tileHeight: 256,
|
|
10232
|
-
matrixWidth:
|
|
10233
|
-
matrixHeight:
|
|
10222
|
+
matrixWidth: 256,
|
|
10223
|
+
matrixHeight: 256
|
|
10234
10224
|
},
|
|
10235
10225
|
{
|
|
10236
10226
|
type: "TileMatrixType",
|
|
10237
|
-
identifier: "
|
|
10227
|
+
identifier: "9",
|
|
10238
10228
|
scaleDenominator: 4265.45916769956,
|
|
10239
|
-
topLeftCorner: [-
|
|
10229
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10240
10230
|
tileWidth: 256,
|
|
10241
10231
|
tileHeight: 256,
|
|
10242
|
-
matrixWidth:
|
|
10243
|
-
matrixHeight:
|
|
10232
|
+
matrixWidth: 512,
|
|
10233
|
+
matrixHeight: 512
|
|
10244
10234
|
},
|
|
10245
10235
|
{
|
|
10246
10236
|
type: "TileMatrixType",
|
|
10247
|
-
identifier: "
|
|
10237
|
+
identifier: "10",
|
|
10248
10238
|
scaleDenominator: 2132.72958384978,
|
|
10249
|
-
topLeftCorner: [-
|
|
10239
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10250
10240
|
tileWidth: 256,
|
|
10251
10241
|
tileHeight: 256,
|
|
10252
|
-
matrixWidth:
|
|
10253
|
-
matrixHeight:
|
|
10242
|
+
matrixWidth: 1024,
|
|
10243
|
+
matrixHeight: 1024
|
|
10254
10244
|
},
|
|
10255
10245
|
{
|
|
10256
10246
|
type: "TileMatrixType",
|
|
10257
|
-
identifier: "
|
|
10247
|
+
identifier: "11",
|
|
10258
10248
|
scaleDenominator: 1066.36479192489,
|
|
10259
|
-
topLeftCorner: [-
|
|
10249
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10260
10250
|
tileWidth: 256,
|
|
10261
10251
|
tileHeight: 256,
|
|
10262
|
-
matrixWidth:
|
|
10263
|
-
matrixHeight:
|
|
10252
|
+
matrixWidth: 2048,
|
|
10253
|
+
matrixHeight: 2048
|
|
10264
10254
|
},
|
|
10265
10255
|
{
|
|
10266
10256
|
type: "TileMatrixType",
|
|
10267
|
-
identifier: "
|
|
10257
|
+
identifier: "12",
|
|
10268
10258
|
scaleDenominator: 533.182395962445,
|
|
10269
|
-
topLeftCorner: [-
|
|
10259
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10270
10260
|
tileWidth: 256,
|
|
10271
10261
|
tileHeight: 256,
|
|
10272
|
-
matrixWidth:
|
|
10273
|
-
matrixHeight:
|
|
10262
|
+
matrixWidth: 4096,
|
|
10263
|
+
matrixHeight: 4096
|
|
10274
10264
|
},
|
|
10275
10265
|
{
|
|
10276
10266
|
type: "TileMatrixType",
|
|
10277
|
-
identifier: "
|
|
10267
|
+
identifier: "13",
|
|
10278
10268
|
scaleDenominator: 266.591197981222,
|
|
10279
|
-
topLeftCorner: [-
|
|
10269
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10280
10270
|
tileWidth: 256,
|
|
10281
10271
|
tileHeight: 256,
|
|
10282
|
-
matrixWidth:
|
|
10283
|
-
matrixHeight:
|
|
10272
|
+
matrixWidth: 8192,
|
|
10273
|
+
matrixHeight: 8192
|
|
10284
10274
|
},
|
|
10285
10275
|
{
|
|
10286
10276
|
type: "TileMatrixType",
|
|
10287
|
-
identifier: "
|
|
10277
|
+
identifier: "14",
|
|
10288
10278
|
scaleDenominator: 133.295598990611,
|
|
10289
|
-
topLeftCorner: [-
|
|
10279
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10290
10280
|
tileWidth: 256,
|
|
10291
10281
|
tileHeight: 256,
|
|
10292
|
-
matrixWidth:
|
|
10293
|
-
matrixHeight:
|
|
10282
|
+
matrixWidth: 16384,
|
|
10283
|
+
matrixHeight: 16384
|
|
10294
10284
|
},
|
|
10295
10285
|
{
|
|
10296
10286
|
type: "TileMatrixType",
|
|
10297
|
-
identifier: "
|
|
10287
|
+
identifier: "15",
|
|
10298
10288
|
scaleDenominator: 66.6477994953056,
|
|
10299
|
-
topLeftCorner: [-
|
|
10289
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10300
10290
|
tileWidth: 256,
|
|
10301
10291
|
tileHeight: 256,
|
|
10302
|
-
matrixWidth:
|
|
10303
|
-
matrixHeight:
|
|
10292
|
+
matrixWidth: 32768,
|
|
10293
|
+
matrixHeight: 32768
|
|
10304
10294
|
},
|
|
10305
10295
|
{
|
|
10306
10296
|
type: "TileMatrixType",
|
|
10307
|
-
identifier: "
|
|
10297
|
+
identifier: "16",
|
|
10308
10298
|
scaleDenominator: 33.3238997476528,
|
|
10309
|
-
topLeftCorner: [-
|
|
10299
|
+
topLeftCorner: [5207777145550478e-9, 3.4301543757978342e6],
|
|
10310
10300
|
tileWidth: 256,
|
|
10311
10301
|
tileHeight: 256,
|
|
10312
|
-
matrixWidth:
|
|
10313
|
-
matrixHeight:
|
|
10302
|
+
matrixWidth: 65536,
|
|
10303
|
+
matrixHeight: 65536
|
|
10314
10304
|
}
|
|
10315
|
-
]
|
|
10305
|
+
],
|
|
10306
|
+
$generated: {
|
|
10307
|
+
package: "@basemaps/cli",
|
|
10308
|
+
version: "v7.14.0-4-g2766010d",
|
|
10309
|
+
hash: "2766010d8d2bb8b673f6bcbef2fe2636f2e0f4ea",
|
|
10310
|
+
createdAt: "2025-02-10T20:34:46.643Z"
|
|
10311
|
+
},
|
|
10312
|
+
$options: {
|
|
10313
|
+
sourceTileMatrix: "WebMercatorQuad",
|
|
10314
|
+
zoomOffset: 8
|
|
10315
|
+
}
|
|
10316
10316
|
};
|
|
10317
|
-
var
|
|
10317
|
+
var Citm2000Tms = new TileMatrixSet(Citm2000Tmst);
|
|
10318
10318
|
|
|
10319
10319
|
// ../geo/build/tms/nztm2000.js
|
|
10320
10320
|
var Nztm20002 = __toESM(require_src(), 1);
|