@opengeoweb/webmap 9.25.3 → 9.26.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/index.esm.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { compact, range, isEqual } from 'lodash';
|
|
2
|
-
import { dateUtils, defaultDelay as defaultDelay$1 } from '@opengeoweb/shared';
|
|
2
|
+
import { PROJECTION, dateUtils, defaultDelay as defaultDelay$1 } from '@opengeoweb/shared';
|
|
3
3
|
import { debounce, throttle } from 'throttle-debounce';
|
|
4
4
|
import proj4 from 'proj4';
|
|
5
5
|
|
|
@@ -5150,28 +5150,13 @@ const WMSVersion = {
|
|
|
5150
5150
|
version111: '1.1.1',
|
|
5151
5151
|
version130: '1.3.0'
|
|
5152
5152
|
};
|
|
5153
|
-
const WMProj4Defs = [[
|
|
5154
|
-
const epsgDescriptionLookup = {
|
|
5155
|
-
'EPSG:3411': 'NSIDC Sea Ice Polar Stereographic North',
|
|
5156
|
-
'EPSG:3412': 'NSIDC Sea Ice Polar Stereographic South',
|
|
5157
|
-
'EPSG:3575': 'Lambert azimuthal equal-area projection Europe',
|
|
5158
|
-
'EPSG:3785': 'Mercator (deprecated)',
|
|
5159
|
-
'EPSG:3857': 'Mercator',
|
|
5160
|
-
'EPSG:4258': 'ETRS89',
|
|
5161
|
-
'EPSG:4326': 'World Lat lon WGS84',
|
|
5162
|
-
'CRS:84': 'World Lat lon WGS84',
|
|
5163
|
-
'EPSG:25831': 'ETRS89 / UTM zone 31N',
|
|
5164
|
-
'EPSG:25832': 'ETRS89 / UTM zone 32N',
|
|
5165
|
-
'EPSG:28992': 'Dutch Amersfoort / RD New',
|
|
5166
|
-
'EPSG:32661': 'Polar Stereographic WGS 84 / UPS North',
|
|
5167
|
-
'EPSG:3067': 'ETRS89 / TM35FIN(E,N) -- Finland'
|
|
5168
|
-
};
|
|
5153
|
+
const WMProj4Defs = [[PROJECTION.EPSG_4326.value, '+title=WGS 84 (long/lat) +proj=longlat +ellps=WGS84 +datum=WGS84 +units=degrees'], [PROJECTION.EPSG_4269.value, '+title=NAD83 (long/lat) +proj=longlat +a=6378137.0 +b=6356752.31414036 +ellps=GRS80 +datum=NAD83 +units=degrees'], [PROJECTION.EPSG_3575.value, '+proj=laea +lat_0=90 +lon_0=10 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs'], [PROJECTION.EPSG_3785.value, '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs'], [PROJECTION.EPSG_3857.value, '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs'], [PROJECTION.EPSG_3411.value, '+proj=stere +lat_0=90 +lat_ts=70 +lon_0=-45 +k=1 +x_0=0 +y_0=0 +a=6378273 +b=6356889.449 +units=m +no_defs'], [PROJECTION.EPSG_3412.value, '+proj=stere +lat_0=-90 +lat_ts=-70 +lon_0=0 +k=1 +x_0=0 +y_0=0 +a=6378273 +b=6356889.449 +units=m +no_defs'], [PROJECTION.EPSG_28992.value, '+proj=sterea +lat_0=52.15616055555555 +lon_0=5.38763888888889 +k=0.9999079 +x_0=155000 +y_0=463000 +ellps=bessel +units=m +no_defs <>'], [PROJECTION.EPSG_32661.value, '+proj=stere +lat_0=90 +lat_ts=90 +lon_0=0 +k=0.994 +x_0=2000000 +y_0=2000000 +ellps=WGS84 +datum=WGS84 +units=m +no_defs'], [PROJECTION.EPSG_102100.value, '+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs'], [PROJECTION.EPSG_3067.value, '+proj=utm +zone=35 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs +type=crs']];
|
|
5169
5154
|
const mapImageStoreLength = 1000;
|
|
5170
5155
|
const bgImageStoreLength = 360;
|
|
5171
5156
|
const legendImageStoreLength = 500;
|
|
5172
5157
|
const EVENT_GETCAPABILITIES_START = 'onstartgetcapabilities';
|
|
5173
5158
|
const EVENT_GETCAPABILITIES_READY = 'onreadygetcapabilities';
|
|
5174
|
-
const WMJSMAP_LONLAT_EPSGCODE =
|
|
5159
|
+
const WMJSMAP_LONLAT_EPSGCODE = PROJECTION.EPSG_4326.value;
|
|
5175
5160
|
|
|
5176
5161
|
/* debug helper */
|
|
5177
5162
|
const enableConsoleDebugging = false;
|
|
@@ -5529,6 +5514,7 @@ const flattenLayerTree = layerTree => {
|
|
|
5529
5514
|
* @returns
|
|
5530
5515
|
*/
|
|
5531
5516
|
const makeNodeLayerFromWMSGetCapabilityLayer = (layer, path = [], isleaf = false, nestedLayerPath = []) => {
|
|
5517
|
+
var _a, _b;
|
|
5532
5518
|
const geographicBoundingBox = nestedLayerPath.reverse().reduce((p, c) => {
|
|
5533
5519
|
return p || c.geographicBoundingBox;
|
|
5534
5520
|
}, addBoundingBoxForLayer(layer));
|
|
@@ -5567,7 +5553,7 @@ const makeNodeLayerFromWMSGetCapabilityLayer = (layer, path = [], isleaf = false
|
|
|
5567
5553
|
title: layerTitle || 'Layer',
|
|
5568
5554
|
leaf: isleaf,
|
|
5569
5555
|
path,
|
|
5570
|
-
keywords: toArray(layer.KeywordList
|
|
5556
|
+
keywords: toArray((_b = (_a = layer.KeywordList) === null || _a === void 0 ? void 0 : _a.Keyword) !== null && _b !== void 0 ? _b : []).map(keyword => keyword.value).filter(Boolean),
|
|
5571
5557
|
abstract: layer.Abstract ? layer.Abstract.value : undefined,
|
|
5572
5558
|
styles,
|
|
5573
5559
|
dimensions,
|
|
@@ -11728,7 +11714,7 @@ const getBBOXandProjString = (layer, projection) => {
|
|
|
11728
11714
|
}
|
|
11729
11715
|
if (layer.version === WMSVersion.version130) {
|
|
11730
11716
|
request += `CRS=${URLEncode(srs)}&`;
|
|
11731
|
-
if (srs ===
|
|
11717
|
+
if (srs === PROJECTION.EPSG_4326.value && layer.wms130bboxcompatibilitymode === false) {
|
|
11732
11718
|
request += `BBOX=${bbox.bottom},${bbox.left},${bbox.top},${bbox.right}&`;
|
|
11733
11719
|
} else {
|
|
11734
11720
|
request += `BBOX=${bbox.left},${bbox.bottom},${bbox.right},${bbox.top}&`;
|
|
@@ -12531,7 +12517,7 @@ class WMTileRenderer {
|
|
|
12531
12517
|
}
|
|
12532
12518
|
}
|
|
12533
12519
|
};
|
|
12534
|
-
if (srs ===
|
|
12520
|
+
if (srs === PROJECTION.EPSG_4326.value || srs === PROJECTION.EPSG_4258.value) {
|
|
12535
12521
|
numTilesAtLevelX *= 2;
|
|
12536
12522
|
}
|
|
12537
12523
|
if (tilenbottom < 1) {
|
|
@@ -13325,23 +13311,6 @@ class MapPin {
|
|
|
13325
13311
|
}
|
|
13326
13312
|
}
|
|
13327
13313
|
|
|
13328
|
-
/* *
|
|
13329
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
13330
|
-
* you may not use this file except in compliance with the License.
|
|
13331
|
-
* You may obtain a copy of the License at
|
|
13332
|
-
*
|
|
13333
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
13334
|
-
*
|
|
13335
|
-
* Unless required by applicable law or agreed to in writing, software
|
|
13336
|
-
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
13337
|
-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
13338
|
-
* See the License for the specific language governing permissions and
|
|
13339
|
-
* limitations under the License.
|
|
13340
|
-
*
|
|
13341
|
-
* Copyright 2024 - Koninklijk Nederlands Meteorologisch Instituut (KNMI)
|
|
13342
|
-
* Copyright 2024 - Finnish Meteorological Institute (FMI)
|
|
13343
|
-
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
13344
|
-
* */
|
|
13345
13314
|
/* eslint-disable no-param-reassign */
|
|
13346
13315
|
const drawTextBG = (ctx, txt, x, y, fontSize) => {
|
|
13347
13316
|
ctx.textBaseline = 'top';
|
|
@@ -13451,31 +13420,31 @@ const drawScaleBar = (scaleBarProps, ctx) => {
|
|
|
13451
13420
|
ctx.moveTo(offsetX + scaleBarProps.width * 2 + 1, scaleBarHeight - 2 + offsetY);
|
|
13452
13421
|
ctx.lineTo(offsetX + scaleBarProps.width * 2 + 1, scaleBarHeight - 2 - 7 + offsetY);
|
|
13453
13422
|
let units = '';
|
|
13454
|
-
if (srs ===
|
|
13423
|
+
if (srs === PROJECTION.EPSG_3411.value) {
|
|
13455
13424
|
units = 'meter';
|
|
13456
13425
|
}
|
|
13457
|
-
if (srs ===
|
|
13426
|
+
if (srs === PROJECTION.EPSG_3412.value) {
|
|
13458
13427
|
units = 'meter';
|
|
13459
13428
|
}
|
|
13460
|
-
if (srs ===
|
|
13429
|
+
if (srs === PROJECTION.EPSG_3575.value) {
|
|
13461
13430
|
units = 'meter';
|
|
13462
13431
|
}
|
|
13463
|
-
if (srs ===
|
|
13432
|
+
if (srs === PROJECTION.EPSG_4326.value) {
|
|
13464
13433
|
units = 'degrees';
|
|
13465
13434
|
}
|
|
13466
|
-
if (srs ===
|
|
13435
|
+
if (srs === PROJECTION.EPSG_28992.value) {
|
|
13467
13436
|
units = 'meter';
|
|
13468
13437
|
}
|
|
13469
|
-
if (srs ===
|
|
13438
|
+
if (srs === PROJECTION.EPSG_32661.value) {
|
|
13470
13439
|
units = 'meter';
|
|
13471
13440
|
}
|
|
13472
|
-
if (srs ===
|
|
13441
|
+
if (srs === PROJECTION.EPSG_3857.value) {
|
|
13473
13442
|
units = 'meter';
|
|
13474
13443
|
}
|
|
13475
|
-
if (srs ===
|
|
13444
|
+
if (srs === PROJECTION.EPSG_900913.value) {
|
|
13476
13445
|
units = 'meter';
|
|
13477
13446
|
}
|
|
13478
|
-
if (srs ===
|
|
13447
|
+
if (srs === PROJECTION.EPSG_102100.value) {
|
|
13479
13448
|
units = 'meter';
|
|
13480
13449
|
}
|
|
13481
13450
|
if (units === 'meter') {
|
|
@@ -13762,7 +13731,7 @@ class WMJSMap {
|
|
|
13762
13731
|
const xText = Math.round(this.mouseGeoCoordXY.x * roundingFactor) / roundingFactor;
|
|
13763
13732
|
const yText = Math.round(this.mouseGeoCoordXY.y * roundingFactor) / roundingFactor;
|
|
13764
13733
|
let units = '';
|
|
13765
|
-
if (this._srs ===
|
|
13734
|
+
if (this._srs === PROJECTION.EPSG_3857.value) {
|
|
13766
13735
|
units = 'meter';
|
|
13767
13736
|
}
|
|
13768
13737
|
ctx.fillText(`CoordYX: (${yText}, ${xText}) ${units}`, 5, this._height - 50);
|
|
@@ -13892,7 +13861,7 @@ class WMJSMap {
|
|
|
13892
13861
|
this._bbox.bottom = -90;
|
|
13893
13862
|
this._bbox.right = 180;
|
|
13894
13863
|
this._bbox.top = 90;
|
|
13895
|
-
this._srs =
|
|
13864
|
+
this._srs = PROJECTION.EPSG_4326.value;
|
|
13896
13865
|
// IMAGE buffer
|
|
13897
13866
|
this.canvasLayerBuffer = new WMCanvasBuffer(this, this._width, this._height, {
|
|
13898
13867
|
beforecanvasstartdraw: this._adagucBeforeDraw,
|
|
@@ -13996,7 +13965,7 @@ class WMJSMap {
|
|
|
13996
13965
|
}
|
|
13997
13966
|
if (!projinfo.srs || !projinfo.bbox) {
|
|
13998
13967
|
debugLogger(DebugType.Error);
|
|
13999
|
-
projinfo.srs =
|
|
13968
|
+
projinfo.srs = PROJECTION.EPSG_4326.value;
|
|
14000
13969
|
projinfo.bbox.left = -180;
|
|
14001
13970
|
projinfo.bbox.bottom = -90;
|
|
14002
13971
|
projinfo.bbox.right = 180;
|
|
@@ -14986,14 +14955,14 @@ class WMJSMap {
|
|
|
14986
14955
|
*/
|
|
14987
14956
|
setProjection(_srs, _bbox) {
|
|
14988
14957
|
if (!_srs) {
|
|
14989
|
-
_srs =
|
|
14958
|
+
_srs = PROJECTION.EPSG_4326.value;
|
|
14990
14959
|
}
|
|
14991
14960
|
if (typeof _srs === 'object') {
|
|
14992
14961
|
_bbox = new WMBBOX(_srs.bbox);
|
|
14993
14962
|
_srs = _srs.srs;
|
|
14994
14963
|
}
|
|
14995
14964
|
if (!_srs) {
|
|
14996
|
-
_srs =
|
|
14965
|
+
_srs = PROJECTION.EPSG_4326.value;
|
|
14997
14966
|
}
|
|
14998
14967
|
if (this._srs !== _srs) {
|
|
14999
14968
|
this._defaultBBOX.setBBOX(_bbox);
|
|
@@ -15682,7 +15651,7 @@ class WMJSMap {
|
|
|
15682
15651
|
class WMProjection {
|
|
15683
15652
|
constructor() {
|
|
15684
15653
|
this.bbox = new WMBBOX();
|
|
15685
|
-
this.srs =
|
|
15654
|
+
this.srs = PROJECTION.EPSG_4326.value;
|
|
15686
15655
|
}
|
|
15687
15656
|
}
|
|
15688
15657
|
|
|
@@ -16144,7 +16113,7 @@ class WMLayer {
|
|
|
16144
16113
|
const wmProjection = new WMProjection();
|
|
16145
16114
|
wmProjection.srs = p.name || '';
|
|
16146
16115
|
if (p.bbox) {
|
|
16147
|
-
const swapBBOX = this.version === WMSVersion.version130 && wmProjection.srs ===
|
|
16116
|
+
const swapBBOX = this.version === WMSVersion.version130 && wmProjection.srs === PROJECTION.EPSG_4326.value && this.wms130bboxcompatibilitymode === false;
|
|
16148
16117
|
if (swapBBOX) {
|
|
16149
16118
|
wmProjection.bbox.setBBOX(p.bbox.bottom, p.bbox.left, p.bbox.top, p.bbox.right);
|
|
16150
16119
|
} else {
|
|
@@ -17048,20 +17017,6 @@ var testSettings = /*#__PURE__*/Object.freeze({
|
|
|
17048
17017
|
* Copyright 2020 - Finnish Meteorological Institute (FMI)
|
|
17049
17018
|
* Copyright 2024 - The Norwegian Meteorological Institute (MET Norway)
|
|
17050
17019
|
* */
|
|
17051
|
-
var EPSGCode;
|
|
17052
|
-
(function (EPSGCode) {
|
|
17053
|
-
EPSGCode["EPSG3857"] = "EPSG:3857";
|
|
17054
|
-
EPSGCode["EPSG28992"] = "EPSG:28992";
|
|
17055
|
-
EPSGCode["TODO_EPSG4326"] = "TODO__EPSG:4326";
|
|
17056
|
-
EPSGCode["EPSG3411"] = "EPSG:3411";
|
|
17057
|
-
EPSGCode["EPSG32661"] = "EPSG:32661";
|
|
17058
|
-
EPSGCode["EPSG54030"] = "EPSG:54030";
|
|
17059
|
-
EPSGCode["EPSG4326"] = "EPSG:4326";
|
|
17060
|
-
EPSGCode["EPSG4258"] = "EPSG:4258";
|
|
17061
|
-
EPSGCode["EPSG3412"] = "EPSG:3412";
|
|
17062
|
-
EPSGCode["EPSG3575"] = "EPSG:3575";
|
|
17063
|
-
EPSGCode["EPSG3067"] = "EPSG:3067";
|
|
17064
|
-
})(EPSGCode || (EPSGCode = {}));
|
|
17065
17020
|
const tilesettings = {
|
|
17066
17021
|
WorldMap_Light_Grey_Canvas: {
|
|
17067
17022
|
'EPSG:3857': {
|
|
@@ -17157,16 +17112,17 @@ const tilesettings = {
|
|
|
17157
17112
|
tileServerType: 'osm',
|
|
17158
17113
|
copyRight: 'Natural Earth II | Ingmapping'
|
|
17159
17114
|
},
|
|
17160
|
-
|
|
17161
|
-
|
|
17162
|
-
|
|
17163
|
-
|
|
17164
|
-
|
|
17165
|
-
|
|
17166
|
-
|
|
17167
|
-
|
|
17168
|
-
|
|
17169
|
-
|
|
17115
|
+
/* TODO
|
|
17116
|
+
'EPSG:4326': {
|
|
17117
|
+
home: 'https://geoweb-maps-assets.pmc.knmi.cloud/WorldMap/EPSG4326/',
|
|
17118
|
+
minLevel: 0,
|
|
17119
|
+
maxLevel: 9,
|
|
17120
|
+
origX: -180,
|
|
17121
|
+
origY: 90,
|
|
17122
|
+
resolution: 1.422222,
|
|
17123
|
+
tileServerType: 'osm',
|
|
17124
|
+
copyRight: 'Natural Earth II | Ingmapping',
|
|
17125
|
+
}, */
|
|
17170
17126
|
'EPSG:3411': {
|
|
17171
17127
|
home: 'https://geoweb-maps-assets.pmc.knmi.cloud/WorldMap/EPSG3411/',
|
|
17172
17128
|
minLevel: 3,
|
|
@@ -17955,4 +17911,4 @@ var getCapabilities = /*#__PURE__*/Object.freeze({
|
|
|
17955
17911
|
recurseNodes: recurseNodes
|
|
17956
17912
|
});
|
|
17957
17913
|
|
|
17958
|
-
export { DateInterval, DebugType,
|
|
17914
|
+
export { DateInterval, DebugType, EVENT_GETCAPABILITIES_READY, EVENT_GETCAPABILITIES_START, I18n, LayerType, ParseISOTimeRangeDuration, URLDecode, URLEncode, WMBBOX, WMDateOutSideRange, WMDateTooEarlyString, WMDateTooLateString, WMEmptyLayerName, WMEmptyLayerTitle, WMGetServiceFromStore, WMImage, WMImageEventType, WMJSDimension, WMJSMAP_LONLAT_EPSGCODE, WMJSMap, WMJSService, WMJScheckURL, WMLayer, WMListener, WMProj4Defs, WMProjection, WMSJSMAP_MINIMUM_MAP_HEIGHT, WMSJSMAP_MINIMUM_MAP_WIDTH, WMSVersion, bgImageStoreLength, buildMapLayerDims, buildWMSGetMapRequest, clearImageCacheForAllMaps, debugLogger, defaultReduxLayerRadarKNMI, detectLeftButton, detectRightButton, drawScaleBar, drawTextBG, generateLayerId, generateMapId, generateTimesliderId, getBBOXandProjString, getCapabilities, getErrorsToDisplay, getGeoCoordFromLatLong, getGeoCoordFromPixelCoord, getLatLongFromPixelCoord, getLayerIndex, getLegendGraphicURLForLayer, getPixelCoordFromGeoCoord, getPixelCoordFromLatLong, getScaleBarProperties, getSpeedDelay, getUriWithParam, getWMJSDimensionForLayerAndDimension, getWMJSMapById, getWMJSMapIds, getWMJSTimeDimensionForLayerId, getWMLayerById, getWMSGetFeatureInfoRequestURL, getWMSRequests, handleDateUtilsISOString, isDefined, isProjectionSupported, legendImageStore, legendImageStoreLength, mapConstants, mapImageStoreLength, mockGetCapabilities, multiDimensionLayer, parseISO8601DateToDate, parseISO8601IntervalToDateInterval, registerWMJSMap, registerWMLayer, roundWithTimeStep, speedFactors, tilesettings, toArray, unRegisterAllWMJSLayersAndMaps, unRegisterWMJSLayer, unRegisterWMJSMap, testSettings as webmapTestSettings, utils as webmapUtils, wmServiceListener };
|
package/package.json
CHANGED
|
@@ -11,24 +11,9 @@ export declare const WMSVersion: {
|
|
|
11
11
|
version130: string;
|
|
12
12
|
};
|
|
13
13
|
export declare const WMProj4Defs: string[][];
|
|
14
|
-
export declare const epsgDescriptionLookup: {
|
|
15
|
-
'EPSG:3411': string;
|
|
16
|
-
'EPSG:3412': string;
|
|
17
|
-
'EPSG:3575': string;
|
|
18
|
-
'EPSG:3785': string;
|
|
19
|
-
'EPSG:3857': string;
|
|
20
|
-
'EPSG:4258': string;
|
|
21
|
-
'EPSG:4326': string;
|
|
22
|
-
'CRS:84': string;
|
|
23
|
-
'EPSG:25831': string;
|
|
24
|
-
'EPSG:25832': string;
|
|
25
|
-
'EPSG:28992': string;
|
|
26
|
-
'EPSG:32661': string;
|
|
27
|
-
'EPSG:3067': string;
|
|
28
|
-
};
|
|
29
14
|
export declare const mapImageStoreLength = 1000;
|
|
30
15
|
export declare const bgImageStoreLength = 360;
|
|
31
16
|
export declare const legendImageStoreLength = 500;
|
|
32
17
|
export declare const EVENT_GETCAPABILITIES_START = "onstartgetcapabilities";
|
|
33
18
|
export declare const EVENT_GETCAPABILITIES_READY = "onreadygetcapabilities";
|
|
34
|
-
export declare const WMJSMAP_LONLAT_EPSGCODE
|
|
19
|
+
export declare const WMJSMAP_LONLAT_EPSGCODE: "EPSG:4326";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { EPSGCode } from '@opengeoweb/shared';
|
|
2
|
+
import type { TileServerMap, TileSettings } from '../utils';
|
|
2
3
|
import WMBBOX from './WMBBOX';
|
|
3
4
|
import WMImageStore from './WMImageStore';
|
|
4
5
|
export default class WMTileRenderer {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EPSGCode } from '@opengeoweb/shared';
|
|
1
2
|
export interface TileSettings {
|
|
2
3
|
home: string;
|
|
3
4
|
minLevel: number;
|
|
@@ -12,21 +13,8 @@ export interface TileSettings {
|
|
|
12
13
|
tileServerFormat?: string;
|
|
13
14
|
tms?: boolean;
|
|
14
15
|
}
|
|
15
|
-
export declare enum EPSGCode {
|
|
16
|
-
EPSG3857 = "EPSG:3857",
|
|
17
|
-
EPSG28992 = "EPSG:28992",
|
|
18
|
-
TODO_EPSG4326 = "TODO__EPSG:4326",
|
|
19
|
-
EPSG3411 = "EPSG:3411",
|
|
20
|
-
EPSG32661 = "EPSG:32661",
|
|
21
|
-
EPSG54030 = "EPSG:54030",
|
|
22
|
-
EPSG4326 = "EPSG:4326",
|
|
23
|
-
EPSG4258 = "EPSG:4258",
|
|
24
|
-
EPSG3412 = "EPSG:3412",
|
|
25
|
-
EPSG3575 = "EPSG:3575",
|
|
26
|
-
EPSG3067 = "EPSG:3067"
|
|
27
|
-
}
|
|
28
16
|
export type TileSettingPerProjection = {
|
|
29
|
-
[
|
|
17
|
+
[key in EPSGCode]?: TileSettings;
|
|
30
18
|
};
|
|
31
19
|
export interface Title {
|
|
32
20
|
title?: string;
|