gis-map-universal 0.0.4 → 0.0.6
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/{lib/gismap.umd.js → gismap.umd.js} +723 -709
- package/package.json +14 -54
- package/.env +0 -1
- package/.eslintignore +0 -1
- package/README.md +0 -24
- package/lib/demo.html +0 -8
|
@@ -7101,7 +7101,7 @@ function createForExtent(extent, opt_maxZoom, opt_tileSize, opt_corner) {
|
|
|
7101
7101
|
*/
|
|
7102
7102
|
function createXYZ(opt_options) {
|
|
7103
7103
|
var xyzOptions = opt_options || {};
|
|
7104
|
-
var extent = xyzOptions.extent || Object(_proj_js__WEBPACK_IMPORTED_MODULE_4__[/* get */ "
|
|
7104
|
+
var extent = xyzOptions.extent || Object(_proj_js__WEBPACK_IMPORTED_MODULE_4__[/* get */ "n"])('EPSG:3857').getExtent();
|
|
7105
7105
|
var gridOptions = {
|
|
7106
7106
|
extent: extent,
|
|
7107
7107
|
minZoom: xyzOptions.minZoom,
|
|
@@ -7155,7 +7155,7 @@ function createForProjection(projection, opt_maxZoom, opt_tileSize, opt_corner)
|
|
|
7155
7155
|
* @return {import("./extent.js").Extent} Extent.
|
|
7156
7156
|
*/
|
|
7157
7157
|
function extentFromProjection(projection) {
|
|
7158
|
-
projection = Object(_proj_js__WEBPACK_IMPORTED_MODULE_4__[/* get */ "
|
|
7158
|
+
projection = Object(_proj_js__WEBPACK_IMPORTED_MODULE_4__[/* get */ "n"])(projection);
|
|
7159
7159
|
var extent = projection.getExtent();
|
|
7160
7160
|
if (!extent) {
|
|
7161
7161
|
var half = (180 * _proj_js__WEBPACK_IMPORTED_MODULE_4__[/* METERS_PER_UNIT */ "a"][_proj_Units_js__WEBPACK_IMPORTED_MODULE_2__[/* default */ "b"].DEGREES]) / projection.getMetersPerUnit();
|
|
@@ -9584,22 +9584,6 @@ module.exports = function (matched, str, position, captures, namedCaptures, repl
|
|
|
9584
9584
|
};
|
|
9585
9585
|
|
|
9586
9586
|
|
|
9587
|
-
/***/ }),
|
|
9588
|
-
|
|
9589
|
-
/***/ "0cbc":
|
|
9590
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
9591
|
-
|
|
9592
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
9593
|
-
|
|
9594
|
-
// load the styles
|
|
9595
|
-
var content = __webpack_require__("8022");
|
|
9596
|
-
if(content.__esModule) content = content.default;
|
|
9597
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
9598
|
-
if(content.locals) module.exports = content.locals;
|
|
9599
|
-
// add the styles to the DOM
|
|
9600
|
-
var add = __webpack_require__("499e").default
|
|
9601
|
-
var update = add("00c8206e", content, true, {"sourceMap":false,"shadowMode":false});
|
|
9602
|
-
|
|
9603
9587
|
/***/ }),
|
|
9604
9588
|
|
|
9605
9589
|
/***/ "0cfb":
|
|
@@ -16576,7 +16560,7 @@ var RenderFeature = /** @class */ (function () {
|
|
|
16576
16560
|
* @param {import("../proj.js").ProjectionLike} projection The data projection
|
|
16577
16561
|
*/
|
|
16578
16562
|
RenderFeature.prototype.transform = function (projection) {
|
|
16579
|
-
projection = Object(_proj_js__WEBPACK_IMPORTED_MODULE_13__[/* get */ "
|
|
16563
|
+
projection = Object(_proj_js__WEBPACK_IMPORTED_MODULE_13__[/* get */ "n"])(projection);
|
|
16580
16564
|
var pixelExtent = projection.getExtent();
|
|
16581
16565
|
var projectedExtent = projection.getWorldExtent();
|
|
16582
16566
|
if (pixelExtent && projectedExtent) {
|
|
@@ -29285,17 +29269,6 @@ function fromByteArray (uint8) {
|
|
|
29285
29269
|
}
|
|
29286
29270
|
|
|
29287
29271
|
|
|
29288
|
-
/***/ }),
|
|
29289
|
-
|
|
29290
|
-
/***/ "1fdb":
|
|
29291
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
29292
|
-
|
|
29293
|
-
"use strict";
|
|
29294
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_measureTool_vue_vue_type_style_index_0_id_4cd5c1b5_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("9f75");
|
|
29295
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_measureTool_vue_vue_type_style_index_0_id_4cd5c1b5_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_measureTool_vue_vue_type_style_index_0_id_4cd5c1b5_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
29296
|
-
/* unused harmony reexport * */
|
|
29297
|
-
|
|
29298
|
-
|
|
29299
29272
|
/***/ }),
|
|
29300
29273
|
|
|
29301
29274
|
/***/ "20e7":
|
|
@@ -36741,26 +36714,27 @@ __webpack_require__.d(__webpack_exports__, "a", function() { return /* reexport
|
|
|
36741
36714
|
__webpack_require__.d(__webpack_exports__, "b", function() { return /* reexport */ Projection["a" /* default */]; });
|
|
36742
36715
|
__webpack_require__.d(__webpack_exports__, "h", function() { return /* binding */ disableCoordinateWarning; });
|
|
36743
36716
|
__webpack_require__.d(__webpack_exports__, "e", function() { return /* binding */ addProjection; });
|
|
36744
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36745
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36717
|
+
__webpack_require__.d(__webpack_exports__, "n", function() { return /* binding */ proj_get; });
|
|
36718
|
+
__webpack_require__.d(__webpack_exports__, "o", function() { return /* binding */ getPointResolution; });
|
|
36746
36719
|
__webpack_require__.d(__webpack_exports__, "d", function() { return /* binding */ addEquivalentProjections; });
|
|
36747
36720
|
__webpack_require__.d(__webpack_exports__, "f", function() { return /* binding */ createProjection; });
|
|
36748
36721
|
__webpack_require__.d(__webpack_exports__, "c", function() { return /* binding */ addCoordinateTransforms; });
|
|
36722
|
+
__webpack_require__.d(__webpack_exports__, "j", function() { return /* binding */ fromLonLat; });
|
|
36749
36723
|
__webpack_require__.d(__webpack_exports__, "i", function() { return /* binding */ equivalent; });
|
|
36750
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36751
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36752
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36753
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36754
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36755
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36756
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36757
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36758
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36759
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36760
|
-
__webpack_require__.d(__webpack_exports__, "
|
|
36724
|
+
__webpack_require__.d(__webpack_exports__, "q", function() { return /* binding */ getTransformFromProjections; });
|
|
36725
|
+
__webpack_require__.d(__webpack_exports__, "p", function() { return /* binding */ getTransform; });
|
|
36726
|
+
__webpack_require__.d(__webpack_exports__, "v", function() { return /* binding */ proj_transform; });
|
|
36727
|
+
__webpack_require__.d(__webpack_exports__, "w", function() { return /* binding */ transformExtent; });
|
|
36728
|
+
__webpack_require__.d(__webpack_exports__, "r", function() { return /* binding */ getUserProjection; });
|
|
36729
|
+
__webpack_require__.d(__webpack_exports__, "s", function() { return /* binding */ toUserCoordinate; });
|
|
36730
|
+
__webpack_require__.d(__webpack_exports__, "k", function() { return /* binding */ fromUserCoordinate; });
|
|
36731
|
+
__webpack_require__.d(__webpack_exports__, "t", function() { return /* binding */ toUserExtent; });
|
|
36732
|
+
__webpack_require__.d(__webpack_exports__, "l", function() { return /* binding */ fromUserExtent; });
|
|
36733
|
+
__webpack_require__.d(__webpack_exports__, "u", function() { return /* binding */ toUserResolution; });
|
|
36734
|
+
__webpack_require__.d(__webpack_exports__, "m", function() { return /* binding */ fromUserResolution; });
|
|
36761
36735
|
__webpack_require__.d(__webpack_exports__, "g", function() { return /* binding */ createSafeCoordinateTransform; });
|
|
36762
36736
|
|
|
36763
|
-
// UNUSED EXPORTS: cloneTransform, identityTransform, addProjections, addEquivalentTransforms, clearAllProjections, createTransformFromCoordinateTransform,
|
|
36737
|
+
// UNUSED EXPORTS: cloneTransform, identityTransform, addProjections, addEquivalentTransforms, clearAllProjections, createTransformFromCoordinateTransform, toLonLat, transformWithProjections, setUserProjection, clearUserProjection, useGeographic, addCommon
|
|
36764
36738
|
|
|
36765
36739
|
// EXTERNAL MODULE: ./node_modules/ol/proj/Projection.js
|
|
36766
36740
|
var Projection = __webpack_require__("f5dd");
|
|
@@ -64884,17 +64858,6 @@ var DragBox_DragBox = /** @class */ (function (_super) {
|
|
|
64884
64858
|
/* harmony default export */ var interaction_DragBox = __webpack_exports__["a"] = (DragBox_DragBox);
|
|
64885
64859
|
//# sourceMappingURL=DragBox.js.map
|
|
64886
64860
|
|
|
64887
|
-
/***/ }),
|
|
64888
|
-
|
|
64889
|
-
/***/ "2618":
|
|
64890
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
64891
|
-
|
|
64892
|
-
"use strict";
|
|
64893
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_747605a7_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("0cbc");
|
|
64894
|
-
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_747605a7_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_747605a7_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
64895
|
-
/* unused harmony reexport * */
|
|
64896
|
-
|
|
64897
|
-
|
|
64898
64861
|
/***/ }),
|
|
64899
64862
|
|
|
64900
64863
|
/***/ "2626":
|
|
@@ -70057,6 +70020,17 @@ var RegularShape = /** @class */ (function (_super) {
|
|
|
70057
70020
|
/* harmony default export */ __webpack_exports__["a"] = (RegularShape);
|
|
70058
70021
|
//# sourceMappingURL=RegularShape.js.map
|
|
70059
70022
|
|
|
70023
|
+
/***/ }),
|
|
70024
|
+
|
|
70025
|
+
/***/ "361d":
|
|
70026
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
70027
|
+
|
|
70028
|
+
"use strict";
|
|
70029
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_measureTool_vue_vue_type_style_index_0_id_0bb32563_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("87e6");
|
|
70030
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_measureTool_vue_vue_type_style_index_0_id_0bb32563_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_measureTool_vue_vue_type_style_index_0_id_0bb32563_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
70031
|
+
/* unused harmony reexport * */
|
|
70032
|
+
|
|
70033
|
+
|
|
70060
70034
|
/***/ }),
|
|
70061
70035
|
|
|
70062
70036
|
/***/ "3729":
|
|
@@ -72762,9 +72736,9 @@ function isBrokenDiagonalRendering() {
|
|
|
72762
72736
|
* @return {number} The best resolution to use. Can be +-Infinity, NaN or 0.
|
|
72763
72737
|
*/
|
|
72764
72738
|
function calculateSourceResolution(sourceProj, targetProj, targetCenter, targetResolution) {
|
|
72765
|
-
var sourceCenter = Object(_proj_js__WEBPACK_IMPORTED_MODULE_4__[/* transform */ "
|
|
72739
|
+
var sourceCenter = Object(_proj_js__WEBPACK_IMPORTED_MODULE_4__[/* transform */ "v"])(targetCenter, targetProj, sourceProj);
|
|
72766
72740
|
// calculate the ideal resolution of the source data
|
|
72767
|
-
var sourceResolution = Object(_proj_js__WEBPACK_IMPORTED_MODULE_4__[/* getPointResolution */ "
|
|
72741
|
+
var sourceResolution = Object(_proj_js__WEBPACK_IMPORTED_MODULE_4__[/* getPointResolution */ "o"])(targetProj, targetResolution, targetCenter);
|
|
72768
72742
|
var targetMetersPerUnit = targetProj.getMetersPerUnit();
|
|
72769
72743
|
if (targetMetersPerUnit !== undefined) {
|
|
72770
72744
|
sourceResolution *= targetMetersPerUnit;
|
|
@@ -72778,7 +72752,7 @@ function calculateSourceResolution(sourceProj, targetProj, targetCenter, targetR
|
|
|
72778
72752
|
// in order to achieve optimal results.
|
|
72779
72753
|
var sourceExtent = sourceProj.getExtent();
|
|
72780
72754
|
if (!sourceExtent || Object(_extent_js__WEBPACK_IMPORTED_MODULE_2__[/* containsCoordinate */ "g"])(sourceExtent, sourceCenter)) {
|
|
72781
|
-
var compensationFactor = Object(_proj_js__WEBPACK_IMPORTED_MODULE_4__[/* getPointResolution */ "
|
|
72755
|
+
var compensationFactor = Object(_proj_js__WEBPACK_IMPORTED_MODULE_4__[/* getPointResolution */ "o"])(sourceProj, sourceResolution, sourceCenter) /
|
|
72782
72756
|
sourceResolution;
|
|
72783
72757
|
if (isFinite(compensationFactor) && compensationFactor > 0) {
|
|
72784
72758
|
sourceResolution /= compensationFactor;
|
|
@@ -73284,7 +73258,7 @@ var VectorLayer_CanvasVectorLayerRenderer = /** @class */ (function (_super) {
|
|
|
73284
73258
|
var clipped = false;
|
|
73285
73259
|
var render = true;
|
|
73286
73260
|
if (layerState.extent && this.clipping) {
|
|
73287
|
-
var layerExtent = Object(proj["
|
|
73261
|
+
var layerExtent = Object(proj["l" /* fromUserExtent */])(layerState.extent, projection);
|
|
73288
73262
|
render = Object(ol_extent["F" /* intersects */])(layerExtent, frameState.extent);
|
|
73289
73263
|
clipped = render && !Object(ol_extent["h" /* containsExtent */])(layerExtent, frameState.extent);
|
|
73290
73264
|
if (clipped) {
|
|
@@ -73536,15 +73510,15 @@ var VectorLayer_CanvasVectorLayerRenderer = /** @class */ (function (_super) {
|
|
|
73536
73510
|
if (this.getLayer().getDeclutter()) {
|
|
73537
73511
|
declutterBuilderGroup = new BuilderGroup["a" /* default */](Object(vector["c" /* getTolerance */])(resolution, pixelRatio), extent, resolution, pixelRatio);
|
|
73538
73512
|
}
|
|
73539
|
-
var userProjection = Object(proj["
|
|
73513
|
+
var userProjection = Object(proj["r" /* getUserProjection */])();
|
|
73540
73514
|
var userTransform;
|
|
73541
73515
|
if (userProjection) {
|
|
73542
73516
|
for (var i = 0, ii = loadExtents.length; i < ii; ++i) {
|
|
73543
73517
|
var extent_1 = loadExtents[i];
|
|
73544
|
-
var userExtent_1 = Object(proj["
|
|
73545
|
-
vectorSource.loadFeatures(userExtent_1, Object(proj["
|
|
73518
|
+
var userExtent_1 = Object(proj["t" /* toUserExtent */])(extent_1, projection);
|
|
73519
|
+
vectorSource.loadFeatures(userExtent_1, Object(proj["u" /* toUserResolution */])(resolution, projection), userProjection);
|
|
73546
73520
|
}
|
|
73547
|
-
userTransform = Object(proj["
|
|
73521
|
+
userTransform = Object(proj["q" /* getTransformFromProjections */])(userProjection, projection);
|
|
73548
73522
|
}
|
|
73549
73523
|
else {
|
|
73550
73524
|
for (var i = 0, ii = loadExtents.length; i < ii; ++i) {
|
|
@@ -73568,7 +73542,7 @@ var VectorLayer_CanvasVectorLayerRenderer = /** @class */ (function (_super) {
|
|
|
73568
73542
|
this.dirty_ = this.dirty_ || dirty;
|
|
73569
73543
|
}
|
|
73570
73544
|
}.bind(this);
|
|
73571
|
-
var userExtent = Object(proj["
|
|
73545
|
+
var userExtent = Object(proj["t" /* toUserExtent */])(extent, projection);
|
|
73572
73546
|
/** @type {Array<import("../../Feature.js").default>} */
|
|
73573
73547
|
var features = vectorSource.getFeaturesInExtent(userExtent);
|
|
73574
73548
|
if (vectorLayerRenderOrder) {
|
|
@@ -94728,7 +94702,7 @@ var PluggableMap_PluggableMap = /** @class */ (function (_super) {
|
|
|
94728
94702
|
* @api
|
|
94729
94703
|
*/
|
|
94730
94704
|
PluggableMap.prototype.getCoordinateFromPixel = function (pixel) {
|
|
94731
|
-
return Object(proj["
|
|
94705
|
+
return Object(proj["s" /* toUserCoordinate */])(this.getCoordinateFromPixelInternal(pixel), this.getView().getProjection());
|
|
94732
94706
|
};
|
|
94733
94707
|
/**
|
|
94734
94708
|
* Get the coordinate for a given pixel. This returns a coordinate in the
|
|
@@ -94848,7 +94822,7 @@ var PluggableMap_PluggableMap = /** @class */ (function (_super) {
|
|
|
94848
94822
|
* @api
|
|
94849
94823
|
*/
|
|
94850
94824
|
PluggableMap.prototype.getPixelFromCoordinate = function (coordinate) {
|
|
94851
|
-
var viewCoordinate = Object(proj["
|
|
94825
|
+
var viewCoordinate = Object(proj["k" /* fromUserCoordinate */])(coordinate, this.getView().getProjection());
|
|
94852
94826
|
return this.getPixelFromCoordinateInternal(viewCoordinate);
|
|
94853
94827
|
};
|
|
94854
94828
|
/**
|
|
@@ -104678,15 +104652,15 @@ function tile(tileGrid) {
|
|
|
104678
104652
|
* @return {Array<import("./extent.js").Extent>} Extents.
|
|
104679
104653
|
*/
|
|
104680
104654
|
function (extent, resolution, projection) {
|
|
104681
|
-
var z = tileGrid.getZForResolution(Object(_proj_js__WEBPACK_IMPORTED_MODULE_0__[/* fromUserResolution */ "
|
|
104682
|
-
var tileRange = tileGrid.getTileRangeForExtentAndZ(Object(_proj_js__WEBPACK_IMPORTED_MODULE_0__[/* fromUserExtent */ "
|
|
104655
|
+
var z = tileGrid.getZForResolution(Object(_proj_js__WEBPACK_IMPORTED_MODULE_0__[/* fromUserResolution */ "m"])(resolution, projection));
|
|
104656
|
+
var tileRange = tileGrid.getTileRangeForExtentAndZ(Object(_proj_js__WEBPACK_IMPORTED_MODULE_0__[/* fromUserExtent */ "l"])(extent, projection), z);
|
|
104683
104657
|
/** @type {Array<import("./extent.js").Extent>} */
|
|
104684
104658
|
var extents = [];
|
|
104685
104659
|
/** @type {import("./tilecoord.js").TileCoord} */
|
|
104686
104660
|
var tileCoord = [z, 0, 0];
|
|
104687
104661
|
for (tileCoord[1] = tileRange.minX; tileCoord[1] <= tileRange.maxX; ++tileCoord[1]) {
|
|
104688
104662
|
for (tileCoord[2] = tileRange.minY; tileCoord[2] <= tileRange.maxY; ++tileCoord[2]) {
|
|
104689
|
-
extents.push(Object(_proj_js__WEBPACK_IMPORTED_MODULE_0__[/* toUserExtent */ "
|
|
104663
|
+
extents.push(Object(_proj_js__WEBPACK_IMPORTED_MODULE_0__[/* toUserExtent */ "t"])(tileGrid.getTileCoordExtent(tileCoord), projection));
|
|
104690
104664
|
}
|
|
104691
104665
|
}
|
|
104692
104666
|
return extents;
|
|
@@ -121095,20 +121069,6 @@ function create() {
|
|
|
121095
121069
|
//# sourceMappingURL=webgl.js.map
|
|
121096
121070
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("b639").Buffer))
|
|
121097
121071
|
|
|
121098
|
-
/***/ }),
|
|
121099
|
-
|
|
121100
|
-
/***/ "8022":
|
|
121101
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
121102
|
-
|
|
121103
|
-
// Imports
|
|
121104
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
121105
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
121106
|
-
// Module
|
|
121107
|
-
exports.push([module.i, "#map{width:100%;height:var(--height);background-size:100% 100%;background-color:#000}.popupBox{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWkAAAG9CAYAAADX1Id3AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAiGSURBVHic7dc9juNkAIDhz2G00kpbIYqFO1DQIBqalbgA4hy0XIKKe3ACJMSF6NAWSIwpJjPrOM7P/Kz2LZ6nSWx/tj87zjuZafz064/j1Zt3A4CWf//582a8evNu/PHbd596LgCs/PDz2H3qOQBwmkgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmE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vNp+NObM/Tk61jM+y+P/KU6E79x/KI/8LLfuz8kxJ1csVp97IK/8To4xxvz8a/zrfwlaaWDxULgDAAAAAElFTkSuQmCC) 50% no-repeat;background-size:100% 100%;height:auto;width:auto;animation:fadenum .6s ease;box-shadow:0 0 8px #000;position:absolute}#popupHeader{height:20px;line-height:20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAAAcCAYAAABMISW2AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAaGSURBVHic7Z3bbtvYFYY/cpM6WrItn2LEBZwicFDDmAHmAeZB+jK96bP0dYoxjAwyCIpx4UniOD5EsqwTqd0LkRbFkFzyCSOn67uw9uI6cFOmfi1sUpLj/NNaxwHHAccVHhNjt8BXtG2SZ4vz7rs/IQ8AC5YEduZhxmlnAlP2HfIK92lTm1P7mCfvyeZaMDdxDk/xvKb3+RTP673n6izcOZD1v3zw+SrkPuZr5DHPgSeb6xOcr8l9uiiKoigLiWdXw79bwonlmmgY2Y6JdDyyrbFYJmo/DhPxQBjZtyTsIGUn/WFGfGyPc+oBhAG43uz7jhu9D4UpO+kPMuLjHNdm1wsy4uMkWzDHIH1MARgvUTPnGJJzNKl9jjOOKVH+m3jpGEz6OfEsjKb1XH9qA5iEPUrZsX+UEw8wvkc9RjCMbM+P5h9tMCU7GUa2V5r1hyk76Y9rmpKdGlHMMGGbkoVB4hjKs7aXsAcpO/YPYmfsT9hhbPcjf2Vq9wG/MuuP7V7Kpjd5KFXtZBjZfnXWH8T2TRRfm54TNzezNl0o1W08hC6U6wn/NZSXLNcp+5YOjBqzdiWy29GfSjPh/wrVZctVbF9BbWX2nB2kX4cXUG9ZgJc9ShurgxblMjbAsS5OCaAMtjuxbTB0zvqlTydh/IR+hO52ouYJP/5lp+WOWbcujg1HDvjggw1wPHdiWxfn30ccwlvY3p+d0x72xw/8FJtO+nUZYV0+/PKWj/wj4XcAHAvaQSuK8h3h+ZSkmBsTXE3FORtnRE2qMxpxmuc7+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+9385zuufXW+tY+SPdb/uPt7QRowKtKMpC0jDyL3R3hhR2zy+XKDdMrSHVGQ7yf23FMZ689mz5JMXcBxVoRVEWjq2KLM7tLr3fO8UC3XTnqOOGl7ndc5N1KX846J8etZ9GoD33yvzL+AbPA+OD54PxzGR8u83FeLEvekxtM56LtWAtYMFaNzEGizsdW8DmxBPHFMQD1pZm66fH5GxPjwFrneKYKO7b7V6qljebY7xUjocNo1pE+cEDj2Et+PkpTgxF+TM57TM87TOEPtQqdsY5wOakfcPkC5POOjQ27PRnXi+huZWocQU5nyA/bPOF4z++0NpNxB/Di9eWMfAe4D+wvT/vlO7E/wD6iVfgUp99LQAAAABJRU5ErkJggg==) 50% no-repeat;background-size:100% 100%;padding:5px 0}#popupHeaderTitle{float:left;margin:0 0 0 7px;color:#fff;font-size:14px;font-weight:600;text-shadow:0 0 1px;letter-spacing:1px}#closePopup{height:20px;width:20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAFqADAAQAAAABAAAAFgAAAAA/6RFgAAACAklEQVQ4EdVVuU5bQRQ91xBMDaKkSkgPwtjQ0ZAiBT38AmKRMCAhsUkUZhEKEr+QniJ1EI1xIM4HQEeJoDbrcO6MH2/m8RywQgquNJp3t+O7zTXw3kj+GvAv0w2DMdp85fnE08lzyXPG8wOC7xiQc34/o3TgU5PFFdYIOkmP9mdesaBG8F10YAk9ch2LQXGSqqYLt9gn6GBS1ZAXlPEBo+iTi8gmBHaR/mwKNEYqM/LhKPJMJLe3S//1kfrOmqH61ykG1kYBU5HC3oIc72IgixjBCgs5FLH21p44HMTAwDhLkA0MgREUZItW04FcsIC8rNI+H8i10W6KPOAHO1KhncE6jswsR+obFTNWKZgjaAkVM0F+J3SwnI4mWp8Ugo/8tTTaZHqG4Ns4MYfolyr5STxAfyyNdN69cauYawK3pVlaWQv6kJM/ODa9uEe1oZ3ghhll/Rrri0qnDJuqoCfGgWcwm25opRbHB9ZnmkYTLMMua1rEHX6z5tO2LI2mxT13r3n69pOk01CQPdZ0gWXaqKt3yE/ZaREsJl3IW5z45bmFc0qAeOTcnH6hbDkFoMgOHVB37OlqDPUzMzqPgVVbMSUaznmGzX0Ks8rLvDqFwP9tV+jq0y2l26oZirabtzr9qXBQuvp0S2laQO0FfN3HG9beW5nqE5YiifIP/yBJqDfjHwFTdJhmYEehHgAAAABJRU5ErkJggg==) 50% no-repeat;background-size:100% 100%;float:right;margin:0 2px;cursor:pointer}#popupContent{color:#fff;text-align:left;padding:0 5px 5px 5px;font-size:14px;width:100%;box-sizing:border-box;overflow:hidden}#popupContent:hover{overflow:overlay}#popupContent::-webkit-scrollbar{width:6px}#popupContent::-webkit-scrollbar-track{background-color:#477dd0;-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,.1);border-radius:6px}#popupContent::-webkit-scrollbar-thumb{background:rgba(14,56,84,.8509803921568627);border-radius:6px}", ""]);
|
|
121108
|
-
// Exports
|
|
121109
|
-
module.exports = exports;
|
|
121110
|
-
|
|
121111
|
-
|
|
121112
121072
|
/***/ }),
|
|
121113
121073
|
|
|
121114
121074
|
/***/ "80ef":
|
|
@@ -122660,6 +122620,22 @@ var ImageBase = /** @class */ (function (_super) {
|
|
|
122660
122620
|
|
|
122661
122621
|
/***/ }),
|
|
122662
122622
|
|
|
122623
|
+
/***/ "87e6":
|
|
122624
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
122625
|
+
|
|
122626
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
122627
|
+
|
|
122628
|
+
// load the styles
|
|
122629
|
+
var content = __webpack_require__("afe7");
|
|
122630
|
+
if(content.__esModule) content = content.default;
|
|
122631
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
122632
|
+
if(content.locals) module.exports = content.locals;
|
|
122633
|
+
// add the styles to the DOM
|
|
122634
|
+
var add = __webpack_require__("499e").default
|
|
122635
|
+
var update = add("8905169a", content, true, {"sourceMap":false,"shadowMode":false});
|
|
122636
|
+
|
|
122637
|
+
/***/ }),
|
|
122638
|
+
|
|
122663
122639
|
/***/ "88da":
|
|
122664
122640
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
122665
122641
|
|
|
@@ -126995,7 +126971,7 @@ var Geometry = /** @class */ (function (_super) {
|
|
|
126995
126971
|
*/
|
|
126996
126972
|
Geometry.prototype.transform = function (source, destination) {
|
|
126997
126973
|
/** @type {import("../proj/Projection.js").default} */
|
|
126998
|
-
var sourceProj = Object(_proj_js__WEBPACK_IMPORTED_MODULE_5__[/* get */ "
|
|
126974
|
+
var sourceProj = Object(_proj_js__WEBPACK_IMPORTED_MODULE_5__[/* get */ "n"])(source);
|
|
126999
126975
|
var transformFn = sourceProj.getUnits() == _proj_Units_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "b"].TILE_PIXELS
|
|
127000
126976
|
? function (inCoordinates, outCoordinates, stride) {
|
|
127001
126977
|
var pixelExtent = sourceProj.getExtent();
|
|
@@ -127003,9 +126979,9 @@ var Geometry = /** @class */ (function (_super) {
|
|
|
127003
126979
|
var scale = Object(_extent_js__WEBPACK_IMPORTED_MODULE_4__[/* getHeight */ "A"])(projectedExtent) / Object(_extent_js__WEBPACK_IMPORTED_MODULE_4__[/* getHeight */ "A"])(pixelExtent);
|
|
127004
126980
|
Object(_transform_js__WEBPACK_IMPORTED_MODULE_3__[/* compose */ "b"])(tmpTransform, projectedExtent[0], projectedExtent[3], scale, -scale, 0, 0, 0);
|
|
127005
126981
|
Object(_flat_transform_js__WEBPACK_IMPORTED_MODULE_7__[/* transform2D */ "c"])(inCoordinates, 0, inCoordinates.length, stride, tmpTransform, outCoordinates);
|
|
127006
|
-
return Object(_proj_js__WEBPACK_IMPORTED_MODULE_5__[/* getTransform */ "
|
|
126982
|
+
return Object(_proj_js__WEBPACK_IMPORTED_MODULE_5__[/* getTransform */ "p"])(sourceProj, destination)(inCoordinates, outCoordinates, stride);
|
|
127007
126983
|
}
|
|
127008
|
-
: Object(_proj_js__WEBPACK_IMPORTED_MODULE_5__[/* getTransform */ "
|
|
126984
|
+
: Object(_proj_js__WEBPACK_IMPORTED_MODULE_5__[/* getTransform */ "p"])(sourceProj, destination);
|
|
127009
126985
|
this.applyTransform(transformFn);
|
|
127010
126986
|
return this;
|
|
127011
126987
|
};
|
|
@@ -127902,6 +127878,17 @@ function assert(assertion, errorCode) {
|
|
|
127902
127878
|
}
|
|
127903
127879
|
//# sourceMappingURL=asserts.js.map
|
|
127904
127880
|
|
|
127881
|
+
/***/ }),
|
|
127882
|
+
|
|
127883
|
+
/***/ "93a5":
|
|
127884
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
127885
|
+
|
|
127886
|
+
"use strict";
|
|
127887
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_4ededa80_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("d323");
|
|
127888
|
+
/* harmony import */ var _node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_4ededa80_prod_lang_css__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_7_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_7_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_2_node_modules_postcss_loader_src_index_js_ref_7_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_1_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_4ededa80_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
127889
|
+
/* unused harmony reexport * */
|
|
127890
|
+
|
|
127891
|
+
|
|
127905
127892
|
/***/ }),
|
|
127906
127893
|
|
|
127907
127894
|
/***/ "94c7":
|
|
@@ -132567,7 +132554,7 @@ var ScaleLine = /** @class */ (function (_super) {
|
|
|
132567
132554
|
var projection = viewState.projection;
|
|
132568
132555
|
var units = this.getUnits();
|
|
132569
132556
|
var pointResolutionUnits = units == Units.DEGREES ? _proj_Units_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "b"].DEGREES : _proj_Units_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "b"].METERS;
|
|
132570
|
-
var pointResolution = Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* getPointResolution */ "
|
|
132557
|
+
var pointResolution = Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* getPointResolution */ "o"])(projection, viewState.resolution, center, pointResolutionUnits);
|
|
132571
132558
|
var minWidth = (this.minWidth_ * (this.dpi_ || DEFAULT_DPI)) / DEFAULT_DPI;
|
|
132572
132559
|
var nominalCount = minWidth * pointResolution;
|
|
132573
132560
|
var suffix = '';
|
|
@@ -132801,7 +132788,7 @@ var ScaleLine = /** @class */ (function (_super) {
|
|
|
132801
132788
|
* @return {number} The appropriate scale.
|
|
132802
132789
|
*/
|
|
132803
132790
|
ScaleLine.prototype.getScaleForResolution = function () {
|
|
132804
|
-
var resolution = Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* getPointResolution */ "
|
|
132791
|
+
var resolution = Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* getPointResolution */ "o"])(this.viewState_.projection, this.viewState_.resolution, this.viewState_.center, _proj_Units_js__WEBPACK_IMPORTED_MODULE_1__[/* default */ "b"].METERS);
|
|
132805
132792
|
var dpi = this.dpi_ || DEFAULT_DPI;
|
|
132806
132793
|
var inchesPerMeter = 1000 / 25.4;
|
|
132807
132794
|
return parseFloat(resolution.toString()) * inchesPerMeter * dpi;
|
|
@@ -133260,22 +133247,6 @@ function isSorted(arr, opt_func, opt_strict) {
|
|
|
133260
133247
|
|
|
133261
133248
|
/***/ }),
|
|
133262
133249
|
|
|
133263
|
-
/***/ "9f75":
|
|
133264
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
133265
|
-
|
|
133266
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
133267
|
-
|
|
133268
|
-
// load the styles
|
|
133269
|
-
var content = __webpack_require__("de26");
|
|
133270
|
-
if(content.__esModule) content = content.default;
|
|
133271
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
133272
|
-
if(content.locals) module.exports = content.locals;
|
|
133273
|
-
// add the styles to the DOM
|
|
133274
|
-
var add = __webpack_require__("499e").default
|
|
133275
|
-
var update = add("7966ba16", content, true, {"sourceMap":false,"shadowMode":false});
|
|
133276
|
-
|
|
133277
|
-
/***/ }),
|
|
133278
|
-
|
|
133279
133250
|
/***/ "9f7f":
|
|
133280
133251
|
/***/ (function(module, exports, __webpack_require__) {
|
|
133281
133252
|
|
|
@@ -137364,10 +137335,10 @@ var View_View = /** @class */ (function (_super) {
|
|
|
137364
137335
|
Object(proj["h" /* disableCoordinateWarning */])();
|
|
137365
137336
|
}
|
|
137366
137337
|
if (options.center) {
|
|
137367
|
-
options.center = Object(proj["
|
|
137338
|
+
options.center = Object(proj["k" /* fromUserCoordinate */])(options.center, _this.projection_);
|
|
137368
137339
|
}
|
|
137369
137340
|
if (options.extent) {
|
|
137370
|
-
options.extent = Object(proj["
|
|
137341
|
+
options.extent = Object(proj["l" /* fromUserExtent */])(options.extent, _this.projection_);
|
|
137371
137342
|
}
|
|
137372
137343
|
_this.applyOptions_(options);
|
|
137373
137344
|
return _this;
|
|
@@ -137530,11 +137501,11 @@ var View_View = /** @class */ (function (_super) {
|
|
|
137530
137501
|
var options = arguments[i];
|
|
137531
137502
|
if (options.center) {
|
|
137532
137503
|
options = Object(obj["a" /* assign */])({}, options);
|
|
137533
|
-
options.center = Object(proj["
|
|
137504
|
+
options.center = Object(proj["k" /* fromUserCoordinate */])(options.center, this.getProjection());
|
|
137534
137505
|
}
|
|
137535
137506
|
if (options.anchor) {
|
|
137536
137507
|
options = Object(obj["a" /* assign */])({}, options);
|
|
137537
|
-
options.anchor = Object(proj["
|
|
137508
|
+
options.anchor = Object(proj["k" /* fromUserCoordinate */])(options.anchor, this.getProjection());
|
|
137538
137509
|
}
|
|
137539
137510
|
args[i] = options;
|
|
137540
137511
|
}
|
|
@@ -137844,7 +137815,7 @@ var View_View = /** @class */ (function (_super) {
|
|
|
137844
137815
|
if (!center) {
|
|
137845
137816
|
return center;
|
|
137846
137817
|
}
|
|
137847
|
-
return Object(proj["
|
|
137818
|
+
return Object(proj["s" /* toUserCoordinate */])(center, this.getProjection());
|
|
137848
137819
|
};
|
|
137849
137820
|
/**
|
|
137850
137821
|
* Get the view center without transforming to user projection.
|
|
@@ -137891,7 +137862,7 @@ var View_View = /** @class */ (function (_super) {
|
|
|
137891
137862
|
*/
|
|
137892
137863
|
View.prototype.calculateExtent = function (opt_size) {
|
|
137893
137864
|
var extent = this.calculateExtentInternal(opt_size);
|
|
137894
|
-
return Object(proj["
|
|
137865
|
+
return Object(proj["t" /* toUserExtent */])(extent, this.getProjection());
|
|
137895
137866
|
};
|
|
137896
137867
|
/**
|
|
137897
137868
|
* @param {import("./size.js").Size} [opt_size] Box pixel size. If not provided,
|
|
@@ -137999,7 +137970,7 @@ var View_View = /** @class */ (function (_super) {
|
|
|
137999
137970
|
* @api
|
|
138000
137971
|
*/
|
|
138001
137972
|
View.prototype.getResolutionForExtent = function (extent, opt_size) {
|
|
138002
|
-
return this.getResolutionForExtentInternal(Object(proj["
|
|
137973
|
+
return this.getResolutionForExtentInternal(Object(proj["l" /* fromUserExtent */])(extent, this.getProjection()), opt_size);
|
|
138003
137974
|
};
|
|
138004
137975
|
/**
|
|
138005
137976
|
* Get the resolution for a provided extent (in map units) and size (in pixels).
|
|
@@ -138185,16 +138156,16 @@ var View_View = /** @class */ (function (_super) {
|
|
|
138185
138156
|
'function', 24); // Invalid extent or geometry provided as `geometry`
|
|
138186
138157
|
if (Array.isArray(geometryOrExtent)) {
|
|
138187
138158
|
Object(asserts["a" /* assert */])(!Object(ol_extent["H" /* isEmpty */])(geometryOrExtent), 25); // Cannot fit empty extent provided as `geometry`
|
|
138188
|
-
var extent = Object(proj["
|
|
138159
|
+
var extent = Object(proj["l" /* fromUserExtent */])(geometryOrExtent, this.getProjection());
|
|
138189
138160
|
geometry = Object(Polygon["c" /* fromExtent */])(extent);
|
|
138190
138161
|
}
|
|
138191
138162
|
else if (geometryOrExtent.getType() === GeometryType["a" /* default */].CIRCLE) {
|
|
138192
|
-
var extent = Object(proj["
|
|
138163
|
+
var extent = Object(proj["l" /* fromUserExtent */])(geometryOrExtent.getExtent(), this.getProjection());
|
|
138193
138164
|
geometry = Object(Polygon["c" /* fromExtent */])(extent);
|
|
138194
138165
|
geometry.rotate(this.getRotation(), Object(ol_extent["x" /* getCenter */])(extent));
|
|
138195
138166
|
}
|
|
138196
138167
|
else {
|
|
138197
|
-
var userProjection = Object(proj["
|
|
138168
|
+
var userProjection = Object(proj["r" /* getUserProjection */])();
|
|
138198
138169
|
if (userProjection) {
|
|
138199
138170
|
geometry = /** @type {import("./geom/SimpleGeometry.js").default} */ (geometryOrExtent
|
|
138200
138171
|
.clone()
|
|
@@ -138297,7 +138268,7 @@ var View_View = /** @class */ (function (_super) {
|
|
|
138297
138268
|
* @api
|
|
138298
138269
|
*/
|
|
138299
138270
|
View.prototype.centerOn = function (coordinate, size, position) {
|
|
138300
|
-
this.centerOnInternal(Object(proj["
|
|
138271
|
+
this.centerOnInternal(Object(proj["k" /* fromUserCoordinate */])(coordinate, this.getProjection()), size, position);
|
|
138301
138272
|
};
|
|
138302
138273
|
/**
|
|
138303
138274
|
* @param {import("./coordinate.js").Coordinate} coordinate Coordinate.
|
|
@@ -138340,7 +138311,7 @@ var View_View = /** @class */ (function (_super) {
|
|
|
138340
138311
|
* @api
|
|
138341
138312
|
*/
|
|
138342
138313
|
View.prototype.adjustCenter = function (deltaCoordinates) {
|
|
138343
|
-
var center = Object(proj["
|
|
138314
|
+
var center = Object(proj["s" /* toUserCoordinate */])(this.targetCenter_, this.getProjection());
|
|
138344
138315
|
this.setCenter([
|
|
138345
138316
|
center[0] + deltaCoordinates[0],
|
|
138346
138317
|
center[1] + deltaCoordinates[1],
|
|
@@ -138365,7 +138336,7 @@ var View_View = /** @class */ (function (_super) {
|
|
|
138365
138336
|
* @api
|
|
138366
138337
|
*/
|
|
138367
138338
|
View.prototype.adjustResolution = function (ratio, opt_anchor) {
|
|
138368
|
-
var anchor = opt_anchor && Object(proj["
|
|
138339
|
+
var anchor = opt_anchor && Object(proj["k" /* fromUserCoordinate */])(opt_anchor, this.getProjection());
|
|
138369
138340
|
this.adjustResolutionInternal(ratio, anchor);
|
|
138370
138341
|
};
|
|
138371
138342
|
/**
|
|
@@ -138403,7 +138374,7 @@ var View_View = /** @class */ (function (_super) {
|
|
|
138403
138374
|
*/
|
|
138404
138375
|
View.prototype.adjustRotation = function (delta, opt_anchor) {
|
|
138405
138376
|
if (opt_anchor) {
|
|
138406
|
-
opt_anchor = Object(proj["
|
|
138377
|
+
opt_anchor = Object(proj["k" /* fromUserCoordinate */])(opt_anchor, this.getProjection());
|
|
138407
138378
|
}
|
|
138408
138379
|
this.adjustRotationInternal(delta, opt_anchor);
|
|
138409
138380
|
};
|
|
@@ -138427,7 +138398,7 @@ var View_View = /** @class */ (function (_super) {
|
|
|
138427
138398
|
* @api
|
|
138428
138399
|
*/
|
|
138429
138400
|
View.prototype.setCenter = function (center) {
|
|
138430
|
-
this.setCenterInternal(center ? Object(proj["
|
|
138401
|
+
this.setCenterInternal(center ? Object(proj["k" /* fromUserCoordinate */])(center, this.getProjection()) : center);
|
|
138431
138402
|
};
|
|
138432
138403
|
/**
|
|
138433
138404
|
* Set the center using the view projection (not the user projection).
|
|
@@ -138568,7 +138539,7 @@ var View_View = /** @class */ (function (_super) {
|
|
|
138568
138539
|
* @api
|
|
138569
138540
|
*/
|
|
138570
138541
|
View.prototype.endInteraction = function (opt_duration, opt_resolutionDirection, opt_anchor) {
|
|
138571
|
-
var anchor = opt_anchor && Object(proj["
|
|
138542
|
+
var anchor = opt_anchor && Object(proj["k" /* fromUserCoordinate */])(opt_anchor, this.getProjection());
|
|
138572
138543
|
this.endInteractionInternal(opt_duration, opt_resolutionDirection, anchor);
|
|
138573
138544
|
};
|
|
138574
138545
|
/**
|
|
@@ -139479,12 +139450,12 @@ var GeoJSON_GeoJSON = /** @class */ (function (_super) {
|
|
|
139479
139450
|
/**
|
|
139480
139451
|
* @type {import("../proj/Projection.js").default}
|
|
139481
139452
|
*/
|
|
139482
|
-
_this.dataProjection = Object(proj["
|
|
139453
|
+
_this.dataProjection = Object(proj["n" /* get */])(options.dataProjection ? options.dataProjection : 'EPSG:4326');
|
|
139483
139454
|
if (options.featureProjection) {
|
|
139484
139455
|
/**
|
|
139485
139456
|
* @type {import("../proj/Projection.js").default}
|
|
139486
139457
|
*/
|
|
139487
|
-
_this.defaultFeatureProjection = Object(proj["
|
|
139458
|
+
_this.defaultFeatureProjection = Object(proj["n" /* get */])(options.featureProjection);
|
|
139488
139459
|
}
|
|
139489
139460
|
/**
|
|
139490
139461
|
* Name of the geometry attribute for features.
|
|
@@ -139585,10 +139556,10 @@ var GeoJSON_GeoJSON = /** @class */ (function (_super) {
|
|
|
139585
139556
|
var projection;
|
|
139586
139557
|
if (crs) {
|
|
139587
139558
|
if (crs['type'] == 'name') {
|
|
139588
|
-
projection = Object(proj["
|
|
139559
|
+
projection = Object(proj["n" /* get */])(crs['properties']['name']);
|
|
139589
139560
|
}
|
|
139590
139561
|
else if (crs['type'] === 'EPSG') {
|
|
139591
|
-
projection = Object(proj["
|
|
139562
|
+
projection = Object(proj["n" /* get */])('EPSG:' + crs['properties']['code']);
|
|
139592
139563
|
}
|
|
139593
139564
|
else {
|
|
139594
139565
|
Object(asserts["a" /* assert */])(false, 36); // Unknown SRS type
|
|
@@ -142743,10 +142714,10 @@ var Draw_Draw = /** @class */ (function (_super) {
|
|
|
142743
142714
|
var circle = geometry
|
|
142744
142715
|
? /** @type {Circle} */ (geometry)
|
|
142745
142716
|
: new geom_Circle([NaN, NaN]);
|
|
142746
|
-
var center = Object(proj["
|
|
142747
|
-
var squaredLength = Object(ol_coordinate["g" /* squaredDistance */])(center, Object(proj["
|
|
142717
|
+
var center = Object(proj["k" /* fromUserCoordinate */])(coordinates[0], projection);
|
|
142718
|
+
var squaredLength = Object(ol_coordinate["g" /* squaredDistance */])(center, Object(proj["k" /* fromUserCoordinate */])(coordinates[coordinates.length - 1], projection));
|
|
142748
142719
|
circle.setCenterAndRadius(center, Math.sqrt(squaredLength));
|
|
142749
|
-
var userProjection = Object(proj["
|
|
142720
|
+
var userProjection = Object(proj["r" /* getUserProjection */])();
|
|
142750
142721
|
if (userProjection) {
|
|
142751
142722
|
circle.transform(projection, userProjection);
|
|
142752
142723
|
}
|
|
@@ -143507,9 +143478,9 @@ function getDefaultStyleFunction() {
|
|
|
143507
143478
|
*/
|
|
143508
143479
|
function createRegularPolygon(opt_sides, opt_angle) {
|
|
143509
143480
|
return function (coordinates, opt_geometry, projection) {
|
|
143510
|
-
var center = Object(proj["
|
|
143481
|
+
var center = Object(proj["k" /* fromUserCoordinate */])(
|
|
143511
143482
|
/** @type {LineCoordType} */ (coordinates)[0], projection);
|
|
143512
|
-
var end = Object(proj["
|
|
143483
|
+
var end = Object(proj["k" /* fromUserCoordinate */])(
|
|
143513
143484
|
/** @type {LineCoordType} */ (coordinates)[coordinates.length - 1], projection);
|
|
143514
143485
|
var radius = Math.sqrt(Object(ol_coordinate["g" /* squaredDistance */])(center, end));
|
|
143515
143486
|
var geometry = opt_geometry
|
|
@@ -143522,7 +143493,7 @@ function createRegularPolygon(opt_sides, opt_angle) {
|
|
|
143522
143493
|
angle = Math.atan2(y, x);
|
|
143523
143494
|
}
|
|
143524
143495
|
Object(Polygon["d" /* makeRegular */])(geometry, center, radius, angle);
|
|
143525
|
-
var userProjection = Object(proj["
|
|
143496
|
+
var userProjection = Object(proj["r" /* getUserProjection */])();
|
|
143526
143497
|
if (userProjection) {
|
|
143527
143498
|
geometry.transform(projection, userProjection);
|
|
143528
143499
|
}
|
|
@@ -143543,7 +143514,7 @@ function createBox() {
|
|
|
143543
143514
|
coordinates[0],
|
|
143544
143515
|
coordinates[coordinates.length - 1],
|
|
143545
143516
|
]).map(function (coordinate) {
|
|
143546
|
-
return Object(proj["
|
|
143517
|
+
return Object(proj["k" /* fromUserCoordinate */])(coordinate, projection);
|
|
143547
143518
|
}));
|
|
143548
143519
|
var boxCoordinates = [
|
|
143549
143520
|
[
|
|
@@ -143561,7 +143532,7 @@ function createBox() {
|
|
|
143561
143532
|
else {
|
|
143562
143533
|
geometry = new Polygon["a" /* default */](boxCoordinates);
|
|
143563
143534
|
}
|
|
143564
|
-
var userProjection = Object(proj["
|
|
143535
|
+
var userProjection = Object(proj["r" /* getUserProjection */])();
|
|
143565
143536
|
if (userProjection) {
|
|
143566
143537
|
geometry.transform(projection, userProjection);
|
|
143567
143538
|
}
|
|
@@ -144924,6 +144895,20 @@ function parseRadius(radius) {
|
|
|
144924
144895
|
}
|
|
144925
144896
|
//# sourceMappingURL=parse.js.map
|
|
144926
144897
|
|
|
144898
|
+
/***/ }),
|
|
144899
|
+
|
|
144900
|
+
/***/ "afe7":
|
|
144901
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
144902
|
+
|
|
144903
|
+
// Imports
|
|
144904
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
144905
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
144906
|
+
// Module
|
|
144907
|
+
exports.push([module.i, ".widgetBox[data-v-0bb32563]{position:absolute;right:var(--right);top:var(--top);z-index:999;width:34px;height:auto;border:1px solid #1897e7;padding:3px 2px;background:rgba(0,21,43,.6);box-sizing:border-box}.weight_button[data-v-0bb32563]{width:28px;height:28px;cursor:pointer;margin-bottom:3px}#back_all[data-v-0bb32563]{background-size:100% 100%;cursor:pointer}#back_all[data-v-0bb32563],#back_all[data-v-0bb32563]:link{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAFMN540AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAHqADAAQAAAABAAAAHgAAAADKQTcFAAAGXklEQVRIDb1XWWxVVRRd7/W1QvuKSAICTRPAIUpEtAzBotEQFSNCRQEHiAQZajAIhPRLpAVUPkgQAxJATIz0wyFRSMUBnLCMLTQYm4AMEZCpRFRsa+j0rmvtc87rKyTy507uO/vus/deezrntjGQ+q8/v1SrUd8NDeUoHB6h710RBhZHcUmj07WIzv8MtLciIUFs0Gh7wQ15iHWx1yYG3R/hSiO5OJKPzEYcHa2Izh4C2q7QWURBDu0GjAJyewLxBGKCvbBqagXaqdHRQa0UkJUNJHKQHD2FFqKWZkTHqxH9ugcFyQSiE9X4Yv1yINXuFeJZmDBjASEinP39T8QKi/D4zDJaxh1E874tFYjkPjKHiMW4l4W8EROuzcNpeD3cOTay8DvaDE9RW4DZ3VgS5gdtKD/WCHHGm93dTBNIpdC7Ry4uHtqd6RGxWx5wUb+3cnF6Y+GrbyBWMFRFJN0+hpk4WvH2xgj92BP15tYHo4TAY7c95DBTTIkl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AAAABJRU5ErkJggg==)}#back_all[data-v-0bb32563]:visited{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAFMN540AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAHqADAAQAAAABAAAAHgAAAADKQTcFAAAGXklEQVRIDb1XWWxVVRRd7/W1QvuKSAICTRPAIUpEtAzBotEQFSNCRQEHiAQZajAIhPRLpAVUPkgQAxJATIz0wyFRSMUBnLCMLTQYm4AMEZCpRFRsa+j0rmvtc87rKyTy507uO/vus/deezrntjGQ+q8/v1SrUd8NDeUoHB6h710RBhZHcUmj07WIzv8MtLciIUFs0Gh7wQ15iHWx1yYG3R/hSiO5OJKPzEYcHa2Izh4C2q7QWURBDu0GjAJyewLxBGKCvbBqagXaqdHRQa0UkJUNJHKQHD2FFqKWZkTHqxH9ugcFyQSiE9X4Yv1yINXuFeJZmDBjASEinP39T8QKi/D4zDJaxh1E874tFYjkPjKHiMW4l4W8EROuzcNpeD3cOTay8DvaDE9RW4DZ3VgS5gdtKD/WCHHGm93dTBNIpdC7Ry4uHtqd6RGxWx5wUb+3cnF6Y+GrbyBWMFRFJN0+hpk4WvH2xgj92BP15tYHo4TAY7c95DBTTIklVbX0JPKLJ7sotaFcfZ7qiKv1mpkVSDHiUGspilScWJbjWRgZqEB6kqMmuu6jvcWlKSM9Sl0kPgPJjBNsohx0hB6pPva0IBG1YfVr8918namzBufG2zG2+F4XfhuBrOAdHtl6l0J0qsYhZvxGF4/Y246de/D9nhq0pph3SqlE3ph5DR08KMOkk6366ltMmD6PLVWumjuuyp2PTbzK+tOxU4gNLHZFYlctX0WkbuWw3VYsGtng0knaWALbpFcVydKgnXghahp9ldN6fL/maHUG/N/cuZf6lScaa7ctadz3qUMRkiEzbJF4IYq0huiYJs8zc1aIUvLld8aSeQchb61hYNRWEo2ZkF50irs4COgskmlyXsXSR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Go7Xpg0DuUr19GH96a/MMNxEkjIVOdYcgtImetdxypMtTaklKKQ0/9Hcwu27eTgaND8DbTpwypnQz/lb22iJW99kbBl62NIg4QADIw6vo3hys3ImMZyIAWdYf1paA4ZiUWs46BoKU9fIB5N5fWZWKklDjL5CxlTbDwXD8xNlcvOMqX2CSKQWhCuz3AOPbbpWosk0OPJMiSyDRLlAhVdFYBZ2L9wbvt/+b1QevPSfwG9r9wlYYxBBgAAAABJRU5ErkJggg==)}", ""]);
|
|
144908
|
+
// Exports
|
|
144909
|
+
module.exports = exports;
|
|
144910
|
+
|
|
144911
|
+
|
|
144927
144912
|
/***/ }),
|
|
144928
144913
|
|
|
144929
144914
|
/***/ "b047":
|
|
@@ -151892,7 +151877,7 @@ var Triangulation = /** @class */ (function () {
|
|
|
151892
151877
|
this.targetProj_ = targetProj;
|
|
151893
151878
|
/** @type {!Object<string, import("../coordinate.js").Coordinate>} */
|
|
151894
151879
|
var transformInvCache = {};
|
|
151895
|
-
var transformInv = Object(_proj_js__WEBPACK_IMPORTED_MODULE_1__[/* getTransform */ "
|
|
151880
|
+
var transformInv = Object(_proj_js__WEBPACK_IMPORTED_MODULE_1__[/* getTransform */ "p"])(this.targetProj_, this.sourceProj_);
|
|
151896
151881
|
/**
|
|
151897
151882
|
* @param {import("../coordinate.js").Coordinate} c A coordinate.
|
|
151898
151883
|
* @return {import("../coordinate.js").Coordinate} Transformed coordinate.
|
|
@@ -153177,12 +153162,12 @@ var FeatureFormat = /** @class */ (function () {
|
|
|
153177
153162
|
var options;
|
|
153178
153163
|
if (opt_options) {
|
|
153179
153164
|
var dataProjection = opt_options.dataProjection
|
|
153180
|
-
? Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "
|
|
153165
|
+
? Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "n"])(opt_options.dataProjection)
|
|
153181
153166
|
: this.readProjection(source);
|
|
153182
153167
|
if (opt_options.extent &&
|
|
153183
153168
|
dataProjection &&
|
|
153184
153169
|
dataProjection.getUnits() === _proj_Units_js__WEBPACK_IMPORTED_MODULE_0__[/* default */ "b"].TILE_PIXELS) {
|
|
153185
|
-
dataProjection = Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "
|
|
153170
|
+
dataProjection = Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "n"])(dataProjection);
|
|
153186
153171
|
dataProjection.setWorldExtent(opt_options.extent);
|
|
153187
153172
|
}
|
|
153188
153173
|
options = {
|
|
@@ -153301,10 +153286,10 @@ var FeatureFormat = /** @class */ (function () {
|
|
|
153301
153286
|
*/
|
|
153302
153287
|
function transformGeometryWithOptions(geometry, write, opt_options) {
|
|
153303
153288
|
var featureProjection = opt_options
|
|
153304
|
-
? Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "
|
|
153289
|
+
? Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "n"])(opt_options.featureProjection)
|
|
153305
153290
|
: null;
|
|
153306
153291
|
var dataProjection = opt_options
|
|
153307
|
-
? Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "
|
|
153292
|
+
? Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "n"])(opt_options.dataProjection)
|
|
153308
153293
|
: null;
|
|
153309
153294
|
var transformed;
|
|
153310
153295
|
if (featureProjection &&
|
|
@@ -153345,15 +153330,15 @@ function transformGeometryWithOptions(geometry, write, opt_options) {
|
|
|
153345
153330
|
*/
|
|
153346
153331
|
function transformExtentWithOptions(extent, opt_options) {
|
|
153347
153332
|
var featureProjection = opt_options
|
|
153348
|
-
? Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "
|
|
153333
|
+
? Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "n"])(opt_options.featureProjection)
|
|
153349
153334
|
: null;
|
|
153350
153335
|
var dataProjection = opt_options
|
|
153351
|
-
? Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "
|
|
153336
|
+
? Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "n"])(opt_options.dataProjection)
|
|
153352
153337
|
: null;
|
|
153353
153338
|
if (featureProjection &&
|
|
153354
153339
|
dataProjection &&
|
|
153355
153340
|
!Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* equivalent */ "i"])(featureProjection, dataProjection)) {
|
|
153356
|
-
return Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* transformExtent */ "
|
|
153341
|
+
return Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* transformExtent */ "w"])(extent, dataProjection, featureProjection);
|
|
153357
153342
|
}
|
|
153358
153343
|
else {
|
|
153359
153344
|
return extent;
|
|
@@ -153714,9 +153699,9 @@ var CanvasTileLayerRenderer = /** @class */ (function (_super) {
|
|
|
153714
153699
|
var z = tileGrid.getZForResolution(viewResolution, tileSource.zDirection);
|
|
153715
153700
|
var tileResolution = tileGrid.getResolution(z);
|
|
153716
153701
|
var extent = frameState.extent;
|
|
153717
|
-
var layerExtent = layerState.extent && Object(_proj_js__WEBPACK_IMPORTED_MODULE_10__[/* fromUserExtent */ "
|
|
153702
|
+
var layerExtent = layerState.extent && Object(_proj_js__WEBPACK_IMPORTED_MODULE_10__[/* fromUserExtent */ "l"])(layerState.extent, projection);
|
|
153718
153703
|
if (layerExtent) {
|
|
153719
|
-
extent = Object(_extent_js__WEBPACK_IMPORTED_MODULE_8__[/* getIntersection */ "B"])(extent, Object(_proj_js__WEBPACK_IMPORTED_MODULE_10__[/* fromUserExtent */ "
|
|
153704
|
+
extent = Object(_extent_js__WEBPACK_IMPORTED_MODULE_8__[/* getIntersection */ "B"])(extent, Object(_proj_js__WEBPACK_IMPORTED_MODULE_10__[/* fromUserExtent */ "l"])(layerState.extent, projection));
|
|
153720
153705
|
}
|
|
153721
153706
|
var tilePixelRatio = tileSource.getTilePixelRatio(pixelRatio);
|
|
153722
153707
|
// desired dimensions of the canvas in pixels
|
|
@@ -156246,6 +156231,20 @@ module.exports = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, I
|
|
|
156246
156231
|
};
|
|
156247
156232
|
|
|
156248
156233
|
|
|
156234
|
+
/***/ }),
|
|
156235
|
+
|
|
156236
|
+
/***/ "c770":
|
|
156237
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
156238
|
+
|
|
156239
|
+
// Imports
|
|
156240
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
156241
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
156242
|
+
// Module
|
|
156243
|
+
exports.push([module.i, "#map{width:100%;height:var(--height);background-size:100% 100%;background-color:#000}.popupBox{background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWkAAAG9CAYAAADX1Id3AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAiGSURBVHic7dc9juNkAIDhz2G00kpbIYqFO1DQIBqalbgA4hy0XIKKe3ACJMSF6NAWSIwpJjPrOM7P/Kz2LZ6nSWx/tj87zjuZafz064/j1Zt3A4CWf//582a8evNu/PHbd596LgCs/PDz2H3qOQBwmkgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiTRAmEgDhIk0QJhIA4SJNECYSAOEiT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512dXThvbjoatH4gTx5wW89k81om5LrcdzevCfltzXXv2Na52mF7oGg/mtt/+1Gu8O9ZGpNdjNvbd+sKur/Fg82Lb+rf7vNp+NObM/Tk61jM+y+P/KU6E79x/KI/8LLfuz8kxJ1csVp97IK/8To4xxvz8a/zrfwlaaWDxULgDAAAAAElFTkSuQmCC) 50% no-repeat;background-size:100% 100%;height:auto;width:auto;animation:fadenum .6s ease;box-shadow:0 0 8px #000;position:absolute}#popupHeader{height:20px;line-height:20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAAAcCAYAAABMISW2AAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAaGSURBVHic7Z3bbtvYFYY/cpM6WrItn2LEBZwicFDDmAHmAeZB+jK96bP0dYoxjAwyCIpx4UniOD5EsqwTqd0LkRbFkFzyCSOn67uw9uI6cFOmfi1sUpLj/NNaxwHHAccVHhNjt8BXtG2SZ4vz7rs/IQ8AC5YEduZhxmlnAlP2HfIK92lTm1P7mCfvyeZaMDdxDk/xvKb3+RTP673n6izcOZD1v3zw+SrkPuZr5DHPgSeb6xOcr8l9uiiKoigLiWdXw79bwonlmmgY2Y6JdDyyrbFYJmo/DhPxQBjZtyTsIGUn/WFGfGyPc+oBhAG43uz7jhu9D4UpO+kPMuLjHNdm1wsy4uMkWzDHIH1MARgvUTPnGJJzNKl9jjOOKVH+m3jpGEz6OfEsjKb1XH9qA5iEPUrZsX+UEw8wvkc9RjCMbM+P5h9tMCU7GUa2V5r1hyk76Y9rmpKdGlHMMGGbkoVB4hjKs7aXsAcpO/YPYmfsT9hhbPcjf2Vq9wG/MuuP7V7Kpjd5KFXtZBjZfnXWH8T2TRRfm54TNzezNl0o1W08hC6U6wn/NZSXLNcp+5YOjBqzdiWy29GfSjPh/wrVZctVbF9BbWX2nB2kX4cXUG9ZgJc9ShurgxblMjbAsS5OCaAMtjuxbTB0zvqlTydh/IR+hO52ouYJP/5lp+WOWbcujg1HDvjggw1wPHdiWxf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3W4//MJgEhVoRVEWlvWSEbvnztfwRoqpe7I4d8JscQZwvDm+96PHp5Pw4RcGk6hAK4qykGwuyUsbAMeDvrC0URfFuQ+9385zuufXW+tY+SPdb/uPt7QRowKtKMpC0jDyL3R3hhR2zy+XKDdMrSHVGQ7yf23FMZ689mz5JMXcBxVoRVEWjq2KLM7tLr3fO8UC3XTnqOOGl7ndc5N1KX846J8etZ9GoD33yvzL+AbPA+OD54PxzGR8u83FeLEvekxtM56LtWAtYMFaNzEGizsdW8DmxBPHFMQD1pZm66fH5GxPjwFrneKYKO7b7V6qljebY7xUjocNo1pE+cEDj2Et+PkpTgxF+TM57TM87TOEPtQqdsY5wOakfcPkC5POOjQ27PRnXi+huZWocQU5nyA/bPOF4z++0NpNxB/Di9eWMfAe4D+wvT/vlO7E/wD6iVfgUp99LQAAAABJRU5ErkJggg==) 50% no-repeat;background-size:100% 100%;padding:5px 0}#popupHeaderTitle{float:left;margin:0 0 0 7px;color:#fff;font-size:14px;font-weight:600;text-shadow:0 0 1px;letter-spacing:1px}#closePopup{height:20px;width:20px;background:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABYAAAAWCAYAAADEtGw7AAAABGdBTUEAALGPC/xhBQAAADhlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAAqACAAQAAAABAAAAFqADAAQAAAABAAAAFgAAAAA/6RFgAAACAklEQVQ4EdVVuU5bQRQ91xBMDaKkSkgPwtjQ0ZAiBT38AmKRMCAhsUkUZhEKEr+QniJ1EI1xIM4HQEeJoDbrcO6MH2/m8RywQgquNJp3t+O7zTXw3kj+GvAv0w2DMdp85fnE08lzyXPG8wOC7xiQc34/o3TgU5PFFdYIOkmP9mdesaBG8F10YAk9ch2LQXGSqqYLt9gn6GBS1ZAXlPEBo+iTi8gmBHaR/mwKNEYqM/LhKPJMJLe3S//1kfrOmqH61ykG1kYBU5HC3oIc72IgixjBCgs5FLH21p44HMTAwDhLkA0MgREUZItW04FcsIC8rNI+H8i10W6KPOAHO1KhncE6jswsR+obFTNWKZgjaAkVM0F+J3SwnI4mWp8Ugo/8tTTaZHqG4Ns4MYfolyr5STxAfyyNdN69cauYawK3pVlaWQv6kJM/ODa9uEe1oZ3ghhll/Rrri0qnDJuqoCfGgWcwm25opRbHB9ZnmkYTLMMua1rEHX6z5tO2LI2mxT13r3n69pOk01CQPdZ0gWXaqKt3yE/ZaREsJl3IW5z45bmFc0qAeOTcnH6hbDkFoMgOHVB37OlqDPUzMzqPgVVbMSUaznmGzX0Ks8rLvDqFwP9tV+jq0y2l26oZirabtzr9qXBQuvp0S2laQO0FfN3HG9beW5nqE5YiifIP/yBJqDfjHwFTdJhmYEehHgAAAABJRU5ErkJggg==) 50% no-repeat;background-size:100% 100%;float:right;margin:0 2px;cursor:pointer}#popupContent{color:#fff;text-align:left;padding:0 5px 5px 5px;font-size:14px;width:100%;box-sizing:border-box;overflow:hidden}#popupContent:hover{overflow:overlay}#popupContent::-webkit-scrollbar{width:6px}#popupContent::-webkit-scrollbar-track{background-color:#477dd0;-webkit-box-shadow:inset 0 0 3px rgba(0,0,0,.1);border-radius:6px}#popupContent::-webkit-scrollbar-thumb{background:rgba(14,56,84,.8509803921568627);border-radius:6px}", ""]);
|
|
156244
|
+
// Exports
|
|
156245
|
+
module.exports = exports;
|
|
156246
|
+
|
|
156247
|
+
|
|
156249
156248
|
/***/ }),
|
|
156250
156249
|
|
|
156251
156250
|
/***/ "c7ea":
|
|
@@ -163059,6 +163058,22 @@ module.exports = Object.setPrototypeOf || ('__proto__' in {} ? function () {
|
|
|
163059
163058
|
}() : undefined);
|
|
163060
163059
|
|
|
163061
163060
|
|
|
163061
|
+
/***/ }),
|
|
163062
|
+
|
|
163063
|
+
/***/ "d323":
|
|
163064
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
163065
|
+
|
|
163066
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
163067
|
+
|
|
163068
|
+
// load the styles
|
|
163069
|
+
var content = __webpack_require__("c770");
|
|
163070
|
+
if(content.__esModule) content = content.default;
|
|
163071
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
163072
|
+
if(content.locals) module.exports = content.locals;
|
|
163073
|
+
// add the styles to the DOM
|
|
163074
|
+
var add = __webpack_require__("499e").default
|
|
163075
|
+
var update = add("1abcd0b9", content, true, {"sourceMap":false,"shadowMode":false});
|
|
163076
|
+
|
|
163062
163077
|
/***/ }),
|
|
163063
163078
|
|
|
163064
163079
|
/***/ "d44e":
|
|
@@ -166236,20 +166251,6 @@ function executeLabelInstructions(label, context) {
|
|
|
166236
166251
|
}
|
|
166237
166252
|
//# sourceMappingURL=canvas.js.map
|
|
166238
166253
|
|
|
166239
|
-
/***/ }),
|
|
166240
|
-
|
|
166241
|
-
/***/ "de26":
|
|
166242
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
166243
|
-
|
|
166244
|
-
// Imports
|
|
166245
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
166246
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
166247
|
-
// Module
|
|
166248
|
-
exports.push([module.i, ".widgetBox[data-v-4cd5c1b5]{position:absolute;right:var(--right);top:var(--top);z-index:999;width:34px;height:auto;border:1px solid #1897e7;padding:3px 2px;background:rgba(0,21,43,.6);box-sizing:border-box}.weight_button[data-v-4cd5c1b5]{width:28px;height:28px;cursor:pointer;margin-bottom:3px}#back_all[data-v-4cd5c1b5]{background-size:100% 100%;cursor:pointer}#back_all[data-v-4cd5c1b5],#back_all[data-v-4cd5c1b5]:link{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAeCAYAAAFMN540AAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAHqADAAQAAAABAAAAHgAAAADKQTcFAAAGXklEQVRIDb1XWWxVVRRd7/W1QvuKSAICTRPAIUpEt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5FxDDIS7ljGVZaBMtYY7jWvJw6NxcFslykqnYdmiUiRzCKiJ1PUkPd44FrD+RggJKEjj5VO+GSDJNUIvYTMdRAp9et2IVUsWYupT40w5/BTdPZhf8Q6s2fg+mhpbkJ/fA5tWv4kpJY+htbUNGyo/wdbtP6KwoB927DqA8/zDKCX/RpnAwaNWiyqF5YvmYPH82Zk7Xfgs9u/ikf1dZHrJycnG3OnPYOQ9Q1D/ywnkdu+GdZX8FukcZlBnxhk9Xc4yLn5lZoba9dnm5n+wu6YOz88tw6XLTWwne6v+arDE2wzRj81J6LGdMSqYYha27qjGD3sPXh/Na3z9XTWSA4sw9tk5uPRXBqhdHB5cvhWAP34u4wyIms/exYihvGmvQ8pwy5ffYOnKtTh28owLWk4tQ7+6dtKTptktwa0DTmcMjHy6FL2Subhv2BBc/rsRe2sPcZDaMOu5J9H7pp74uGo7Xpg0DuUr19GH96a/MMNxEkjIVOdYcgtImetdxypMtTaklKKQ0/9Hcwu27eTgaND8DbTpwypnQz/lb22iJW99kbBl62NIg4QADIw6vo3hys3ImMZyIAWdYf1paA4ZiUWs46BoKU9fIB5N5fWZWKklDjL5CxlTbDwXD8xNlcvOMqX2CSKQWhCuz3AOPbbpWosk0OPJMiSyDRLlAhVdFYBZ2L9wbvt/+b1QevPSfwG9r9wlYYxBBgAAAABJRU5ErkJggg==)}", ""]);
|
|
166249
|
-
// Exports
|
|
166250
|
-
module.exports = exports;
|
|
166251
|
-
|
|
166252
|
-
|
|
166253
166254
|
/***/ }),
|
|
166254
166255
|
|
|
166255
166256
|
/***/ "df4c":
|
|
@@ -176937,13 +176938,13 @@ if (typeof window !== 'undefined') {
|
|
|
176937
176938
|
// Indicate to webpack that this file can be concatenated
|
|
176938
176939
|
/* harmony default export */ var setPublicPath = (null);
|
|
176939
176940
|
|
|
176940
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
176941
|
-
var
|
|
176941
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0a279e72-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMap2d/src/index.vue?vue&type=template&id=4ededa80
|
|
176942
|
+
var srcvue_type_template_id_4ededa80_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',[_c('div',{style:({ '--height': _vm.mapBoxHeight }),attrs:{"id":"map"}}),_c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.shopPopup),expression:"shopPopup"}],ref:"popup",staticClass:"popupBox"},[_c('div',{attrs:{"id":"popupHeader"}},[_c('div',{attrs:{"id":"popupHeaderTitle"}},[_vm._v("详细信息")]),_c('div',{attrs:{"id":"closePopup"},on:{"click":_vm.closePopup}})]),_c('div',{attrs:{"id":"popupContent"}},[_c(_vm.currentTabComponent,{ref:"infoWindowRef",tag:"component",attrs:{"popupAttr":_vm.popupAttributes}})],1)]),(_vm.map)?_c('measureTool',{attrs:{"map":_vm.map},on:{"updateValue":_vm.measuredrawChange}}):_vm._e()],1)
|
|
176942
176943
|
}
|
|
176943
176944
|
var staticRenderFns = []
|
|
176944
176945
|
|
|
176945
176946
|
|
|
176946
|
-
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue?vue&type=template&id=
|
|
176947
|
+
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue?vue&type=template&id=4ededa80
|
|
176947
176948
|
|
|
176948
176949
|
// EXTERNAL MODULE: ./node_modules/ol/Map.js + 8 modules
|
|
176949
176950
|
var ol_Map = __webpack_require__("5eee");
|
|
@@ -177402,7 +177403,7 @@ var TileImage_TileImage = /** @class */ (function (_super) {
|
|
|
177402
177403
|
*/
|
|
177403
177404
|
TileImage.prototype.setTileGridForProjection = function (projection, tilegrid) {
|
|
177404
177405
|
if (common["a" /* ENABLE_RASTER_REPROJECTION */]) {
|
|
177405
|
-
var proj = Object(ol_proj["
|
|
177406
|
+
var proj = Object(ol_proj["n" /* get */])(projection);
|
|
177406
177407
|
if (proj) {
|
|
177407
177408
|
var projKey = Object(util["getUid"])(proj);
|
|
177408
177409
|
if (!(projKey in this.tileGridForProjection)) {
|
|
@@ -177704,6 +177705,477 @@ var TileArcGISRest_TileArcGISRest = /** @class */ (function (_super) {
|
|
|
177704
177705
|
}(source_TileImage));
|
|
177705
177706
|
/* harmony default export */ var source_TileArcGISRest = (TileArcGISRest_TileArcGISRest);
|
|
177706
177707
|
//# sourceMappingURL=TileArcGISRest.js.map
|
|
177708
|
+
// CONCATENATED MODULE: ./node_modules/ol/source/common.js
|
|
177709
|
+
/**
|
|
177710
|
+
* @module ol/source/common
|
|
177711
|
+
*/
|
|
177712
|
+
/**
|
|
177713
|
+
* Default WMS version.
|
|
177714
|
+
* @type {string}
|
|
177715
|
+
*/
|
|
177716
|
+
var DEFAULT_WMS_VERSION = '1.3.0';
|
|
177717
|
+
//# sourceMappingURL=common.js.map
|
|
177718
|
+
// CONCATENATED MODULE: ./node_modules/ol/source/WMSServerType.js
|
|
177719
|
+
/**
|
|
177720
|
+
* @module ol/source/WMSServerType
|
|
177721
|
+
*/
|
|
177722
|
+
/**
|
|
177723
|
+
* Available server types: `'carmentaserver'`, `'geoserver'`, `'mapserver'`,
|
|
177724
|
+
* `'qgis'`. These are servers that have vendor parameters beyond the WMS
|
|
177725
|
+
* specification that OpenLayers can make use of.
|
|
177726
|
+
* @enum {string}
|
|
177727
|
+
*/
|
|
177728
|
+
/* harmony default export */ var WMSServerType = ({
|
|
177729
|
+
/**
|
|
177730
|
+
* HiDPI support for [Carmenta Server](https://www.carmenta.com/en/products/carmenta-server)
|
|
177731
|
+
* @api
|
|
177732
|
+
*/
|
|
177733
|
+
CARMENTA_SERVER: 'carmentaserver',
|
|
177734
|
+
/**
|
|
177735
|
+
* HiDPI support for [GeoServer](https://geoserver.org/)
|
|
177736
|
+
* @api
|
|
177737
|
+
*/
|
|
177738
|
+
GEOSERVER: 'geoserver',
|
|
177739
|
+
/**
|
|
177740
|
+
* HiDPI support for [MapServer](https://mapserver.org/)
|
|
177741
|
+
* @api
|
|
177742
|
+
*/
|
|
177743
|
+
MAPSERVER: 'mapserver',
|
|
177744
|
+
/**
|
|
177745
|
+
* HiDPI support for [QGIS](https://qgis.org/)
|
|
177746
|
+
* @api
|
|
177747
|
+
*/
|
|
177748
|
+
QGIS: 'qgis',
|
|
177749
|
+
});
|
|
177750
|
+
//# sourceMappingURL=WMSServerType.js.map
|
|
177751
|
+
// EXTERNAL MODULE: ./node_modules/ol/asserts.js
|
|
177752
|
+
var asserts = __webpack_require__("92fa");
|
|
177753
|
+
|
|
177754
|
+
// EXTERNAL MODULE: ./node_modules/ol/reproj.js
|
|
177755
|
+
var reproj = __webpack_require__("3c81");
|
|
177756
|
+
|
|
177757
|
+
// EXTERNAL MODULE: ./node_modules/ol/string.js
|
|
177758
|
+
var ol_string = __webpack_require__("b0c1");
|
|
177759
|
+
|
|
177760
|
+
// CONCATENATED MODULE: ./node_modules/ol/source/TileWMS.js
|
|
177761
|
+
/**
|
|
177762
|
+
* @module ol/source/TileWMS
|
|
177763
|
+
*/
|
|
177764
|
+
var TileWMS_extends = (undefined && undefined.__extends) || (function () {
|
|
177765
|
+
var extendStatics = function (d, b) {
|
|
177766
|
+
extendStatics = Object.setPrototypeOf ||
|
|
177767
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
177768
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
177769
|
+
return extendStatics(d, b);
|
|
177770
|
+
};
|
|
177771
|
+
return function (d, b) {
|
|
177772
|
+
if (typeof b !== "function" && b !== null)
|
|
177773
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
177774
|
+
extendStatics(d, b);
|
|
177775
|
+
function __() { this.constructor = d; }
|
|
177776
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
177777
|
+
};
|
|
177778
|
+
})();
|
|
177779
|
+
|
|
177780
|
+
|
|
177781
|
+
|
|
177782
|
+
|
|
177783
|
+
|
|
177784
|
+
|
|
177785
|
+
|
|
177786
|
+
|
|
177787
|
+
|
|
177788
|
+
|
|
177789
|
+
|
|
177790
|
+
|
|
177791
|
+
|
|
177792
|
+
/**
|
|
177793
|
+
* @typedef {Object} Options
|
|
177794
|
+
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
177795
|
+
* @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
|
|
177796
|
+
* @property {number} [cacheSize] Initial tile cache size. Will auto-grow to hold at least the number of tiles in the viewport.
|
|
177797
|
+
* @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
|
|
177798
|
+
* you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
|
|
177799
|
+
* See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
|
|
177800
|
+
* @property {boolean} [imageSmoothing=true] Deprecated. Use the `interpolate` option instead.
|
|
177801
|
+
* @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
|
|
177802
|
+
* linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
|
|
177803
|
+
* @property {Object<string,*>} params WMS request parameters.
|
|
177804
|
+
* At least a `LAYERS` param is required. `STYLES` is
|
|
177805
|
+
* `''` by default. `VERSION` is `1.3.0` by default. `WIDTH`, `HEIGHT`, `BBOX`
|
|
177806
|
+
* and `CRS` (`SRS` for WMS version < 1.3.0) will be set dynamically.
|
|
177807
|
+
* @property {number} [gutter=0]
|
|
177808
|
+
* The size in pixels of the gutter around image tiles to ignore. By setting
|
|
177809
|
+
* this property to a non-zero value, images will be requested that are wider
|
|
177810
|
+
* and taller than the tile size by a value of `2 x gutter`.
|
|
177811
|
+
* Using a non-zero value allows artifacts of rendering at tile edges to be
|
|
177812
|
+
* ignored. If you control the WMS service it is recommended to address
|
|
177813
|
+
* "artifacts at tile edges" issues by properly configuring the WMS service. For
|
|
177814
|
+
* example, MapServer has a `tile_map_edge_buffer` configuration parameter for
|
|
177815
|
+
* this. See https://mapserver.org/output/tile_mode.html.
|
|
177816
|
+
* @property {boolean} [hidpi=true] Use the `ol/Map#pixelRatio` value when requesting
|
|
177817
|
+
* the image from the remote server.
|
|
177818
|
+
* @property {import("../proj.js").ProjectionLike} [projection] Projection. Default is the view projection.
|
|
177819
|
+
* @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
|
|
177820
|
+
* Higher values can increase reprojection performance, but decrease precision.
|
|
177821
|
+
* @property {typeof import("../ImageTile.js").default} [tileClass] Class used to instantiate image tiles.
|
|
177822
|
+
* Default is {@link module:ol/ImageTile~ImageTile}.
|
|
177823
|
+
* @property {import("../tilegrid/TileGrid.js").default} [tileGrid] Tile grid. Base this on the resolutions,
|
|
177824
|
+
* tilesize and extent supported by the server.
|
|
177825
|
+
* If this is not defined, a default grid will be used: if there is a projection
|
|
177826
|
+
* extent, the grid will be based on that; if not, a grid based on a global
|
|
177827
|
+
* extent with origin at 0,0 will be used..
|
|
177828
|
+
* @property {import("./WMSServerType.js").default|string} [serverType]
|
|
177829
|
+
* The type of the remote WMS server. Currently only used when `hidpi` is
|
|
177830
|
+
* `true`.
|
|
177831
|
+
* @property {import("../Tile.js").LoadFunction} [tileLoadFunction] Optional function to load a tile given a URL. The default is
|
|
177832
|
+
* ```js
|
|
177833
|
+
* function(imageTile, src) {
|
|
177834
|
+
* imageTile.getImage().src = src;
|
|
177835
|
+
* };
|
|
177836
|
+
* ```
|
|
177837
|
+
* @property {string} [url] WMS service URL.
|
|
177838
|
+
* @property {Array<string>} [urls] WMS service urls.
|
|
177839
|
+
* Use this instead of `url` when the WMS supports multiple urls for GetMap requests.
|
|
177840
|
+
* @property {boolean} [wrapX=true] Whether to wrap the world horizontally.
|
|
177841
|
+
* When set to `false`, only one world
|
|
177842
|
+
* will be rendered. When `true`, tiles will be requested for one world only,
|
|
177843
|
+
* but they will be wrapped horizontally to render multiple worlds.
|
|
177844
|
+
* @property {number} [transition] Duration of the opacity transition for rendering.
|
|
177845
|
+
* To disable the opacity transition, pass `transition: 0`.
|
|
177846
|
+
* @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0]
|
|
177847
|
+
* Choose whether to use tiles with a higher or lower zoom level when between integer
|
|
177848
|
+
* zoom levels. See {@link module:ol/tilegrid/TileGrid~TileGrid#getZForResolution}.
|
|
177849
|
+
*/
|
|
177850
|
+
/**
|
|
177851
|
+
* @classdesc
|
|
177852
|
+
* Layer source for tile data from WMS servers.
|
|
177853
|
+
* @api
|
|
177854
|
+
*/
|
|
177855
|
+
var TileWMS_TileWMS = /** @class */ (function (_super) {
|
|
177856
|
+
TileWMS_extends(TileWMS, _super);
|
|
177857
|
+
/**
|
|
177858
|
+
* @param {Options} [opt_options] Tile WMS options.
|
|
177859
|
+
*/
|
|
177860
|
+
function TileWMS(opt_options) {
|
|
177861
|
+
var _this = this;
|
|
177862
|
+
var options = opt_options ? opt_options : /** @type {Options} */ ({});
|
|
177863
|
+
var interpolate = options.imageSmoothing !== undefined ? options.imageSmoothing : true;
|
|
177864
|
+
if (options.interpolate !== undefined) {
|
|
177865
|
+
interpolate = options.interpolate;
|
|
177866
|
+
}
|
|
177867
|
+
var params = options.params || {};
|
|
177868
|
+
var transparent = 'TRANSPARENT' in params ? params['TRANSPARENT'] : true;
|
|
177869
|
+
_this = _super.call(this, {
|
|
177870
|
+
attributions: options.attributions,
|
|
177871
|
+
attributionsCollapsible: options.attributionsCollapsible,
|
|
177872
|
+
cacheSize: options.cacheSize,
|
|
177873
|
+
crossOrigin: options.crossOrigin,
|
|
177874
|
+
interpolate: interpolate,
|
|
177875
|
+
opaque: !transparent,
|
|
177876
|
+
projection: options.projection,
|
|
177877
|
+
reprojectionErrorThreshold: options.reprojectionErrorThreshold,
|
|
177878
|
+
tileClass: options.tileClass,
|
|
177879
|
+
tileGrid: options.tileGrid,
|
|
177880
|
+
tileLoadFunction: options.tileLoadFunction,
|
|
177881
|
+
url: options.url,
|
|
177882
|
+
urls: options.urls,
|
|
177883
|
+
wrapX: options.wrapX !== undefined ? options.wrapX : true,
|
|
177884
|
+
transition: options.transition,
|
|
177885
|
+
zDirection: options.zDirection,
|
|
177886
|
+
}) || this;
|
|
177887
|
+
/**
|
|
177888
|
+
* @private
|
|
177889
|
+
* @type {number}
|
|
177890
|
+
*/
|
|
177891
|
+
_this.gutter_ = options.gutter !== undefined ? options.gutter : 0;
|
|
177892
|
+
/**
|
|
177893
|
+
* @private
|
|
177894
|
+
* @type {!Object}
|
|
177895
|
+
*/
|
|
177896
|
+
_this.params_ = params;
|
|
177897
|
+
/**
|
|
177898
|
+
* @private
|
|
177899
|
+
* @type {boolean}
|
|
177900
|
+
*/
|
|
177901
|
+
_this.v13_ = true;
|
|
177902
|
+
/**
|
|
177903
|
+
* @private
|
|
177904
|
+
* @type {import("./WMSServerType.js").default|undefined}
|
|
177905
|
+
*/
|
|
177906
|
+
_this.serverType_ =
|
|
177907
|
+
/** @type {import("./WMSServerType.js").default|undefined} */ (options.serverType);
|
|
177908
|
+
/**
|
|
177909
|
+
* @private
|
|
177910
|
+
* @type {boolean}
|
|
177911
|
+
*/
|
|
177912
|
+
_this.hidpi_ = options.hidpi !== undefined ? options.hidpi : true;
|
|
177913
|
+
/**
|
|
177914
|
+
* @private
|
|
177915
|
+
* @type {import("../extent.js").Extent}
|
|
177916
|
+
*/
|
|
177917
|
+
_this.tmpExtent_ = Object(ol_extent["k" /* createEmpty */])();
|
|
177918
|
+
_this.updateV13_();
|
|
177919
|
+
_this.setKey(_this.getKeyForParams_());
|
|
177920
|
+
return _this;
|
|
177921
|
+
}
|
|
177922
|
+
/**
|
|
177923
|
+
* Return the GetFeatureInfo URL for the passed coordinate, resolution, and
|
|
177924
|
+
* projection. Return `undefined` if the GetFeatureInfo URL cannot be
|
|
177925
|
+
* constructed.
|
|
177926
|
+
* @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
|
|
177927
|
+
* @param {number} resolution Resolution.
|
|
177928
|
+
* @param {import("../proj.js").ProjectionLike} projection Projection.
|
|
177929
|
+
* @param {!Object} params GetFeatureInfo params. `INFO_FORMAT` at least should
|
|
177930
|
+
* be provided. If `QUERY_LAYERS` is not provided then the layers specified
|
|
177931
|
+
* in the `LAYERS` parameter will be used. `VERSION` should not be
|
|
177932
|
+
* specified here.
|
|
177933
|
+
* @return {string|undefined} GetFeatureInfo URL.
|
|
177934
|
+
* @api
|
|
177935
|
+
*/
|
|
177936
|
+
TileWMS.prototype.getFeatureInfoUrl = function (coordinate, resolution, projection, params) {
|
|
177937
|
+
var projectionObj = Object(ol_proj["n" /* get */])(projection);
|
|
177938
|
+
var sourceProjectionObj = this.getProjection();
|
|
177939
|
+
var tileGrid = this.getTileGrid();
|
|
177940
|
+
if (!tileGrid) {
|
|
177941
|
+
tileGrid = this.getTileGridForProjection(projectionObj);
|
|
177942
|
+
}
|
|
177943
|
+
var z = tileGrid.getZForResolution(resolution, this.zDirection);
|
|
177944
|
+
var tileCoord = tileGrid.getTileCoordForCoordAndZ(coordinate, z);
|
|
177945
|
+
if (tileGrid.getResolutions().length <= tileCoord[0]) {
|
|
177946
|
+
return undefined;
|
|
177947
|
+
}
|
|
177948
|
+
var tileResolution = tileGrid.getResolution(tileCoord[0]);
|
|
177949
|
+
var tileExtent = tileGrid.getTileCoordExtent(tileCoord, this.tmpExtent_);
|
|
177950
|
+
var tileSize = Object(ol_size["d" /* toSize */])(tileGrid.getTileSize(tileCoord[0]), this.tmpSize);
|
|
177951
|
+
var gutter = this.gutter_;
|
|
177952
|
+
if (gutter !== 0) {
|
|
177953
|
+
tileSize = Object(ol_size["a" /* buffer */])(tileSize, gutter, this.tmpSize);
|
|
177954
|
+
tileExtent = Object(ol_extent["d" /* buffer */])(tileExtent, tileResolution * gutter, tileExtent);
|
|
177955
|
+
}
|
|
177956
|
+
if (sourceProjectionObj && sourceProjectionObj !== projectionObj) {
|
|
177957
|
+
tileResolution = Object(reproj["b" /* calculateSourceResolution */])(sourceProjectionObj, projectionObj, coordinate, tileResolution);
|
|
177958
|
+
tileExtent = Object(ol_proj["w" /* transformExtent */])(tileExtent, projectionObj, sourceProjectionObj);
|
|
177959
|
+
coordinate = Object(ol_proj["v" /* transform */])(coordinate, projectionObj, sourceProjectionObj);
|
|
177960
|
+
}
|
|
177961
|
+
var baseParams = {
|
|
177962
|
+
'SERVICE': 'WMS',
|
|
177963
|
+
'VERSION': DEFAULT_WMS_VERSION,
|
|
177964
|
+
'REQUEST': 'GetFeatureInfo',
|
|
177965
|
+
'FORMAT': 'image/png',
|
|
177966
|
+
'TRANSPARENT': true,
|
|
177967
|
+
'QUERY_LAYERS': this.params_['LAYERS'],
|
|
177968
|
+
};
|
|
177969
|
+
Object(ol_obj["a" /* assign */])(baseParams, this.params_, params);
|
|
177970
|
+
var x = Math.floor((coordinate[0] - tileExtent[0]) / tileResolution);
|
|
177971
|
+
var y = Math.floor((tileExtent[3] - coordinate[1]) / tileResolution);
|
|
177972
|
+
baseParams[this.v13_ ? 'I' : 'X'] = x;
|
|
177973
|
+
baseParams[this.v13_ ? 'J' : 'Y'] = y;
|
|
177974
|
+
return this.getRequestUrl_(tileCoord, tileSize, tileExtent, 1, sourceProjectionObj || projectionObj, baseParams);
|
|
177975
|
+
};
|
|
177976
|
+
/**
|
|
177977
|
+
* Return the GetLegendGraphic URL, optionally optimized for the passed
|
|
177978
|
+
* resolution and possibly including any passed specific parameters. Returns
|
|
177979
|
+
* `undefined` if the GetLegendGraphic URL cannot be constructed.
|
|
177980
|
+
*
|
|
177981
|
+
* @param {number} [resolution] Resolution. If set to undefined, `SCALE`
|
|
177982
|
+
* will not be calculated and included in URL.
|
|
177983
|
+
* @param {Object} [params] GetLegendGraphic params. If `LAYER` is set, the
|
|
177984
|
+
* request is generated for this wms layer, else it will try to use the
|
|
177985
|
+
* configured wms layer. Default `FORMAT` is `image/png`.
|
|
177986
|
+
* `VERSION` should not be specified here.
|
|
177987
|
+
* @return {string|undefined} GetLegendGraphic URL.
|
|
177988
|
+
* @api
|
|
177989
|
+
*/
|
|
177990
|
+
TileWMS.prototype.getLegendUrl = function (resolution, params) {
|
|
177991
|
+
if (this.urls[0] === undefined) {
|
|
177992
|
+
return undefined;
|
|
177993
|
+
}
|
|
177994
|
+
var baseParams = {
|
|
177995
|
+
'SERVICE': 'WMS',
|
|
177996
|
+
'VERSION': DEFAULT_WMS_VERSION,
|
|
177997
|
+
'REQUEST': 'GetLegendGraphic',
|
|
177998
|
+
'FORMAT': 'image/png',
|
|
177999
|
+
};
|
|
178000
|
+
if (params === undefined || params['LAYER'] === undefined) {
|
|
178001
|
+
var layers = this.params_.LAYERS;
|
|
178002
|
+
var isSingleLayer = !Array.isArray(layers) || layers.length === 1;
|
|
178003
|
+
if (!isSingleLayer) {
|
|
178004
|
+
return undefined;
|
|
178005
|
+
}
|
|
178006
|
+
baseParams['LAYER'] = layers;
|
|
178007
|
+
}
|
|
178008
|
+
if (resolution !== undefined) {
|
|
178009
|
+
var mpu = this.getProjection()
|
|
178010
|
+
? this.getProjection().getMetersPerUnit()
|
|
178011
|
+
: 1;
|
|
178012
|
+
var pixelSize = 0.00028;
|
|
178013
|
+
baseParams['SCALE'] = (resolution * mpu) / pixelSize;
|
|
178014
|
+
}
|
|
178015
|
+
Object(ol_obj["a" /* assign */])(baseParams, params);
|
|
178016
|
+
return appendParams(/** @type {string} */ (this.urls[0]), baseParams);
|
|
178017
|
+
};
|
|
178018
|
+
/**
|
|
178019
|
+
* @return {number} Gutter.
|
|
178020
|
+
*/
|
|
178021
|
+
TileWMS.prototype.getGutter = function () {
|
|
178022
|
+
return this.gutter_;
|
|
178023
|
+
};
|
|
178024
|
+
/**
|
|
178025
|
+
* Get the user-provided params, i.e. those passed to the constructor through
|
|
178026
|
+
* the "params" option, and possibly updated using the updateParams method.
|
|
178027
|
+
* @return {Object} Params.
|
|
178028
|
+
* @api
|
|
178029
|
+
*/
|
|
178030
|
+
TileWMS.prototype.getParams = function () {
|
|
178031
|
+
return this.params_;
|
|
178032
|
+
};
|
|
178033
|
+
/**
|
|
178034
|
+
* @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
178035
|
+
* @param {import("../size.js").Size} tileSize Tile size.
|
|
178036
|
+
* @param {import("../extent.js").Extent} tileExtent Tile extent.
|
|
178037
|
+
* @param {number} pixelRatio Pixel ratio.
|
|
178038
|
+
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
178039
|
+
* @param {Object} params Params.
|
|
178040
|
+
* @return {string|undefined} Request URL.
|
|
178041
|
+
* @private
|
|
178042
|
+
*/
|
|
178043
|
+
TileWMS.prototype.getRequestUrl_ = function (tileCoord, tileSize, tileExtent, pixelRatio, projection, params) {
|
|
178044
|
+
var urls = this.urls;
|
|
178045
|
+
if (!urls) {
|
|
178046
|
+
return undefined;
|
|
178047
|
+
}
|
|
178048
|
+
params['WIDTH'] = tileSize[0];
|
|
178049
|
+
params['HEIGHT'] = tileSize[1];
|
|
178050
|
+
params[this.v13_ ? 'CRS' : 'SRS'] = projection.getCode();
|
|
178051
|
+
if (!('STYLES' in this.params_)) {
|
|
178052
|
+
params['STYLES'] = '';
|
|
178053
|
+
}
|
|
178054
|
+
if (pixelRatio != 1) {
|
|
178055
|
+
switch (this.serverType_) {
|
|
178056
|
+
case WMSServerType.GEOSERVER:
|
|
178057
|
+
var dpi = (90 * pixelRatio + 0.5) | 0;
|
|
178058
|
+
if ('FORMAT_OPTIONS' in params) {
|
|
178059
|
+
params['FORMAT_OPTIONS'] += ';dpi:' + dpi;
|
|
178060
|
+
}
|
|
178061
|
+
else {
|
|
178062
|
+
params['FORMAT_OPTIONS'] = 'dpi:' + dpi;
|
|
178063
|
+
}
|
|
178064
|
+
break;
|
|
178065
|
+
case WMSServerType.MAPSERVER:
|
|
178066
|
+
params['MAP_RESOLUTION'] = 90 * pixelRatio;
|
|
178067
|
+
break;
|
|
178068
|
+
case WMSServerType.CARMENTA_SERVER:
|
|
178069
|
+
case WMSServerType.QGIS:
|
|
178070
|
+
params['DPI'] = 90 * pixelRatio;
|
|
178071
|
+
break;
|
|
178072
|
+
default:
|
|
178073
|
+
Object(asserts["a" /* assert */])(false, 52); // Unknown `serverType` configured
|
|
178074
|
+
break;
|
|
178075
|
+
}
|
|
178076
|
+
}
|
|
178077
|
+
var axisOrientation = projection.getAxisOrientation();
|
|
178078
|
+
var bbox = tileExtent;
|
|
178079
|
+
if (this.v13_ && axisOrientation.substr(0, 2) == 'ne') {
|
|
178080
|
+
var tmp = void 0;
|
|
178081
|
+
tmp = tileExtent[0];
|
|
178082
|
+
bbox[0] = tileExtent[1];
|
|
178083
|
+
bbox[1] = tmp;
|
|
178084
|
+
tmp = tileExtent[2];
|
|
178085
|
+
bbox[2] = tileExtent[3];
|
|
178086
|
+
bbox[3] = tmp;
|
|
178087
|
+
}
|
|
178088
|
+
params['BBOX'] = bbox.join(',');
|
|
178089
|
+
var url;
|
|
178090
|
+
if (urls.length == 1) {
|
|
178091
|
+
url = urls[0];
|
|
178092
|
+
}
|
|
178093
|
+
else {
|
|
178094
|
+
var index = Object(math["g" /* modulo */])(Object(tilecoord["f" /* hash */])(tileCoord), urls.length);
|
|
178095
|
+
url = urls[index];
|
|
178096
|
+
}
|
|
178097
|
+
return appendParams(url, params);
|
|
178098
|
+
};
|
|
178099
|
+
/**
|
|
178100
|
+
* Get the tile pixel ratio for this source.
|
|
178101
|
+
* @param {number} pixelRatio Pixel ratio.
|
|
178102
|
+
* @return {number} Tile pixel ratio.
|
|
178103
|
+
*/
|
|
178104
|
+
TileWMS.prototype.getTilePixelRatio = function (pixelRatio) {
|
|
178105
|
+
return !this.hidpi_ || this.serverType_ === undefined ? 1 : pixelRatio;
|
|
178106
|
+
};
|
|
178107
|
+
/**
|
|
178108
|
+
* @private
|
|
178109
|
+
* @return {string} The key for the current params.
|
|
178110
|
+
*/
|
|
178111
|
+
TileWMS.prototype.getKeyForParams_ = function () {
|
|
178112
|
+
var i = 0;
|
|
178113
|
+
var res = [];
|
|
178114
|
+
for (var key in this.params_) {
|
|
178115
|
+
res[i++] = key + '-' + this.params_[key];
|
|
178116
|
+
}
|
|
178117
|
+
return res.join('/');
|
|
178118
|
+
};
|
|
178119
|
+
/**
|
|
178120
|
+
* Update the user-provided params.
|
|
178121
|
+
* @param {Object} params Params.
|
|
178122
|
+
* @api
|
|
178123
|
+
*/
|
|
178124
|
+
TileWMS.prototype.updateParams = function (params) {
|
|
178125
|
+
Object(ol_obj["a" /* assign */])(this.params_, params);
|
|
178126
|
+
this.updateV13_();
|
|
178127
|
+
this.setKey(this.getKeyForParams_());
|
|
178128
|
+
};
|
|
178129
|
+
/**
|
|
178130
|
+
* @private
|
|
178131
|
+
*/
|
|
178132
|
+
TileWMS.prototype.updateV13_ = function () {
|
|
178133
|
+
var version = this.params_['VERSION'] || DEFAULT_WMS_VERSION;
|
|
178134
|
+
this.v13_ = Object(ol_string["a" /* compareVersions */])(version, '1.3') >= 0;
|
|
178135
|
+
};
|
|
178136
|
+
/**
|
|
178137
|
+
* @param {import("../tilecoord.js").TileCoord} tileCoord The tile coordinate
|
|
178138
|
+
* @param {number} pixelRatio The pixel ratio
|
|
178139
|
+
* @param {import("../proj/Projection.js").default} projection The projection
|
|
178140
|
+
* @return {string|undefined} The tile URL
|
|
178141
|
+
* @override
|
|
178142
|
+
*/
|
|
178143
|
+
TileWMS.prototype.tileUrlFunction = function (tileCoord, pixelRatio, projection) {
|
|
178144
|
+
var tileGrid = this.getTileGrid();
|
|
178145
|
+
if (!tileGrid) {
|
|
178146
|
+
tileGrid = this.getTileGridForProjection(projection);
|
|
178147
|
+
}
|
|
178148
|
+
if (tileGrid.getResolutions().length <= tileCoord[0]) {
|
|
178149
|
+
return undefined;
|
|
178150
|
+
}
|
|
178151
|
+
if (pixelRatio != 1 && (!this.hidpi_ || this.serverType_ === undefined)) {
|
|
178152
|
+
pixelRatio = 1;
|
|
178153
|
+
}
|
|
178154
|
+
var tileResolution = tileGrid.getResolution(tileCoord[0]);
|
|
178155
|
+
var tileExtent = tileGrid.getTileCoordExtent(tileCoord, this.tmpExtent_);
|
|
178156
|
+
var tileSize = Object(ol_size["d" /* toSize */])(tileGrid.getTileSize(tileCoord[0]), this.tmpSize);
|
|
178157
|
+
var gutter = this.gutter_;
|
|
178158
|
+
if (gutter !== 0) {
|
|
178159
|
+
tileSize = Object(ol_size["a" /* buffer */])(tileSize, gutter, this.tmpSize);
|
|
178160
|
+
tileExtent = Object(ol_extent["d" /* buffer */])(tileExtent, tileResolution * gutter, tileExtent);
|
|
178161
|
+
}
|
|
178162
|
+
if (pixelRatio != 1) {
|
|
178163
|
+
tileSize = Object(ol_size["c" /* scale */])(tileSize, pixelRatio, this.tmpSize);
|
|
178164
|
+
}
|
|
178165
|
+
var baseParams = {
|
|
178166
|
+
'SERVICE': 'WMS',
|
|
178167
|
+
'VERSION': DEFAULT_WMS_VERSION,
|
|
178168
|
+
'REQUEST': 'GetMap',
|
|
178169
|
+
'FORMAT': 'image/png',
|
|
178170
|
+
'TRANSPARENT': true,
|
|
178171
|
+
};
|
|
178172
|
+
Object(ol_obj["a" /* assign */])(baseParams, this.params_);
|
|
178173
|
+
return this.getRequestUrl_(tileCoord, tileSize, tileExtent, pixelRatio, projection, baseParams);
|
|
178174
|
+
};
|
|
178175
|
+
return TileWMS;
|
|
178176
|
+
}(source_TileImage));
|
|
178177
|
+
/* harmony default export */ var source_TileWMS = (TileWMS_TileWMS);
|
|
178178
|
+
//# sourceMappingURL=TileWMS.js.map
|
|
177707
178179
|
// EXTERNAL MODULE: ./node_modules/ol/source/Vector.js + 1 modules
|
|
177708
178180
|
var source_Vector = __webpack_require__("5831");
|
|
177709
178181
|
|
|
@@ -408314,7 +408786,7 @@ class ScaleLine_ScaleLine extends control_ScaleLine["a" /* default */] {
|
|
|
408314
408786
|
"degrees" :
|
|
408315
408787
|
"m";
|
|
408316
408788
|
let pointResolution =
|
|
408317
|
-
ol_proj["
|
|
408789
|
+
ol_proj["o" /* getPointResolution */](projection, viewState.resolution, center, pointResolutionUnits);
|
|
408318
408790
|
this.minWidth_ = this.minWidth_ || this.v || this.Em;
|
|
408319
408791
|
let nominalCount = this.minWidth_ * pointResolution;
|
|
408320
408792
|
let suffix = '';
|
|
@@ -409007,9 +409479,9 @@ function getVectorContext(event) {
|
|
|
409007
409479
|
var transform = Object(ol_transform["f" /* multiply */])(event.inversePixelTransform.slice(), frameState.coordinateToPixelTransform);
|
|
409008
409480
|
var squaredTolerance = Object(renderer_vector["b" /* getSquaredTolerance */])(frameState.viewState.resolution, canvasPixelRatio);
|
|
409009
409481
|
var userTransform;
|
|
409010
|
-
var userProjection = Object(ol_proj["
|
|
409482
|
+
var userProjection = Object(ol_proj["r" /* getUserProjection */])();
|
|
409011
409483
|
if (userProjection) {
|
|
409012
|
-
userTransform = Object(ol_proj["
|
|
409484
|
+
userTransform = Object(ol_proj["q" /* getTransformFromProjections */])(userProjection, frameState.viewState.projection);
|
|
409013
409485
|
}
|
|
409014
409486
|
return new Immediate["a" /* default */](event.context, canvasPixelRatio, frameState.extent, transform, frameState.viewState.rotation, squaredTolerance, userTransform);
|
|
409015
409487
|
}
|
|
@@ -409461,7 +409933,7 @@ var proj_Projection = __webpack_require__("f5dd");
|
|
|
409461
409933
|
return scalesToResolutions(scales, bounds, dpi, unit, mapobj, level);
|
|
409462
409934
|
},
|
|
409463
409935
|
getProjection(prjCoordSys, extent) {
|
|
409464
|
-
let projection = Object(ol_proj["
|
|
409936
|
+
let projection = Object(ol_proj["n" /* get */])(`EPSG:${prjCoordSys.epsgCode}`);
|
|
409465
409937
|
if (prjCoordSys.type == 'PCS_NON_EARTH') {
|
|
409466
409938
|
projection = new proj_Projection["a" /* default */]({
|
|
409467
409939
|
extent,
|
|
@@ -410839,9 +411311,6 @@ var MapExtend = function () {
|
|
|
410839
411311
|
|
|
410840
411312
|
|
|
410841
411313
|
|
|
410842
|
-
// EXTERNAL MODULE: ./node_modules/ol/asserts.js
|
|
410843
|
-
var asserts = __webpack_require__("92fa");
|
|
410844
|
-
|
|
410845
411314
|
// EXTERNAL MODULE: ./node_modules/ol/tilegrid/TileGrid.js
|
|
410846
411315
|
var TileGrid = __webpack_require__("78db");
|
|
410847
411316
|
|
|
@@ -410980,9 +411449,6 @@ var ImageBase = __webpack_require__("8778");
|
|
|
410980
411449
|
// EXTERNAL MODULE: ./node_modules/ol/reproj/Triangulation.js
|
|
410981
411450
|
var Triangulation = __webpack_require__("b739");
|
|
410982
411451
|
|
|
410983
|
-
// EXTERNAL MODULE: ./node_modules/ol/reproj.js
|
|
410984
|
-
var reproj = __webpack_require__("3c81");
|
|
410985
|
-
|
|
410986
411452
|
// CONCATENATED MODULE: ./node_modules/ol/reproj/Image.js
|
|
410987
411453
|
var Image_extends = (undefined && undefined.__extends) || (function () {
|
|
410988
411454
|
var extendStatics = function (d, b) {
|
|
@@ -412024,7 +412490,7 @@ function createFromCapabilitiesMatrixSet(matrixSet, opt_extent, opt_matrixLimits
|
|
|
412024
412490
|
var tileWidthPropName = 'TileWidth';
|
|
412025
412491
|
var tileHeightPropName = 'TileHeight';
|
|
412026
412492
|
var code = matrixSet[supportedCRSPropName];
|
|
412027
|
-
var projection = Object(ol_proj["
|
|
412493
|
+
var projection = Object(ol_proj["n" /* get */])(code);
|
|
412028
412494
|
var metersPerUnit = projection.getMetersPerUnit();
|
|
412029
412495
|
// swap origin x and y coordinates if axis orientation is lat/long
|
|
412030
412496
|
var switchOriginXY = projection.getAxisOrientation().substr(0, 2) == 'ne';
|
|
@@ -412444,8 +412910,8 @@ function optionsFromCapabilities(wmtsCap, config) {
|
|
|
412444
412910
|
return el['Identifier'] == elt['TileMatrixSet'];
|
|
412445
412911
|
});
|
|
412446
412912
|
var supportedCRS = tileMatrixSet['SupportedCRS'];
|
|
412447
|
-
var proj1 = Object(ol_proj["
|
|
412448
|
-
var proj2 = Object(ol_proj["
|
|
412913
|
+
var proj1 = Object(ol_proj["n" /* get */])(supportedCRS);
|
|
412914
|
+
var proj2 = Object(ol_proj["n" /* get */])(config['projection']);
|
|
412449
412915
|
if (proj1 && proj2) {
|
|
412450
412916
|
return Object(ol_proj["i" /* equivalent */])(proj1, proj2);
|
|
412451
412917
|
}
|
|
@@ -412506,10 +412972,10 @@ function optionsFromCapabilities(wmtsCap, config) {
|
|
|
412506
412972
|
var projection;
|
|
412507
412973
|
var code = matrixSetObj['SupportedCRS'];
|
|
412508
412974
|
if (code) {
|
|
412509
|
-
projection = Object(ol_proj["
|
|
412975
|
+
projection = Object(ol_proj["n" /* get */])(code);
|
|
412510
412976
|
}
|
|
412511
412977
|
if ('projection' in config) {
|
|
412512
|
-
var projConfig = Object(ol_proj["
|
|
412978
|
+
var projConfig = Object(ol_proj["n" /* get */])(config['projection']);
|
|
412513
412979
|
if (projConfig) {
|
|
412514
412980
|
if (!projection || Object(ol_proj["i" /* equivalent */])(projConfig, projection)) {
|
|
412515
412981
|
projection = projConfig;
|
|
@@ -412556,7 +413022,7 @@ function optionsFromCapabilities(wmtsCap, config) {
|
|
|
412556
413022
|
if (matrixSetExtent !== undefined &&
|
|
412557
413023
|
!Object(ol_extent["h" /* containsExtent */])(matrixSetExtent, extent)) {
|
|
412558
413024
|
var wgs84BoundingBox = l['WGS84BoundingBox'];
|
|
412559
|
-
var wgs84ProjectionExtent = Object(ol_proj["
|
|
413025
|
+
var wgs84ProjectionExtent = Object(ol_proj["n" /* get */])('EPSG:4326').getExtent();
|
|
412560
413026
|
extent = matrixSetExtent;
|
|
412561
413027
|
if (wgs84BoundingBox) {
|
|
412562
413028
|
wrapX =
|
|
@@ -412564,7 +413030,7 @@ function optionsFromCapabilities(wmtsCap, config) {
|
|
|
412564
413030
|
wgs84BoundingBox[2] === wgs84ProjectionExtent[2];
|
|
412565
413031
|
}
|
|
412566
413032
|
else {
|
|
412567
|
-
var wgs84MatrixSetExtent = Object(ol_proj["
|
|
413033
|
+
var wgs84MatrixSetExtent = Object(ol_proj["w" /* transformExtent */])(matrixSetExtent, matrixSetObj['SupportedCRS'], 'EPSG:4326');
|
|
412568
413034
|
// Ignore slight deviation from the correct x limits
|
|
412569
413035
|
wrapX =
|
|
412570
413036
|
wgs84MatrixSetExtent[0] - 1e-10 <= wgs84ProjectionExtent[0] &&
|
|
@@ -423644,7 +424110,7 @@ class WebGLRenderer_GraphicWebGLRenderer extends ol_Object["a" /* default */] {
|
|
|
423644
424110
|
let state = this.layer.getLayerState();
|
|
423645
424111
|
let view = this.map.getView();
|
|
423646
424112
|
let projection = view.getProjection().getCode();
|
|
423647
|
-
let center = ol_proj["
|
|
424113
|
+
let center = ol_proj["v" /* transform */]([state.longitude, state.latitude], projection, 'EPSG:4326')
|
|
423648
424114
|
state.longitude = center[0];
|
|
423649
424115
|
state.latitude = center[1];
|
|
423650
424116
|
state.zoom = state.zoom - 1;
|
|
@@ -423696,7 +424162,7 @@ class WebGLRenderer_GraphicWebGLRenderer extends ol_Object["a" /* default */] {
|
|
|
423696
424162
|
if ("EPSG:4326" === projection) {
|
|
423697
424163
|
return coordinates;
|
|
423698
424164
|
}
|
|
423699
|
-
return ol_proj["
|
|
424165
|
+
return ol_proj["v" /* transform */](coordinates, projection, 'EPSG:4326');
|
|
423700
424166
|
}
|
|
423701
424167
|
_pixelToMeter(pixel) {
|
|
423702
424168
|
let view = this.map.getView();
|
|
@@ -424229,7 +424695,7 @@ var ImageLayer_CanvasImageLayerRenderer = /** @class */ (function (_super) {
|
|
|
424229
424695
|
var hints = frameState.viewHints;
|
|
424230
424696
|
var renderedExtent = frameState.extent;
|
|
424231
424697
|
if (layerState.extent !== undefined) {
|
|
424232
|
-
renderedExtent = Object(ol_extent["B" /* getIntersection */])(renderedExtent, Object(ol_proj["
|
|
424698
|
+
renderedExtent = Object(ol_extent["B" /* getIntersection */])(renderedExtent, Object(ol_proj["l" /* fromUserExtent */])(layerState.extent, viewState.projection));
|
|
424233
424699
|
}
|
|
424234
424700
|
if (!hints[ViewHint["a" /* default */].ANIMATING] &&
|
|
424235
424701
|
!hints[ViewHint["a" /* default */].INTERACTING] &&
|
|
@@ -424333,7 +424799,7 @@ var ImageLayer_CanvasImageLayerRenderer = /** @class */ (function (_super) {
|
|
|
424333
424799
|
var clipped = false;
|
|
424334
424800
|
var render = true;
|
|
424335
424801
|
if (layerState.extent) {
|
|
424336
|
-
var layerExtent = Object(ol_proj["
|
|
424802
|
+
var layerExtent = Object(ol_proj["l" /* fromUserExtent */])(layerState.extent, viewState.projection);
|
|
424337
424803
|
render = Object(ol_extent["F" /* intersects */])(layerExtent, frameState.extent);
|
|
424338
424804
|
clipped = render && !Object(ol_extent["h" /* containsExtent */])(layerExtent, frameState.extent);
|
|
424339
424805
|
if (clipped) {
|
|
@@ -438506,7 +438972,7 @@ function proj4_register(proj4) {
|
|
|
438506
438972
|
var i, j;
|
|
438507
438973
|
for (i = 0; i < len; ++i) {
|
|
438508
438974
|
var code = projCodes[i];
|
|
438509
|
-
if (!Object(ol_proj["
|
|
438975
|
+
if (!Object(ol_proj["n" /* get */])(code)) {
|
|
438510
438976
|
var def = proj4.defs(code);
|
|
438511
438977
|
var units = def.units;
|
|
438512
438978
|
if (!units && def.projName === 'longlat') {
|
|
@@ -438522,10 +438988,10 @@ function proj4_register(proj4) {
|
|
|
438522
438988
|
}
|
|
438523
438989
|
for (i = 0; i < len; ++i) {
|
|
438524
438990
|
var code1 = projCodes[i];
|
|
438525
|
-
var proj1 = Object(ol_proj["
|
|
438991
|
+
var proj1 = Object(ol_proj["n" /* get */])(code1);
|
|
438526
438992
|
for (j = 0; j < len; ++j) {
|
|
438527
438993
|
var code2 = projCodes[j];
|
|
438528
|
-
var proj2 = Object(ol_proj["
|
|
438994
|
+
var proj2 = Object(ol_proj["n" /* get */])(code2);
|
|
438529
438995
|
if (!Object(proj_transforms["c" /* get */])(code1, code2)) {
|
|
438530
438996
|
if (proj4.defs[code1] === proj4.defs[code2]) {
|
|
438531
438997
|
Object(ol_proj["d" /* addEquivalentProjections */])([proj1, proj2]);
|
|
@@ -441529,7 +441995,7 @@ function geodesic_line(interpolate, transform, squaredTolerance) {
|
|
|
441529
441995
|
* @return {Array<number>} Flat coordinates.
|
|
441530
441996
|
*/
|
|
441531
441997
|
function greatCircleArc(lon1, lat1, lon2, lat2, projection, squaredTolerance) {
|
|
441532
|
-
var geoProjection = Object(ol_proj["
|
|
441998
|
+
var geoProjection = Object(ol_proj["n" /* get */])('EPSG:4326');
|
|
441533
441999
|
var cosLat1 = Math.cos(Object(math["l" /* toRadians */])(lat1));
|
|
441534
442000
|
var sinLat1 = Math.sin(Object(math["l" /* toRadians */])(lat1));
|
|
441535
442001
|
var cosLat2 = Math.cos(Object(math["l" /* toRadians */])(lat2));
|
|
@@ -441556,7 +442022,7 @@ function greatCircleArc(lon1, lat1, lon2, lat2, projection, squaredTolerance) {
|
|
|
441556
442022
|
var lon = Object(math["l" /* toRadians */])(lon1) +
|
|
441557
442023
|
Math.atan2(Math.sin(theta) * sinD * cosLat1, cosD - sinLat1 * Math.sin(lat));
|
|
441558
442024
|
return [Object(math["k" /* toDegrees */])(lon), Object(math["k" /* toDegrees */])(lat)];
|
|
441559
|
-
}, Object(ol_proj["
|
|
442025
|
+
}, Object(ol_proj["p" /* getTransform */])(geoProjection, projection), squaredTolerance);
|
|
441560
442026
|
}
|
|
441561
442027
|
/**
|
|
441562
442028
|
* Generate a meridian (line at constant longitude).
|
|
@@ -441568,7 +442034,7 @@ function greatCircleArc(lon1, lat1, lon2, lat2, projection, squaredTolerance) {
|
|
|
441568
442034
|
* @return {Array<number>} Flat coordinates.
|
|
441569
442035
|
*/
|
|
441570
442036
|
function meridian(lon, lat1, lat2, projection, squaredTolerance) {
|
|
441571
|
-
var epsg4326Projection = Object(ol_proj["
|
|
442037
|
+
var epsg4326Projection = Object(ol_proj["n" /* get */])('EPSG:4326');
|
|
441572
442038
|
return geodesic_line(
|
|
441573
442039
|
/**
|
|
441574
442040
|
* @param {number} frac Fraction.
|
|
@@ -441576,7 +442042,7 @@ function meridian(lon, lat1, lat2, projection, squaredTolerance) {
|
|
|
441576
442042
|
*/
|
|
441577
442043
|
function (frac) {
|
|
441578
442044
|
return [lon, lat1 + (lat2 - lat1) * frac];
|
|
441579
|
-
}, Object(ol_proj["
|
|
442045
|
+
}, Object(ol_proj["p" /* getTransform */])(epsg4326Projection, projection), squaredTolerance);
|
|
441580
442046
|
}
|
|
441581
442047
|
/**
|
|
441582
442048
|
* Generate a parallel (line at constant latitude).
|
|
@@ -441588,7 +442054,7 @@ function meridian(lon, lat1, lat2, projection, squaredTolerance) {
|
|
|
441588
442054
|
* @return {Array<number>} Flat coordinates.
|
|
441589
442055
|
*/
|
|
441590
442056
|
function parallel(lat, lon1, lon2, projection, squaredTolerance) {
|
|
441591
|
-
var epsg4326Projection = Object(ol_proj["
|
|
442057
|
+
var epsg4326Projection = Object(ol_proj["n" /* get */])('EPSG:4326');
|
|
441592
442058
|
return geodesic_line(
|
|
441593
442059
|
/**
|
|
441594
442060
|
* @param {number} frac Fraction.
|
|
@@ -441596,7 +442062,7 @@ function parallel(lat, lon1, lon2, projection, squaredTolerance) {
|
|
|
441596
442062
|
*/
|
|
441597
442063
|
function (frac) {
|
|
441598
442064
|
return [lon1 + (lon2 - lon1) * frac, lat];
|
|
441599
|
-
}, Object(ol_proj["
|
|
442065
|
+
}, Object(ol_proj["p" /* getTransform */])(epsg4326Projection, projection), squaredTolerance);
|
|
441600
442066
|
}
|
|
441601
442067
|
//# sourceMappingURL=geodesic.js.map
|
|
441602
442068
|
// CONCATENATED MODULE: ./node_modules/ol/layer/Graticule.js
|
|
@@ -442573,7 +443039,7 @@ var Graticule_Graticule = /** @class */ (function (_super) {
|
|
|
442573
443039
|
* @private
|
|
442574
443040
|
*/
|
|
442575
443041
|
Graticule.prototype.updateProjectionInfo_ = function (projection) {
|
|
442576
|
-
var epsg4326Projection = Object(ol_proj["
|
|
443042
|
+
var epsg4326Projection = Object(ol_proj["n" /* get */])('EPSG:4326');
|
|
442577
443043
|
var worldExtent = projection.getWorldExtent();
|
|
442578
443044
|
this.maxLat_ = worldExtent[3];
|
|
442579
443045
|
this.maxLon_ = worldExtent[2];
|
|
@@ -442581,7 +443047,7 @@ var Graticule_Graticule = /** @class */ (function (_super) {
|
|
|
442581
443047
|
this.minLon_ = worldExtent[0];
|
|
442582
443048
|
// If the world extent crosses the dateline define a custom transform to
|
|
442583
443049
|
// return longitudes which wrap the dateline
|
|
442584
|
-
var toLonLatTransform = Object(ol_proj["
|
|
443050
|
+
var toLonLatTransform = Object(ol_proj["p" /* getTransform */])(projection, epsg4326Projection);
|
|
442585
443051
|
if (this.minLon_ < this.maxLon_) {
|
|
442586
443052
|
this.toLonLatTransform_ = toLonLatTransform;
|
|
442587
443053
|
}
|
|
@@ -442601,7 +443067,7 @@ var Graticule_Graticule = /** @class */ (function (_super) {
|
|
|
442601
443067
|
}
|
|
442602
443068
|
// Transform the extent to get the limits of the view projection extent
|
|
442603
443069
|
// which should be available to the graticule
|
|
442604
|
-
this.fromLonLatTransform_ = Object(ol_proj["
|
|
443070
|
+
this.fromLonLatTransform_ = Object(ol_proj["p" /* getTransform */])(epsg4326Projection, projection);
|
|
442605
443071
|
var worldExtentP = Object(ol_extent["a" /* applyTransform */])([this.minLon_, this.minLat_, this.maxLon_, this.maxLat_], this.fromLonLatTransform_, undefined, 8);
|
|
442606
443072
|
this.minX_ = worldExtentP[0];
|
|
442607
443073
|
this.maxX_ = worldExtentP[2];
|
|
@@ -443181,9 +443647,6 @@ function readHref(node) {
|
|
|
443181
443647
|
return node.getAttributeNS(NAMESPACE_URI, 'href');
|
|
443182
443648
|
}
|
|
443183
443649
|
//# sourceMappingURL=xlink.js.map
|
|
443184
|
-
// EXTERNAL MODULE: ./node_modules/ol/string.js
|
|
443185
|
-
var ol_string = __webpack_require__("b0c1");
|
|
443186
|
-
|
|
443187
443650
|
// CONCATENATED MODULE: ./node_modules/ol/format/xsd.js
|
|
443188
443651
|
/**
|
|
443189
443652
|
* @module ol/format/xsd
|
|
@@ -444522,468 +444985,6 @@ function readKeywordList(node, objectStack) {
|
|
|
444522
444985
|
}
|
|
444523
444986
|
/* harmony default export */ var format_WMSCapabilities = (WMSCapabilities_WMSCapabilities);
|
|
444524
444987
|
//# sourceMappingURL=WMSCapabilities.js.map
|
|
444525
|
-
// CONCATENATED MODULE: ./node_modules/ol/source/common.js
|
|
444526
|
-
/**
|
|
444527
|
-
* @module ol/source/common
|
|
444528
|
-
*/
|
|
444529
|
-
/**
|
|
444530
|
-
* Default WMS version.
|
|
444531
|
-
* @type {string}
|
|
444532
|
-
*/
|
|
444533
|
-
var DEFAULT_WMS_VERSION = '1.3.0';
|
|
444534
|
-
//# sourceMappingURL=common.js.map
|
|
444535
|
-
// CONCATENATED MODULE: ./node_modules/ol/source/WMSServerType.js
|
|
444536
|
-
/**
|
|
444537
|
-
* @module ol/source/WMSServerType
|
|
444538
|
-
*/
|
|
444539
|
-
/**
|
|
444540
|
-
* Available server types: `'carmentaserver'`, `'geoserver'`, `'mapserver'`,
|
|
444541
|
-
* `'qgis'`. These are servers that have vendor parameters beyond the WMS
|
|
444542
|
-
* specification that OpenLayers can make use of.
|
|
444543
|
-
* @enum {string}
|
|
444544
|
-
*/
|
|
444545
|
-
/* harmony default export */ var WMSServerType = ({
|
|
444546
|
-
/**
|
|
444547
|
-
* HiDPI support for [Carmenta Server](https://www.carmenta.com/en/products/carmenta-server)
|
|
444548
|
-
* @api
|
|
444549
|
-
*/
|
|
444550
|
-
CARMENTA_SERVER: 'carmentaserver',
|
|
444551
|
-
/**
|
|
444552
|
-
* HiDPI support for [GeoServer](https://geoserver.org/)
|
|
444553
|
-
* @api
|
|
444554
|
-
*/
|
|
444555
|
-
GEOSERVER: 'geoserver',
|
|
444556
|
-
/**
|
|
444557
|
-
* HiDPI support for [MapServer](https://mapserver.org/)
|
|
444558
|
-
* @api
|
|
444559
|
-
*/
|
|
444560
|
-
MAPSERVER: 'mapserver',
|
|
444561
|
-
/**
|
|
444562
|
-
* HiDPI support for [QGIS](https://qgis.org/)
|
|
444563
|
-
* @api
|
|
444564
|
-
*/
|
|
444565
|
-
QGIS: 'qgis',
|
|
444566
|
-
});
|
|
444567
|
-
//# sourceMappingURL=WMSServerType.js.map
|
|
444568
|
-
// CONCATENATED MODULE: ./node_modules/ol/source/TileWMS.js
|
|
444569
|
-
/**
|
|
444570
|
-
* @module ol/source/TileWMS
|
|
444571
|
-
*/
|
|
444572
|
-
var TileWMS_extends = (undefined && undefined.__extends) || (function () {
|
|
444573
|
-
var extendStatics = function (d, b) {
|
|
444574
|
-
extendStatics = Object.setPrototypeOf ||
|
|
444575
|
-
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
444576
|
-
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
444577
|
-
return extendStatics(d, b);
|
|
444578
|
-
};
|
|
444579
|
-
return function (d, b) {
|
|
444580
|
-
if (typeof b !== "function" && b !== null)
|
|
444581
|
-
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
444582
|
-
extendStatics(d, b);
|
|
444583
|
-
function __() { this.constructor = d; }
|
|
444584
|
-
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
444585
|
-
};
|
|
444586
|
-
})();
|
|
444587
|
-
|
|
444588
|
-
|
|
444589
|
-
|
|
444590
|
-
|
|
444591
|
-
|
|
444592
|
-
|
|
444593
|
-
|
|
444594
|
-
|
|
444595
|
-
|
|
444596
|
-
|
|
444597
|
-
|
|
444598
|
-
|
|
444599
|
-
|
|
444600
|
-
/**
|
|
444601
|
-
* @typedef {Object} Options
|
|
444602
|
-
* @property {import("./Source.js").AttributionLike} [attributions] Attributions.
|
|
444603
|
-
* @property {boolean} [attributionsCollapsible=true] Attributions are collapsible.
|
|
444604
|
-
* @property {number} [cacheSize] Initial tile cache size. Will auto-grow to hold at least the number of tiles in the viewport.
|
|
444605
|
-
* @property {null|string} [crossOrigin] The `crossOrigin` attribute for loaded images. Note that
|
|
444606
|
-
* you must provide a `crossOrigin` value if you want to access pixel data with the Canvas renderer.
|
|
444607
|
-
* See https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image for more detail.
|
|
444608
|
-
* @property {boolean} [imageSmoothing=true] Deprecated. Use the `interpolate` option instead.
|
|
444609
|
-
* @property {boolean} [interpolate=true] Use interpolated values when resampling. By default,
|
|
444610
|
-
* linear interpolation is used when resampling. Set to false to use the nearest neighbor instead.
|
|
444611
|
-
* @property {Object<string,*>} params WMS request parameters.
|
|
444612
|
-
* At least a `LAYERS` param is required. `STYLES` is
|
|
444613
|
-
* `''` by default. `VERSION` is `1.3.0` by default. `WIDTH`, `HEIGHT`, `BBOX`
|
|
444614
|
-
* and `CRS` (`SRS` for WMS version < 1.3.0) will be set dynamically.
|
|
444615
|
-
* @property {number} [gutter=0]
|
|
444616
|
-
* The size in pixels of the gutter around image tiles to ignore. By setting
|
|
444617
|
-
* this property to a non-zero value, images will be requested that are wider
|
|
444618
|
-
* and taller than the tile size by a value of `2 x gutter`.
|
|
444619
|
-
* Using a non-zero value allows artifacts of rendering at tile edges to be
|
|
444620
|
-
* ignored. If you control the WMS service it is recommended to address
|
|
444621
|
-
* "artifacts at tile edges" issues by properly configuring the WMS service. For
|
|
444622
|
-
* example, MapServer has a `tile_map_edge_buffer` configuration parameter for
|
|
444623
|
-
* this. See https://mapserver.org/output/tile_mode.html.
|
|
444624
|
-
* @property {boolean} [hidpi=true] Use the `ol/Map#pixelRatio` value when requesting
|
|
444625
|
-
* the image from the remote server.
|
|
444626
|
-
* @property {import("../proj.js").ProjectionLike} [projection] Projection. Default is the view projection.
|
|
444627
|
-
* @property {number} [reprojectionErrorThreshold=0.5] Maximum allowed reprojection error (in pixels).
|
|
444628
|
-
* Higher values can increase reprojection performance, but decrease precision.
|
|
444629
|
-
* @property {typeof import("../ImageTile.js").default} [tileClass] Class used to instantiate image tiles.
|
|
444630
|
-
* Default is {@link module:ol/ImageTile~ImageTile}.
|
|
444631
|
-
* @property {import("../tilegrid/TileGrid.js").default} [tileGrid] Tile grid. Base this on the resolutions,
|
|
444632
|
-
* tilesize and extent supported by the server.
|
|
444633
|
-
* If this is not defined, a default grid will be used: if there is a projection
|
|
444634
|
-
* extent, the grid will be based on that; if not, a grid based on a global
|
|
444635
|
-
* extent with origin at 0,0 will be used..
|
|
444636
|
-
* @property {import("./WMSServerType.js").default|string} [serverType]
|
|
444637
|
-
* The type of the remote WMS server. Currently only used when `hidpi` is
|
|
444638
|
-
* `true`.
|
|
444639
|
-
* @property {import("../Tile.js").LoadFunction} [tileLoadFunction] Optional function to load a tile given a URL. The default is
|
|
444640
|
-
* ```js
|
|
444641
|
-
* function(imageTile, src) {
|
|
444642
|
-
* imageTile.getImage().src = src;
|
|
444643
|
-
* };
|
|
444644
|
-
* ```
|
|
444645
|
-
* @property {string} [url] WMS service URL.
|
|
444646
|
-
* @property {Array<string>} [urls] WMS service urls.
|
|
444647
|
-
* Use this instead of `url` when the WMS supports multiple urls for GetMap requests.
|
|
444648
|
-
* @property {boolean} [wrapX=true] Whether to wrap the world horizontally.
|
|
444649
|
-
* When set to `false`, only one world
|
|
444650
|
-
* will be rendered. When `true`, tiles will be requested for one world only,
|
|
444651
|
-
* but they will be wrapped horizontally to render multiple worlds.
|
|
444652
|
-
* @property {number} [transition] Duration of the opacity transition for rendering.
|
|
444653
|
-
* To disable the opacity transition, pass `transition: 0`.
|
|
444654
|
-
* @property {number|import("../array.js").NearestDirectionFunction} [zDirection=0]
|
|
444655
|
-
* Choose whether to use tiles with a higher or lower zoom level when between integer
|
|
444656
|
-
* zoom levels. See {@link module:ol/tilegrid/TileGrid~TileGrid#getZForResolution}.
|
|
444657
|
-
*/
|
|
444658
|
-
/**
|
|
444659
|
-
* @classdesc
|
|
444660
|
-
* Layer source for tile data from WMS servers.
|
|
444661
|
-
* @api
|
|
444662
|
-
*/
|
|
444663
|
-
var TileWMS_TileWMS = /** @class */ (function (_super) {
|
|
444664
|
-
TileWMS_extends(TileWMS, _super);
|
|
444665
|
-
/**
|
|
444666
|
-
* @param {Options} [opt_options] Tile WMS options.
|
|
444667
|
-
*/
|
|
444668
|
-
function TileWMS(opt_options) {
|
|
444669
|
-
var _this = this;
|
|
444670
|
-
var options = opt_options ? opt_options : /** @type {Options} */ ({});
|
|
444671
|
-
var interpolate = options.imageSmoothing !== undefined ? options.imageSmoothing : true;
|
|
444672
|
-
if (options.interpolate !== undefined) {
|
|
444673
|
-
interpolate = options.interpolate;
|
|
444674
|
-
}
|
|
444675
|
-
var params = options.params || {};
|
|
444676
|
-
var transparent = 'TRANSPARENT' in params ? params['TRANSPARENT'] : true;
|
|
444677
|
-
_this = _super.call(this, {
|
|
444678
|
-
attributions: options.attributions,
|
|
444679
|
-
attributionsCollapsible: options.attributionsCollapsible,
|
|
444680
|
-
cacheSize: options.cacheSize,
|
|
444681
|
-
crossOrigin: options.crossOrigin,
|
|
444682
|
-
interpolate: interpolate,
|
|
444683
|
-
opaque: !transparent,
|
|
444684
|
-
projection: options.projection,
|
|
444685
|
-
reprojectionErrorThreshold: options.reprojectionErrorThreshold,
|
|
444686
|
-
tileClass: options.tileClass,
|
|
444687
|
-
tileGrid: options.tileGrid,
|
|
444688
|
-
tileLoadFunction: options.tileLoadFunction,
|
|
444689
|
-
url: options.url,
|
|
444690
|
-
urls: options.urls,
|
|
444691
|
-
wrapX: options.wrapX !== undefined ? options.wrapX : true,
|
|
444692
|
-
transition: options.transition,
|
|
444693
|
-
zDirection: options.zDirection,
|
|
444694
|
-
}) || this;
|
|
444695
|
-
/**
|
|
444696
|
-
* @private
|
|
444697
|
-
* @type {number}
|
|
444698
|
-
*/
|
|
444699
|
-
_this.gutter_ = options.gutter !== undefined ? options.gutter : 0;
|
|
444700
|
-
/**
|
|
444701
|
-
* @private
|
|
444702
|
-
* @type {!Object}
|
|
444703
|
-
*/
|
|
444704
|
-
_this.params_ = params;
|
|
444705
|
-
/**
|
|
444706
|
-
* @private
|
|
444707
|
-
* @type {boolean}
|
|
444708
|
-
*/
|
|
444709
|
-
_this.v13_ = true;
|
|
444710
|
-
/**
|
|
444711
|
-
* @private
|
|
444712
|
-
* @type {import("./WMSServerType.js").default|undefined}
|
|
444713
|
-
*/
|
|
444714
|
-
_this.serverType_ =
|
|
444715
|
-
/** @type {import("./WMSServerType.js").default|undefined} */ (options.serverType);
|
|
444716
|
-
/**
|
|
444717
|
-
* @private
|
|
444718
|
-
* @type {boolean}
|
|
444719
|
-
*/
|
|
444720
|
-
_this.hidpi_ = options.hidpi !== undefined ? options.hidpi : true;
|
|
444721
|
-
/**
|
|
444722
|
-
* @private
|
|
444723
|
-
* @type {import("../extent.js").Extent}
|
|
444724
|
-
*/
|
|
444725
|
-
_this.tmpExtent_ = Object(ol_extent["k" /* createEmpty */])();
|
|
444726
|
-
_this.updateV13_();
|
|
444727
|
-
_this.setKey(_this.getKeyForParams_());
|
|
444728
|
-
return _this;
|
|
444729
|
-
}
|
|
444730
|
-
/**
|
|
444731
|
-
* Return the GetFeatureInfo URL for the passed coordinate, resolution, and
|
|
444732
|
-
* projection. Return `undefined` if the GetFeatureInfo URL cannot be
|
|
444733
|
-
* constructed.
|
|
444734
|
-
* @param {import("../coordinate.js").Coordinate} coordinate Coordinate.
|
|
444735
|
-
* @param {number} resolution Resolution.
|
|
444736
|
-
* @param {import("../proj.js").ProjectionLike} projection Projection.
|
|
444737
|
-
* @param {!Object} params GetFeatureInfo params. `INFO_FORMAT` at least should
|
|
444738
|
-
* be provided. If `QUERY_LAYERS` is not provided then the layers specified
|
|
444739
|
-
* in the `LAYERS` parameter will be used. `VERSION` should not be
|
|
444740
|
-
* specified here.
|
|
444741
|
-
* @return {string|undefined} GetFeatureInfo URL.
|
|
444742
|
-
* @api
|
|
444743
|
-
*/
|
|
444744
|
-
TileWMS.prototype.getFeatureInfoUrl = function (coordinate, resolution, projection, params) {
|
|
444745
|
-
var projectionObj = Object(ol_proj["m" /* get */])(projection);
|
|
444746
|
-
var sourceProjectionObj = this.getProjection();
|
|
444747
|
-
var tileGrid = this.getTileGrid();
|
|
444748
|
-
if (!tileGrid) {
|
|
444749
|
-
tileGrid = this.getTileGridForProjection(projectionObj);
|
|
444750
|
-
}
|
|
444751
|
-
var z = tileGrid.getZForResolution(resolution, this.zDirection);
|
|
444752
|
-
var tileCoord = tileGrid.getTileCoordForCoordAndZ(coordinate, z);
|
|
444753
|
-
if (tileGrid.getResolutions().length <= tileCoord[0]) {
|
|
444754
|
-
return undefined;
|
|
444755
|
-
}
|
|
444756
|
-
var tileResolution = tileGrid.getResolution(tileCoord[0]);
|
|
444757
|
-
var tileExtent = tileGrid.getTileCoordExtent(tileCoord, this.tmpExtent_);
|
|
444758
|
-
var tileSize = Object(ol_size["d" /* toSize */])(tileGrid.getTileSize(tileCoord[0]), this.tmpSize);
|
|
444759
|
-
var gutter = this.gutter_;
|
|
444760
|
-
if (gutter !== 0) {
|
|
444761
|
-
tileSize = Object(ol_size["a" /* buffer */])(tileSize, gutter, this.tmpSize);
|
|
444762
|
-
tileExtent = Object(ol_extent["d" /* buffer */])(tileExtent, tileResolution * gutter, tileExtent);
|
|
444763
|
-
}
|
|
444764
|
-
if (sourceProjectionObj && sourceProjectionObj !== projectionObj) {
|
|
444765
|
-
tileResolution = Object(reproj["b" /* calculateSourceResolution */])(sourceProjectionObj, projectionObj, coordinate, tileResolution);
|
|
444766
|
-
tileExtent = Object(ol_proj["v" /* transformExtent */])(tileExtent, projectionObj, sourceProjectionObj);
|
|
444767
|
-
coordinate = Object(ol_proj["u" /* transform */])(coordinate, projectionObj, sourceProjectionObj);
|
|
444768
|
-
}
|
|
444769
|
-
var baseParams = {
|
|
444770
|
-
'SERVICE': 'WMS',
|
|
444771
|
-
'VERSION': DEFAULT_WMS_VERSION,
|
|
444772
|
-
'REQUEST': 'GetFeatureInfo',
|
|
444773
|
-
'FORMAT': 'image/png',
|
|
444774
|
-
'TRANSPARENT': true,
|
|
444775
|
-
'QUERY_LAYERS': this.params_['LAYERS'],
|
|
444776
|
-
};
|
|
444777
|
-
Object(ol_obj["a" /* assign */])(baseParams, this.params_, params);
|
|
444778
|
-
var x = Math.floor((coordinate[0] - tileExtent[0]) / tileResolution);
|
|
444779
|
-
var y = Math.floor((tileExtent[3] - coordinate[1]) / tileResolution);
|
|
444780
|
-
baseParams[this.v13_ ? 'I' : 'X'] = x;
|
|
444781
|
-
baseParams[this.v13_ ? 'J' : 'Y'] = y;
|
|
444782
|
-
return this.getRequestUrl_(tileCoord, tileSize, tileExtent, 1, sourceProjectionObj || projectionObj, baseParams);
|
|
444783
|
-
};
|
|
444784
|
-
/**
|
|
444785
|
-
* Return the GetLegendGraphic URL, optionally optimized for the passed
|
|
444786
|
-
* resolution and possibly including any passed specific parameters. Returns
|
|
444787
|
-
* `undefined` if the GetLegendGraphic URL cannot be constructed.
|
|
444788
|
-
*
|
|
444789
|
-
* @param {number} [resolution] Resolution. If set to undefined, `SCALE`
|
|
444790
|
-
* will not be calculated and included in URL.
|
|
444791
|
-
* @param {Object} [params] GetLegendGraphic params. If `LAYER` is set, the
|
|
444792
|
-
* request is generated for this wms layer, else it will try to use the
|
|
444793
|
-
* configured wms layer. Default `FORMAT` is `image/png`.
|
|
444794
|
-
* `VERSION` should not be specified here.
|
|
444795
|
-
* @return {string|undefined} GetLegendGraphic URL.
|
|
444796
|
-
* @api
|
|
444797
|
-
*/
|
|
444798
|
-
TileWMS.prototype.getLegendUrl = function (resolution, params) {
|
|
444799
|
-
if (this.urls[0] === undefined) {
|
|
444800
|
-
return undefined;
|
|
444801
|
-
}
|
|
444802
|
-
var baseParams = {
|
|
444803
|
-
'SERVICE': 'WMS',
|
|
444804
|
-
'VERSION': DEFAULT_WMS_VERSION,
|
|
444805
|
-
'REQUEST': 'GetLegendGraphic',
|
|
444806
|
-
'FORMAT': 'image/png',
|
|
444807
|
-
};
|
|
444808
|
-
if (params === undefined || params['LAYER'] === undefined) {
|
|
444809
|
-
var layers = this.params_.LAYERS;
|
|
444810
|
-
var isSingleLayer = !Array.isArray(layers) || layers.length === 1;
|
|
444811
|
-
if (!isSingleLayer) {
|
|
444812
|
-
return undefined;
|
|
444813
|
-
}
|
|
444814
|
-
baseParams['LAYER'] = layers;
|
|
444815
|
-
}
|
|
444816
|
-
if (resolution !== undefined) {
|
|
444817
|
-
var mpu = this.getProjection()
|
|
444818
|
-
? this.getProjection().getMetersPerUnit()
|
|
444819
|
-
: 1;
|
|
444820
|
-
var pixelSize = 0.00028;
|
|
444821
|
-
baseParams['SCALE'] = (resolution * mpu) / pixelSize;
|
|
444822
|
-
}
|
|
444823
|
-
Object(ol_obj["a" /* assign */])(baseParams, params);
|
|
444824
|
-
return appendParams(/** @type {string} */ (this.urls[0]), baseParams);
|
|
444825
|
-
};
|
|
444826
|
-
/**
|
|
444827
|
-
* @return {number} Gutter.
|
|
444828
|
-
*/
|
|
444829
|
-
TileWMS.prototype.getGutter = function () {
|
|
444830
|
-
return this.gutter_;
|
|
444831
|
-
};
|
|
444832
|
-
/**
|
|
444833
|
-
* Get the user-provided params, i.e. those passed to the constructor through
|
|
444834
|
-
* the "params" option, and possibly updated using the updateParams method.
|
|
444835
|
-
* @return {Object} Params.
|
|
444836
|
-
* @api
|
|
444837
|
-
*/
|
|
444838
|
-
TileWMS.prototype.getParams = function () {
|
|
444839
|
-
return this.params_;
|
|
444840
|
-
};
|
|
444841
|
-
/**
|
|
444842
|
-
* @param {import("../tilecoord.js").TileCoord} tileCoord Tile coordinate.
|
|
444843
|
-
* @param {import("../size.js").Size} tileSize Tile size.
|
|
444844
|
-
* @param {import("../extent.js").Extent} tileExtent Tile extent.
|
|
444845
|
-
* @param {number} pixelRatio Pixel ratio.
|
|
444846
|
-
* @param {import("../proj/Projection.js").default} projection Projection.
|
|
444847
|
-
* @param {Object} params Params.
|
|
444848
|
-
* @return {string|undefined} Request URL.
|
|
444849
|
-
* @private
|
|
444850
|
-
*/
|
|
444851
|
-
TileWMS.prototype.getRequestUrl_ = function (tileCoord, tileSize, tileExtent, pixelRatio, projection, params) {
|
|
444852
|
-
var urls = this.urls;
|
|
444853
|
-
if (!urls) {
|
|
444854
|
-
return undefined;
|
|
444855
|
-
}
|
|
444856
|
-
params['WIDTH'] = tileSize[0];
|
|
444857
|
-
params['HEIGHT'] = tileSize[1];
|
|
444858
|
-
params[this.v13_ ? 'CRS' : 'SRS'] = projection.getCode();
|
|
444859
|
-
if (!('STYLES' in this.params_)) {
|
|
444860
|
-
params['STYLES'] = '';
|
|
444861
|
-
}
|
|
444862
|
-
if (pixelRatio != 1) {
|
|
444863
|
-
switch (this.serverType_) {
|
|
444864
|
-
case WMSServerType.GEOSERVER:
|
|
444865
|
-
var dpi = (90 * pixelRatio + 0.5) | 0;
|
|
444866
|
-
if ('FORMAT_OPTIONS' in params) {
|
|
444867
|
-
params['FORMAT_OPTIONS'] += ';dpi:' + dpi;
|
|
444868
|
-
}
|
|
444869
|
-
else {
|
|
444870
|
-
params['FORMAT_OPTIONS'] = 'dpi:' + dpi;
|
|
444871
|
-
}
|
|
444872
|
-
break;
|
|
444873
|
-
case WMSServerType.MAPSERVER:
|
|
444874
|
-
params['MAP_RESOLUTION'] = 90 * pixelRatio;
|
|
444875
|
-
break;
|
|
444876
|
-
case WMSServerType.CARMENTA_SERVER:
|
|
444877
|
-
case WMSServerType.QGIS:
|
|
444878
|
-
params['DPI'] = 90 * pixelRatio;
|
|
444879
|
-
break;
|
|
444880
|
-
default:
|
|
444881
|
-
Object(asserts["a" /* assert */])(false, 52); // Unknown `serverType` configured
|
|
444882
|
-
break;
|
|
444883
|
-
}
|
|
444884
|
-
}
|
|
444885
|
-
var axisOrientation = projection.getAxisOrientation();
|
|
444886
|
-
var bbox = tileExtent;
|
|
444887
|
-
if (this.v13_ && axisOrientation.substr(0, 2) == 'ne') {
|
|
444888
|
-
var tmp = void 0;
|
|
444889
|
-
tmp = tileExtent[0];
|
|
444890
|
-
bbox[0] = tileExtent[1];
|
|
444891
|
-
bbox[1] = tmp;
|
|
444892
|
-
tmp = tileExtent[2];
|
|
444893
|
-
bbox[2] = tileExtent[3];
|
|
444894
|
-
bbox[3] = tmp;
|
|
444895
|
-
}
|
|
444896
|
-
params['BBOX'] = bbox.join(',');
|
|
444897
|
-
var url;
|
|
444898
|
-
if (urls.length == 1) {
|
|
444899
|
-
url = urls[0];
|
|
444900
|
-
}
|
|
444901
|
-
else {
|
|
444902
|
-
var index = Object(math["g" /* modulo */])(Object(tilecoord["f" /* hash */])(tileCoord), urls.length);
|
|
444903
|
-
url = urls[index];
|
|
444904
|
-
}
|
|
444905
|
-
return appendParams(url, params);
|
|
444906
|
-
};
|
|
444907
|
-
/**
|
|
444908
|
-
* Get the tile pixel ratio for this source.
|
|
444909
|
-
* @param {number} pixelRatio Pixel ratio.
|
|
444910
|
-
* @return {number} Tile pixel ratio.
|
|
444911
|
-
*/
|
|
444912
|
-
TileWMS.prototype.getTilePixelRatio = function (pixelRatio) {
|
|
444913
|
-
return !this.hidpi_ || this.serverType_ === undefined ? 1 : pixelRatio;
|
|
444914
|
-
};
|
|
444915
|
-
/**
|
|
444916
|
-
* @private
|
|
444917
|
-
* @return {string} The key for the current params.
|
|
444918
|
-
*/
|
|
444919
|
-
TileWMS.prototype.getKeyForParams_ = function () {
|
|
444920
|
-
var i = 0;
|
|
444921
|
-
var res = [];
|
|
444922
|
-
for (var key in this.params_) {
|
|
444923
|
-
res[i++] = key + '-' + this.params_[key];
|
|
444924
|
-
}
|
|
444925
|
-
return res.join('/');
|
|
444926
|
-
};
|
|
444927
|
-
/**
|
|
444928
|
-
* Update the user-provided params.
|
|
444929
|
-
* @param {Object} params Params.
|
|
444930
|
-
* @api
|
|
444931
|
-
*/
|
|
444932
|
-
TileWMS.prototype.updateParams = function (params) {
|
|
444933
|
-
Object(ol_obj["a" /* assign */])(this.params_, params);
|
|
444934
|
-
this.updateV13_();
|
|
444935
|
-
this.setKey(this.getKeyForParams_());
|
|
444936
|
-
};
|
|
444937
|
-
/**
|
|
444938
|
-
* @private
|
|
444939
|
-
*/
|
|
444940
|
-
TileWMS.prototype.updateV13_ = function () {
|
|
444941
|
-
var version = this.params_['VERSION'] || DEFAULT_WMS_VERSION;
|
|
444942
|
-
this.v13_ = Object(ol_string["a" /* compareVersions */])(version, '1.3') >= 0;
|
|
444943
|
-
};
|
|
444944
|
-
/**
|
|
444945
|
-
* @param {import("../tilecoord.js").TileCoord} tileCoord The tile coordinate
|
|
444946
|
-
* @param {number} pixelRatio The pixel ratio
|
|
444947
|
-
* @param {import("../proj/Projection.js").default} projection The projection
|
|
444948
|
-
* @return {string|undefined} The tile URL
|
|
444949
|
-
* @override
|
|
444950
|
-
*/
|
|
444951
|
-
TileWMS.prototype.tileUrlFunction = function (tileCoord, pixelRatio, projection) {
|
|
444952
|
-
var tileGrid = this.getTileGrid();
|
|
444953
|
-
if (!tileGrid) {
|
|
444954
|
-
tileGrid = this.getTileGridForProjection(projection);
|
|
444955
|
-
}
|
|
444956
|
-
if (tileGrid.getResolutions().length <= tileCoord[0]) {
|
|
444957
|
-
return undefined;
|
|
444958
|
-
}
|
|
444959
|
-
if (pixelRatio != 1 && (!this.hidpi_ || this.serverType_ === undefined)) {
|
|
444960
|
-
pixelRatio = 1;
|
|
444961
|
-
}
|
|
444962
|
-
var tileResolution = tileGrid.getResolution(tileCoord[0]);
|
|
444963
|
-
var tileExtent = tileGrid.getTileCoordExtent(tileCoord, this.tmpExtent_);
|
|
444964
|
-
var tileSize = Object(ol_size["d" /* toSize */])(tileGrid.getTileSize(tileCoord[0]), this.tmpSize);
|
|
444965
|
-
var gutter = this.gutter_;
|
|
444966
|
-
if (gutter !== 0) {
|
|
444967
|
-
tileSize = Object(ol_size["a" /* buffer */])(tileSize, gutter, this.tmpSize);
|
|
444968
|
-
tileExtent = Object(ol_extent["d" /* buffer */])(tileExtent, tileResolution * gutter, tileExtent);
|
|
444969
|
-
}
|
|
444970
|
-
if (pixelRatio != 1) {
|
|
444971
|
-
tileSize = Object(ol_size["c" /* scale */])(tileSize, pixelRatio, this.tmpSize);
|
|
444972
|
-
}
|
|
444973
|
-
var baseParams = {
|
|
444974
|
-
'SERVICE': 'WMS',
|
|
444975
|
-
'VERSION': DEFAULT_WMS_VERSION,
|
|
444976
|
-
'REQUEST': 'GetMap',
|
|
444977
|
-
'FORMAT': 'image/png',
|
|
444978
|
-
'TRANSPARENT': true,
|
|
444979
|
-
};
|
|
444980
|
-
Object(ol_obj["a" /* assign */])(baseParams, this.params_);
|
|
444981
|
-
return this.getRequestUrl_(tileCoord, tileSize, tileExtent, pixelRatio, projection, baseParams);
|
|
444982
|
-
};
|
|
444983
|
-
return TileWMS;
|
|
444984
|
-
}(source_TileImage));
|
|
444985
|
-
/* harmony default export */ var source_TileWMS = (TileWMS_TileWMS);
|
|
444986
|
-
//# sourceMappingURL=TileWMS.js.map
|
|
444987
444988
|
// EXTERNAL MODULE: ./node_modules/ol/render/Feature.js
|
|
444988
444989
|
var render_Feature = __webpack_require__("0df5");
|
|
444989
444990
|
|
|
@@ -445412,7 +445413,7 @@ class WebMap_WebMap extends Observable["a" /* default */] {
|
|
|
445412
445413
|
*/
|
|
445413
445414
|
getScales(baseLayerInfo) {
|
|
445414
445415
|
let scales = [], resolutions = {}, res, scale, resolutionArray = [],
|
|
445415
|
-
coordUnit = baseLayerInfo.coordUnit || ol_proj["
|
|
445416
|
+
coordUnit = baseLayerInfo.coordUnit || ol_proj["n" /* get */](baseLayerInfo.projection).getUnits();
|
|
445416
445417
|
if (!coordUnit) {
|
|
445417
445418
|
coordUnit = this.baseProjection == "EPSG:3857" ? "m" : "degree";
|
|
445418
445419
|
}
|
|
@@ -446516,9 +446517,9 @@ class WebMap_WebMap extends Observable["a" /* default */] {
|
|
|
446516
446517
|
if (layerBounds[3] > 90) {
|
|
446517
446518
|
layerBounds[3] = 90;
|
|
446518
446519
|
}
|
|
446519
|
-
extent = ol_proj["
|
|
446520
|
+
extent = ol_proj["w" /* transformExtent */](layerBounds, 'EPSG:4326', that.baseProjection);
|
|
446520
446521
|
} else {
|
|
446521
|
-
extent = ol_proj["
|
|
446522
|
+
extent = ol_proj["n" /* get */](that.baseProjection).getExtent()
|
|
446522
446523
|
}
|
|
446523
446524
|
layerInfo.tileUrl = that.getTileUrl(capabilities.OperationsMetadata.GetTile.DCP.HTTP.Get, layer, layerFormat, isKvp);
|
|
446524
446525
|
//将需要的参数补上
|
|
@@ -446625,10 +446626,10 @@ class WebMap_WebMap extends Observable["a" /* default */] {
|
|
|
446625
446626
|
* @returns {ol.source.WMTS} wmts的souce
|
|
446626
446627
|
*/
|
|
446627
446628
|
createWMTSSource(layerInfo) {
|
|
446628
|
-
let extent = layerInfo.extent || ol_proj["
|
|
446629
|
+
let extent = layerInfo.extent || ol_proj["n" /* get */](layerInfo.projection).getExtent();
|
|
446629
446630
|
|
|
446630
446631
|
// 单位通过坐标系获取 (PS: 以前代码非4326 都默认是米)
|
|
446631
|
-
let unit = ol_proj["
|
|
446632
|
+
let unit = ol_proj["n" /* get */](this.baseProjection).getUnits();
|
|
446632
446633
|
|
|
446633
446634
|
return new source_WMTS({
|
|
446634
446635
|
url: layerInfo.tileUrl || layerInfo.url,
|
|
@@ -449939,9 +449940,9 @@ class WebMap_WebMap extends Observable["a" /* default */] {
|
|
|
449939
449940
|
const { strokeColor, strokeWidth, lineDash, extent, visible, interval, lonLabelStyle, latLabelStyle } = layerInfo;
|
|
449940
449941
|
const epsgCode = this.baseProjection;
|
|
449941
449942
|
// 添加经纬网需要设置extent、worldExtent
|
|
449942
|
-
let projection = new ol_proj["
|
|
449943
|
+
let projection = new ol_proj["n" /* get */](epsgCode);
|
|
449943
449944
|
projection.setExtent(extent);
|
|
449944
|
-
projection.setWorldExtent(ol_proj["
|
|
449945
|
+
projection.setWorldExtent(ol_proj["w" /* transformExtent */](extent, epsgCode, 'EPSG:4326'));
|
|
449945
449946
|
|
|
449946
449947
|
let graticuleOptions = {
|
|
449947
449948
|
layerID: 'graticule_layer',
|
|
@@ -450457,7 +450458,7 @@ function initMap(url, options = {}) {
|
|
|
450457
450458
|
return;
|
|
450458
450459
|
}
|
|
450459
450460
|
let { prjCoordSys, bounds } = serviceResult.result;
|
|
450460
|
-
if (!Object(ol_proj["
|
|
450461
|
+
if (!Object(ol_proj["n" /* get */])(`EPSG:${prjCoordSys.epsgCode}`) && !isPlaneProjection(prjCoordSys.type)) {
|
|
450461
450462
|
const wkt = await initMapService.getWKT();
|
|
450462
450463
|
registerProj(prjCoordSys.epsgCode, wkt, bounds);
|
|
450463
450464
|
}
|
|
@@ -450512,10 +450513,10 @@ function createMap(result, mapOptions, viewOptions) {
|
|
|
450512
450513
|
function registerProj(epsgCode, wkt, bounds) {
|
|
450513
450514
|
const extent = [bounds.left, bounds.bottom, bounds.right, bounds.top];
|
|
450514
450515
|
let epsgCodeStr = `EPSG:${epsgCode}`;
|
|
450515
|
-
!Object(ol_proj["
|
|
450516
|
+
!Object(ol_proj["n" /* get */])(epsgCodeStr) && proj4_lib.defs(epsgCodeStr, wkt);
|
|
450516
450517
|
if (proj4_namespaceObject && proj4_register) {
|
|
450517
450518
|
proj4_register(proj4_lib);
|
|
450518
|
-
var prj = Object(ol_proj["
|
|
450519
|
+
var prj = Object(ol_proj["n" /* get */])(epsgCodeStr);
|
|
450519
450520
|
prj.setExtent(extent);
|
|
450520
450521
|
}
|
|
450521
450522
|
}
|
|
@@ -450649,7 +450650,7 @@ if (window && window.ol) {
|
|
|
450649
450650
|
|
|
450650
450651
|
|
|
450651
450652
|
|
|
450652
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
450653
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0a279e72-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMap2d/src/component/netLayer/TypeA.vue?vue&type=template&id=f0d389a6&scoped=true
|
|
450653
450654
|
var TypeAvue_type_template_id_f0d389a6_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"APopup"},[_c('img',{staticClass:"imgBox",attrs:{"src":_vm.popupAttr.imgUrl}}),_c('div',{staticClass:"flexbox"},[_c('div',[_c('span',[_vm._v("名称:")]),_vm._v(_vm._s(_vm.popupAttr.name))]),_c('div',[_c('span',[_vm._v("类型:")]),_vm._v(_vm._s(_vm.popupAttr.type))])])])
|
|
450654
450655
|
}
|
|
450655
450656
|
var TypeAvue_type_template_id_f0d389a6_scoped_true_staticRenderFns = []
|
|
@@ -450796,7 +450797,7 @@ var TypeA_component = normalizeComponent(
|
|
|
450796
450797
|
)
|
|
450797
450798
|
|
|
450798
450799
|
/* harmony default export */ var TypeA = (TypeA_component.exports);
|
|
450799
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
450800
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0a279e72-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMap2d/src/component/netLayer/TypeB.vue?vue&type=template&id=31b49428&scoped=true
|
|
450800
450801
|
var TypeBvue_type_template_id_31b49428_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"BPopup"},[_c('img',{staticClass:"imgBox",attrs:{"src":_vm.popupAttr.imgUrl}}),_c('div',{staticClass:"flexbox"},[_c('div',[_c('span',[_vm._v("名称:")]),_vm._v(_vm._s(_vm.popupAttr.name))]),_c('div',[_c('span',[_vm._v("类型:")]),_vm._v(_vm._s(_vm.popupAttr.type))])])])
|
|
450801
450802
|
}
|
|
450802
450803
|
var TypeBvue_type_template_id_31b49428_scoped_true_staticRenderFns = []
|
|
@@ -450845,7 +450846,7 @@ var TypeB_component = normalizeComponent(
|
|
|
450845
450846
|
)
|
|
450846
450847
|
|
|
450847
450848
|
/* harmony default export */ var TypeB = (TypeB_component.exports);
|
|
450848
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
450849
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0a279e72-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMap2d/src/component/netLayer/TypeAuto.vue?vue&type=template&id=1c5a5ceb&scoped=true
|
|
450849
450850
|
var TypeAutovue_type_template_id_1c5a5ceb_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"AutoPopup"},[_c('div',{staticClass:"flexbox"},[_c('div',[_c('span',[_vm._v("名称:")]),_vm._v(_vm._s(_vm.popupAttr.name))]),_c('div',[_c('span',[_vm._v("邮编:")]),_vm._v(_vm._s(_vm.popupAttr.adcode))])])])
|
|
450850
450851
|
}
|
|
450851
450852
|
var TypeAutovue_type_template_id_1c5a5ceb_scoped_true_staticRenderFns = []
|
|
@@ -450894,13 +450895,13 @@ var TypeAuto_component = normalizeComponent(
|
|
|
450894
450895
|
)
|
|
450895
450896
|
|
|
450896
450897
|
/* harmony default export */ var TypeAuto = (TypeAuto_component.exports);
|
|
450897
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
450898
|
-
var
|
|
450898
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0a279e72-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMap2d/src/component/netLayer/measureTool.vue?vue&type=template&id=0bb32563&scoped=true
|
|
450899
|
+
var measureToolvue_type_template_id_0bb32563_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"widgetBox",style:({ '--top': _vm.widgetBoxTop, '--right': _vm.widgetBoxRight })},[_c('div',{staticClass:"weight_button",attrs:{"id":"back_all","title":"全省视图","alt":"全省视图"},on:{"click":_vm.backToAll}}),_c('img',{staticClass:"weight_button",attrs:{"id":"zoom_in","src":_vm.zoom_inSelected ? _vm.weight_zoomin_D : _vm.weight_zoomin_L,"title":"拉框放大","alt":"拉框放大"},on:{"click":_vm.useZoomIn}}),_c('img',{staticClass:"weight_button",attrs:{"id":"weight_measure","src":_vm.distenceSelected ? _vm.weight_measure_L : _vm.weight_measure_D,"title":"测距","alt":"测距"},on:{"click":_vm.useMeasureDistence}}),_c('img',{staticClass:"weight_button",attrs:{"id":"weight_measure","src":_vm.areaSelected ? _vm.weight_measure_L : _vm.weight_measure_D,"title":"测面积","alt":"测面积"},on:{"click":_vm.useMeasureaArea}}),_c('img',{staticClass:"weight_button",attrs:{"id":"weight_satellite","src":_vm.satelliteSelected ? _vm.weight_satellite_L : _vm.weight_satellite_D,"title":"影像","alt":"影像"},on:{"click":_vm.useSatellite}})])
|
|
450899
450900
|
}
|
|
450900
|
-
var
|
|
450901
|
+
var measureToolvue_type_template_id_0bb32563_scoped_true_staticRenderFns = []
|
|
450901
450902
|
|
|
450902
450903
|
|
|
450903
|
-
// CONCATENATED MODULE: ./packages/gisMap2d/src/component/netLayer/measureTool.vue?vue&type=template&id=
|
|
450904
|
+
// CONCATENATED MODULE: ./packages/gisMap2d/src/component/netLayer/measureTool.vue?vue&type=template&id=0bb32563&scoped=true
|
|
450904
450905
|
|
|
450905
450906
|
// EXTERNAL MODULE: ./node_modules/ol/interaction/Draw.js + 1 modules
|
|
450906
450907
|
var Draw = __webpack_require__("ac29");
|
|
@@ -450930,6 +450931,7 @@ var events_condition = __webpack_require__("06f8");
|
|
|
450930
450931
|
|
|
450931
450932
|
|
|
450932
450933
|
|
|
450934
|
+
|
|
450933
450935
|
/* harmony default export */ var measureToolvue_type_script_lang_js = ({
|
|
450934
450936
|
name: 'measureTool',
|
|
450935
450937
|
props: {
|
|
@@ -450981,7 +450983,7 @@ var events_condition = __webpack_require__("06f8");
|
|
|
450981
450983
|
},
|
|
450982
450984
|
// 回到全省控件
|
|
450983
450985
|
backToAll() {
|
|
450984
|
-
const targetCenter = [118.75,36.46]
|
|
450986
|
+
const targetCenter = Object(ol_proj["j" /* fromLonLat */])([118.75,36.46])
|
|
450985
450987
|
const targetZoom = 8
|
|
450986
450988
|
this.map.getView().animate({
|
|
450987
450989
|
center: targetCenter,
|
|
@@ -451234,8 +451236,8 @@ var events_condition = __webpack_require__("06f8");
|
|
|
451234
451236
|
|
|
451235
451237
|
// CONCATENATED MODULE: ./packages/gisMap2d/src/component/netLayer/measureTool.vue?vue&type=script&lang=js
|
|
451236
451238
|
/* harmony default export */ var netLayer_measureToolvue_type_script_lang_js = (measureToolvue_type_script_lang_js);
|
|
451237
|
-
// EXTERNAL MODULE: ./packages/gisMap2d/src/component/netLayer/measureTool.vue?vue&type=style&index=0&id=
|
|
451238
|
-
var
|
|
451239
|
+
// EXTERNAL MODULE: ./packages/gisMap2d/src/component/netLayer/measureTool.vue?vue&type=style&index=0&id=0bb32563&prod&scoped=true&lang=css
|
|
451240
|
+
var measureToolvue_type_style_index_0_id_0bb32563_prod_scoped_true_lang_css = __webpack_require__("361d");
|
|
451239
451241
|
|
|
451240
451242
|
// CONCATENATED MODULE: ./packages/gisMap2d/src/component/netLayer/measureTool.vue
|
|
451241
451243
|
|
|
@@ -451248,11 +451250,11 @@ var measureToolvue_type_style_index_0_id_4cd5c1b5_prod_scoped_true_lang_css = __
|
|
|
451248
451250
|
|
|
451249
451251
|
var measureTool_component = normalizeComponent(
|
|
451250
451252
|
netLayer_measureToolvue_type_script_lang_js,
|
|
451251
|
-
|
|
451252
|
-
|
|
451253
|
+
measureToolvue_type_template_id_0bb32563_scoped_true_render,
|
|
451254
|
+
measureToolvue_type_template_id_0bb32563_scoped_true_staticRenderFns,
|
|
451253
451255
|
false,
|
|
451254
451256
|
null,
|
|
451255
|
-
"
|
|
451257
|
+
"0bb32563",
|
|
451256
451258
|
null
|
|
451257
451259
|
|
|
451258
451260
|
)
|
|
@@ -451260,16 +451262,11 @@ var measureTool_component = normalizeComponent(
|
|
|
451260
451262
|
/* harmony default export */ var measureTool = (measureTool_component.exports);
|
|
451261
451263
|
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMap2d/src/index.vue?vue&type=script&lang=js
|
|
451262
451264
|
|
|
451263
|
-
// const path = require("path");
|
|
451264
|
-
// const files = require.context("./component", true, /.vue$/);
|
|
451265
|
-
// const component = {};
|
|
451266
|
-
// files.keys().forEach((key) => {
|
|
451267
|
-
// const name = path.basename(key, ".vue");
|
|
451268
|
-
// component[name] = files(key).default || files(key);
|
|
451269
|
-
// });
|
|
451270
451265
|
|
|
451271
451266
|
|
|
451272
|
-
|
|
451267
|
+
|
|
451268
|
+
|
|
451269
|
+
|
|
451273
451270
|
|
|
451274
451271
|
|
|
451275
451272
|
|
|
@@ -451317,22 +451314,23 @@ var measureTool_component = normalizeComponent(
|
|
|
451317
451314
|
};
|
|
451318
451315
|
},
|
|
451319
451316
|
components: {
|
|
451320
|
-
measureTool: measureTool
|
|
451317
|
+
measureTool: measureTool,
|
|
451321
451318
|
},
|
|
451322
451319
|
props: {
|
|
451323
451320
|
mapBoxHeight: {
|
|
451324
451321
|
type: String,
|
|
451325
|
-
default: "100vh"
|
|
451326
|
-
}
|
|
451322
|
+
default: "100vh",
|
|
451323
|
+
},
|
|
451327
451324
|
},
|
|
451328
451325
|
methods: {
|
|
451329
451326
|
initMap() {
|
|
451327
|
+
let that = this;
|
|
451330
451328
|
let url =
|
|
451331
|
-
"
|
|
451329
|
+
"http://10.166.157.209:8090/iserver/services/map-WorkSpace/rest/maps/t2";
|
|
451330
|
+
// const MVTUrl = "http://10.166.157.209:8090/iserver/services/map-mvt-BaseMapG35/rest/maps/BaseMapG35"
|
|
451332
451331
|
const arcgisurl =
|
|
451333
|
-
"http://124.128.27.156:18085/arcgis/rest/services/BaseService/darkColor/MapServer"
|
|
451334
|
-
|
|
451335
|
-
|
|
451332
|
+
"http://124.128.27.156:18085/arcgis/rest/services/BaseService/darkColor/MapServer";
|
|
451333
|
+
// "http://124.128.27.156:18082/arcgis/rest/services/BaseService/lightColor/MapServer";
|
|
451336
451334
|
// 创建ArcGIS Rest图层
|
|
451337
451335
|
const arcgisLayer = new Tile["a" /* default */]({
|
|
451338
451336
|
source: new source_TileArcGISRest({
|
|
@@ -451346,9 +451344,9 @@ var measureTool_component = normalizeComponent(
|
|
|
451346
451344
|
target: "map",
|
|
451347
451345
|
layers: [arcgisLayer],
|
|
451348
451346
|
view: new ol_View["a" /* default */]({
|
|
451349
|
-
center: [118.75, 36.46],
|
|
451347
|
+
center: Object(ol_proj["j" /* fromLonLat */])([118.75, 36.46]),
|
|
451350
451348
|
zoom: 8,
|
|
451351
|
-
projection: "EPSG:
|
|
451349
|
+
projection: "EPSG:3857",
|
|
451352
451350
|
}),
|
|
451353
451351
|
controls: Object(control["a" /* defaults */])({
|
|
451354
451352
|
// 移除归属控件
|
|
@@ -451359,17 +451357,32 @@ var measureTool_component = normalizeComponent(
|
|
|
451359
451357
|
rotate: false,
|
|
451360
451358
|
}),
|
|
451361
451359
|
});
|
|
451362
|
-
|
|
451360
|
+
//普通底图
|
|
451363
451361
|
let baselayer = new Tile["a" /* default */]({
|
|
451364
451362
|
source: new TileSuperMapRest_TileSuperMapRest({
|
|
451365
451363
|
url: url,
|
|
451366
451364
|
wrapX: true,
|
|
451367
451365
|
}),
|
|
451368
451366
|
zIndex: 1,
|
|
451369
|
-
projection: "EPSG:
|
|
451367
|
+
projection: "EPSG:3857",
|
|
451370
451368
|
});
|
|
451371
451369
|
// this.map.addLayer(baselayer);
|
|
451372
451370
|
|
|
451371
|
+
// 加载WMS服务
|
|
451372
|
+
let wmslayer = new Tile["a" /* default */]({
|
|
451373
|
+
source: new source_TileWMS({
|
|
451374
|
+
url: "http://10.166.157.209:8090/iserver/services/map-JHArea/wms111/JHArea",
|
|
451375
|
+
params: {
|
|
451376
|
+
LAYERS: "JHArea",
|
|
451377
|
+
FORMAT: "image/png",
|
|
451378
|
+
},
|
|
451379
|
+
}),
|
|
451380
|
+
zIndex: 2,
|
|
451381
|
+
projection: "EPSG:3857",
|
|
451382
|
+
opacity: 0.7
|
|
451383
|
+
});
|
|
451384
|
+
this.map.addLayer(wmslayer);
|
|
451385
|
+
|
|
451373
451386
|
// 加载geojson数据
|
|
451374
451387
|
let geoJSONUrl =
|
|
451375
451388
|
"https://geo.datav.aliyun.com/areas_v2/bound/370000_full.json";
|
|
@@ -451383,8 +451396,9 @@ var measureTool_component = normalizeComponent(
|
|
|
451383
451396
|
features: geoJSONFormat.readFeatures(data),
|
|
451384
451397
|
}),
|
|
451385
451398
|
zIndex: 3,
|
|
451399
|
+
opacity: 0.5,
|
|
451386
451400
|
});
|
|
451387
|
-
this.map.addLayer(vectorLayer);
|
|
451401
|
+
// this.map.addLayer(vectorLayer);
|
|
451388
451402
|
});
|
|
451389
451403
|
//监听点击事件
|
|
451390
451404
|
let elPopup = this.$refs.popup;
|
|
@@ -451453,11 +451467,11 @@ var measureTool_component = normalizeComponent(
|
|
|
451453
451467
|
//自定义数据打点弹窗
|
|
451454
451468
|
addPoint(mockPiontData) {
|
|
451455
451469
|
let source = new source_Vector["a" /* default */]();
|
|
451456
|
-
let layer = new layer_Vector["a" /* default */]({ zIndex:
|
|
451470
|
+
let layer = new layer_Vector["a" /* default */]({ zIndex: 999 });
|
|
451457
451471
|
mockPiontData.forEach((data) => {
|
|
451458
451472
|
let feature = new ol_Feature["a" /* default */]({
|
|
451459
451473
|
title: "要素点",
|
|
451460
|
-
geometry: new geom_Point["a" /* default */]([data.longitude, data.latitude]),
|
|
451474
|
+
geometry: new geom_Point["a" /* default */](Object(ol_proj["j" /* fromLonLat */])([data.longitude, data.latitude])),
|
|
451461
451475
|
});
|
|
451462
451476
|
feature.set("type", data.type);
|
|
451463
451477
|
feature.set("otherInfo", data.otherInfo);
|
|
@@ -451497,8 +451511,8 @@ var measureTool_component = normalizeComponent(
|
|
|
451497
451511
|
|
|
451498
451512
|
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue?vue&type=script&lang=js
|
|
451499
451513
|
/* harmony default export */ var gisMap2d_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
451500
|
-
// EXTERNAL MODULE: ./packages/gisMap2d/src/index.vue?vue&type=style&index=0&id=
|
|
451501
|
-
var
|
|
451514
|
+
// EXTERNAL MODULE: ./packages/gisMap2d/src/index.vue?vue&type=style&index=0&id=4ededa80&prod&lang=css
|
|
451515
|
+
var srcvue_type_style_index_0_id_4ededa80_prod_lang_css = __webpack_require__("93a5");
|
|
451502
451516
|
|
|
451503
451517
|
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue
|
|
451504
451518
|
|
|
@@ -451511,7 +451525,7 @@ var srcvue_type_style_index_0_id_747605a7_prod_lang_css = __webpack_require__("2
|
|
|
451511
451525
|
|
|
451512
451526
|
var src_component = normalizeComponent(
|
|
451513
451527
|
gisMap2d_srcvue_type_script_lang_js,
|
|
451514
|
-
|
|
451528
|
+
srcvue_type_template_id_4ededa80_render,
|
|
451515
451529
|
staticRenderFns,
|
|
451516
451530
|
false,
|
|
451517
451531
|
null,
|
|
@@ -451532,7 +451546,7 @@ gisMap2d_src.install = function (Vue) {
|
|
|
451532
451546
|
|
|
451533
451547
|
// 默认导出组件
|
|
451534
451548
|
/* harmony default export */ var gisMap2d = (gisMap2d_src);
|
|
451535
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
451549
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"0a279e72-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/cache-loader/dist/cjs.js??ref--1-0!./node_modules/vue-loader/lib??vue-loader-options!./packages/gisMap3d/src/index.vue?vue&type=template&id=1d75c1c7
|
|
451536
451550
|
var srcvue_type_template_id_1d75c1c7_render = function render(){var _vm=this,_c=_vm._self._c;return _vm._m(0)
|
|
451537
451551
|
}
|
|
451538
451552
|
var srcvue_type_template_id_1d75c1c7_staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',[_c('h1',[_vm._v("3D")])])
|
|
@@ -452357,7 +452371,7 @@ var MVT = /** @class */ (function (_super) {
|
|
|
452357
452371
|
MVT.prototype.readFeatures = function (source, opt_options) {
|
|
452358
452372
|
var layers = this.layers_;
|
|
452359
452373
|
var options = /** @type {import("./Feature.js").ReadOptions} */ (this.adaptOptions(opt_options));
|
|
452360
|
-
var dataProjection = Object(_proj_js__WEBPACK_IMPORTED_MODULE_15__[/* get */ "
|
|
452374
|
+
var dataProjection = Object(_proj_js__WEBPACK_IMPORTED_MODULE_15__[/* get */ "n"])(options.dataProjection);
|
|
452361
452375
|
dataProjection.setWorldExtent(options.extent);
|
|
452362
452376
|
options.dataProjection = dataProjection;
|
|
452363
452377
|
var pbf = new pbf__WEBPACK_IMPORTED_MODULE_8___default.a(/** @type {ArrayBuffer} */ (source));
|
|
@@ -462657,7 +462671,7 @@ var Source = /** @class */ (function (_super) {
|
|
|
462657
462671
|
* @protected
|
|
462658
462672
|
* @type {import("../proj/Projection.js").default}
|
|
462659
462673
|
*/
|
|
462660
|
-
_this.projection = Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "
|
|
462674
|
+
_this.projection = Object(_proj_js__WEBPACK_IMPORTED_MODULE_3__[/* get */ "n"])(options.projection);
|
|
462661
462675
|
/**
|
|
462662
462676
|
* @private
|
|
462663
462677
|
* @type {?Attribution}
|