gis-map-universal 0.1.6 → 0.1.8
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/gismap.umd.js +202 -134
- package/package.json +1 -1
package/gismap.umd.js
CHANGED
|
@@ -863,17 +863,6 @@ var DragZoom = /** @class */ (function (_super) {
|
|
|
863
863
|
/* harmony default export */ __webpack_exports__["a"] = (DragZoom);
|
|
864
864
|
//# sourceMappingURL=DragZoom.js.map
|
|
865
865
|
|
|
866
|
-
/***/ }),
|
|
867
|
-
|
|
868
|
-
/***/ "0337":
|
|
869
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
870
|
-
|
|
871
|
-
"use strict";
|
|
872
|
-
/* 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_0a834c4c_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("a76b");
|
|
873
|
-
/* 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_0a834c4c_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_0a834c4c_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
874
|
-
/* unused harmony reexport * */
|
|
875
|
-
|
|
876
|
-
|
|
877
866
|
/***/ }),
|
|
878
867
|
|
|
879
868
|
/***/ "0366":
|
|
@@ -17049,6 +17038,17 @@ class Canvg {
|
|
|
17049
17038
|
|
|
17050
17039
|
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__("4362")))
|
|
17051
17040
|
|
|
17041
|
+
/***/ }),
|
|
17042
|
+
|
|
17043
|
+
/***/ "0dbb":
|
|
17044
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
17045
|
+
|
|
17046
|
+
"use strict";
|
|
17047
|
+
/* 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_ClusterList_vue_vue_type_style_index_0_id_576bc755_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4b75");
|
|
17048
|
+
/* 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_ClusterList_vue_vue_type_style_index_0_id_576bc755_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_ClusterList_vue_vue_type_style_index_0_id_576bc755_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
17049
|
+
/* unused harmony reexport * */
|
|
17050
|
+
|
|
17051
|
+
|
|
17052
17052
|
/***/ }),
|
|
17053
17053
|
|
|
17054
17054
|
/***/ "0df5":
|
|
@@ -22822,17 +22822,6 @@ module.exports = function (R, S) {
|
|
|
22822
22822
|
};
|
|
22823
22823
|
|
|
22824
22824
|
|
|
22825
|
-
/***/ }),
|
|
22826
|
-
|
|
22827
|
-
/***/ "14de":
|
|
22828
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
22829
|
-
|
|
22830
|
-
"use strict";
|
|
22831
|
-
/* 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_ClusterList_vue_vue_type_style_index_0_id_7a725c9d_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("f37a");
|
|
22832
|
-
/* 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_ClusterList_vue_vue_type_style_index_0_id_7a725c9d_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_ClusterList_vue_vue_type_style_index_0_id_7a725c9d_prod_scoped_true_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
22833
|
-
/* unused harmony reexport * */
|
|
22834
|
-
|
|
22835
|
-
|
|
22836
22825
|
/***/ }),
|
|
22837
22826
|
|
|
22838
22827
|
/***/ "14e5":
|
|
@@ -70793,6 +70782,20 @@ var RenderEvent = /** @class */ (function (_super) {
|
|
|
70793
70782
|
/* harmony default export */ __webpack_exports__["a"] = (RenderEvent);
|
|
70794
70783
|
//# sourceMappingURL=Event.js.map
|
|
70795
70784
|
|
|
70785
|
+
/***/ }),
|
|
70786
|
+
|
|
70787
|
+
/***/ "3338":
|
|
70788
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
70789
|
+
|
|
70790
|
+
// Imports
|
|
70791
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
70792
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
70793
|
+
// Module
|
|
70794
|
+
exports.push([module.i, "#map{width:100%;height:var(--height);background-color:transparent!important}.popupBox{height:auto;width:auto;animation:fadenum .6s ease;box-shadow:0 0 8px #000;border:1.7px solid #1b9bba;position:absolute}#popupHeader{height:20px;line-height:20px;padding:1% 0;background:linear-gradient(90deg,#237d9a,#074055)}#popupHeaderTitle{float:left;margin:0 0 0 7px;color:#fff;font-size:14px;font-weight:600;text-shadow:0 0 1px;letter-spacing:1.5px}#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;background-color:rgba(6,63,84,.8)}#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}", ""]);
|
|
70795
|
+
// Exports
|
|
70796
|
+
module.exports = exports;
|
|
70797
|
+
|
|
70798
|
+
|
|
70796
70799
|
/***/ }),
|
|
70797
70800
|
|
|
70798
70801
|
/***/ "342f":
|
|
@@ -75333,6 +75336,22 @@ exports.default = _default;
|
|
|
75333
75336
|
module.exports = {};
|
|
75334
75337
|
|
|
75335
75338
|
|
|
75339
|
+
/***/ }),
|
|
75340
|
+
|
|
75341
|
+
/***/ "3ff3":
|
|
75342
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
75343
|
+
|
|
75344
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
75345
|
+
|
|
75346
|
+
// load the styles
|
|
75347
|
+
var content = __webpack_require__("3338");
|
|
75348
|
+
if(content.__esModule) content = content.default;
|
|
75349
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
75350
|
+
if(content.locals) module.exports = content.locals;
|
|
75351
|
+
// add the styles to the DOM
|
|
75352
|
+
var add = __webpack_require__("499e").default
|
|
75353
|
+
var update = add("51a68873", content, true, {"sourceMap":false,"shadowMode":false});
|
|
75354
|
+
|
|
75336
75355
|
/***/ }),
|
|
75337
75356
|
|
|
75338
75357
|
/***/ "4085":
|
|
@@ -80399,6 +80418,22 @@ exports.toNumber = toNumber;
|
|
|
80399
80418
|
|
|
80400
80419
|
/***/ }),
|
|
80401
80420
|
|
|
80421
|
+
/***/ "4b75":
|
|
80422
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
80423
|
+
|
|
80424
|
+
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
80425
|
+
|
|
80426
|
+
// load the styles
|
|
80427
|
+
var content = __webpack_require__("9784");
|
|
80428
|
+
if(content.__esModule) content = content.default;
|
|
80429
|
+
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
80430
|
+
if(content.locals) module.exports = content.locals;
|
|
80431
|
+
// add the styles to the DOM
|
|
80432
|
+
var add = __webpack_require__("499e").default
|
|
80433
|
+
var update = add("0839ff90", content, true, {"sourceMap":false,"shadowMode":false});
|
|
80434
|
+
|
|
80435
|
+
/***/ }),
|
|
80436
|
+
|
|
80402
80437
|
/***/ "4cdf":
|
|
80403
80438
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
80404
80439
|
|
|
@@ -97002,20 +97037,6 @@ module.exports = function (key, value) {
|
|
|
97002
97037
|
};
|
|
97003
97038
|
|
|
97004
97039
|
|
|
97005
|
-
/***/ }),
|
|
97006
|
-
|
|
97007
|
-
/***/ "63f8":
|
|
97008
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
97009
|
-
|
|
97010
|
-
// Imports
|
|
97011
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
97012
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
97013
|
-
// Module
|
|
97014
|
-
exports.push([module.i, ".clusterListPopup[data-v-7a725c9d]{width:300px;height:170px}ul li[data-v-7a725c9d]{list-style-type:none}.paginate-list[data-v-7a725c9d]{height:83%;padding:0 3%;margin:4% 1% 0 1%;overflow:auto;max-height:83%}.list-item[data-v-7a725c9d]{padding:1.3% 0;cursor:pointer;display:flex;align-items:normal}.list-item[data-v-7a725c9d]:hover{color:#21c8ff}.item-icon[data-v-7a725c9d]{width:20px;height:20px;margin-right:10px}.paginate-links[data-v-7a725c9d]{list-style-type:none;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;margin:1% 0 0 0}.paginate-links[data-v-7a725c9d] .left-arrow{padding:1% 2%!important;color:#fff;border-radius:2px;margin:0 2px}.paginate-links[data-v-7a725c9d] .left-arrow:hover{background-color:#217996;transition:all .2s cubic-bezier(.82,0,1,.9)}.paginate-links[data-v-7a725c9d] .number{padding:1% 2%!important;border:1px solid #217996;text-align:center;border-radius:2px;margin:0 2px}.paginate-links[data-v-7a725c9d] .number:hover{background-color:#217996;transition:all .2s cubic-bezier(.82,0,1,.9)}.paginate-links[data-v-7a725c9d] .right-arrow{padding:1% 2%!important;color:#fff;border-radius:2px;margin:0 2px}.paginate-links[data-v-7a725c9d] .right-arrow:hover{background-color:#217996;transition:all .2s cubic-bezier(.82,0,1,.9)}.paginate-links[data-v-7a725c9d] .active{color:#fff;background-color:#217996}.paginate-links[data-v-7a725c9d] .disabled,.paginate-links[data-v-7a725c9d] .disabled:hover{cursor:not-allowed;background:none;color:#a7a7a7}.item-content[data-v-7a725c9d]{letter-spacing:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}", ""]);
|
|
97015
|
-
// Exports
|
|
97016
|
-
module.exports = exports;
|
|
97017
|
-
|
|
97018
|
-
|
|
97019
97040
|
/***/ }),
|
|
97020
97041
|
|
|
97021
97042
|
/***/ "649f":
|
|
@@ -130845,6 +130866,20 @@ function assignClosestMultiArrayPoint(flatCoordinates, offset, endss, stride, ma
|
|
|
130845
130866
|
}
|
|
130846
130867
|
//# sourceMappingURL=closest.js.map
|
|
130847
130868
|
|
|
130869
|
+
/***/ }),
|
|
130870
|
+
|
|
130871
|
+
/***/ "9784":
|
|
130872
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
130873
|
+
|
|
130874
|
+
// Imports
|
|
130875
|
+
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
130876
|
+
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
130877
|
+
// Module
|
|
130878
|
+
exports.push([module.i, ".clusterListPopup[data-v-576bc755]{width:300px;height:170px}ul li[data-v-576bc755]{list-style-type:none}.paginate-list[data-v-576bc755]{height:83%;padding:0 3%;margin:4% 1% 0 1%;overflow:auto;max-height:83%}.list-item[data-v-576bc755]{padding:1.3% 0;cursor:pointer;display:flex;align-items:normal}.list-item[data-v-576bc755]:hover{color:#21c8ff}.item-icon[data-v-576bc755]{width:20px;height:20px;margin-right:10px}.paginate-links[data-v-576bc755]{list-style-type:none;display:flex;align-items:center;justify-content:center;padding:0;cursor:pointer;margin:1% 0 0 0}.paginate-links[data-v-576bc755] .left-arrow{padding:1% 2%!important;color:#fff;border-radius:2px;margin:0 2px}.paginate-links[data-v-576bc755] .left-arrow:hover{background-color:#217996;transition:all .2s cubic-bezier(.82,0,1,.9)}.paginate-links[data-v-576bc755] .number{padding:1% 2%!important;border:1px solid #217996;text-align:center;border-radius:2px;margin:0 2px}.paginate-links[data-v-576bc755] .number:hover{background-color:#217996;transition:all .2s cubic-bezier(.82,0,1,.9)}.paginate-links[data-v-576bc755] .right-arrow{padding:1% 2%!important;color:#fff;border-radius:2px;margin:0 2px}.paginate-links[data-v-576bc755] .right-arrow:hover{background-color:#217996;transition:all .2s cubic-bezier(.82,0,1,.9)}.paginate-links[data-v-576bc755] .active{color:#fff;background-color:#217996}.paginate-links[data-v-576bc755] .disabled,.paginate-links[data-v-576bc755] .disabled:hover{cursor:not-allowed;background:none;color:#a7a7a7}.item-content[data-v-576bc755]{letter-spacing:1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}", ""]);
|
|
130879
|
+
// Exports
|
|
130880
|
+
module.exports = exports;
|
|
130881
|
+
|
|
130882
|
+
|
|
130848
130883
|
/***/ }),
|
|
130849
130884
|
|
|
130850
130885
|
/***/ "97e6":
|
|
@@ -142390,22 +142425,6 @@ module.exports = function (METHOD_NAME, argument) {
|
|
|
142390
142425
|
};
|
|
142391
142426
|
|
|
142392
142427
|
|
|
142393
|
-
/***/ }),
|
|
142394
|
-
|
|
142395
|
-
/***/ "a76b":
|
|
142396
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
142397
|
-
|
|
142398
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
142399
|
-
|
|
142400
|
-
// load the styles
|
|
142401
|
-
var content = __webpack_require__("c06a");
|
|
142402
|
-
if(content.__esModule) content = content.default;
|
|
142403
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
142404
|
-
if(content.locals) module.exports = content.locals;
|
|
142405
|
-
// add the styles to the DOM
|
|
142406
|
-
var add = __webpack_require__("499e").default
|
|
142407
|
-
var update = add("02e9379c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
142408
|
-
|
|
142409
142428
|
/***/ }),
|
|
142410
142429
|
|
|
142411
142430
|
/***/ "a896":
|
|
@@ -158497,20 +158516,6 @@ module.exports = function (input, pref) {
|
|
|
158497
158516
|
};
|
|
158498
158517
|
|
|
158499
158518
|
|
|
158500
|
-
/***/ }),
|
|
158501
|
-
|
|
158502
|
-
/***/ "c06a":
|
|
158503
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
158504
|
-
|
|
158505
|
-
// Imports
|
|
158506
|
-
var ___CSS_LOADER_API_IMPORT___ = __webpack_require__("24fb");
|
|
158507
|
-
exports = ___CSS_LOADER_API_IMPORT___(false);
|
|
158508
|
-
// Module
|
|
158509
|
-
exports.push([module.i, "#map{width:100%;height:var(--height);background-color:transparent!important}.popupBox{height:auto;width:auto;animation:fadenum .6s ease;box-shadow:0 0 8px #000;border:1.7px solid #1b9bba;position:absolute}#popupHeader{height:20px;line-height:20px;padding:5px 0;background:linear-gradient(90deg,#237d9a,#074055)}#popupHeaderTitle{float:left;margin:0 0 0 7px;color:#fff;font-size:14px;font-weight:600;text-shadow:0 0 1px;letter-spacing:1.5px}#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;background-color:rgba(6,63,84,.8)}#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}", ""]);
|
|
158510
|
-
// Exports
|
|
158511
|
-
module.exports = exports;
|
|
158512
|
-
|
|
158513
|
-
|
|
158514
158519
|
/***/ }),
|
|
158515
158520
|
|
|
158516
158521
|
/***/ "c0d2":
|
|
@@ -170836,6 +170841,17 @@ var CanvasBuilder = /** @class */ (function (_super) {
|
|
|
170836
170841
|
/* harmony default export */ __webpack_exports__["a"] = (CanvasBuilder);
|
|
170837
170842
|
//# sourceMappingURL=Builder.js.map
|
|
170838
170843
|
|
|
170844
|
+
/***/ }),
|
|
170845
|
+
|
|
170846
|
+
/***/ "dd51":
|
|
170847
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
170848
|
+
|
|
170849
|
+
"use strict";
|
|
170850
|
+
/* 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_cb46bcba_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("3ff3");
|
|
170851
|
+
/* 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_cb46bcba_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_cb46bcba_prod_lang_css__WEBPACK_IMPORTED_MODULE_0__);
|
|
170852
|
+
/* unused harmony reexport * */
|
|
170853
|
+
|
|
170854
|
+
|
|
170839
170855
|
/***/ }),
|
|
170840
170856
|
|
|
170841
170857
|
/***/ "ddb0":
|
|
@@ -176078,22 +176094,6 @@ var uncurryThis = __webpack_require__("e330");
|
|
|
176078
176094
|
module.exports = uncurryThis([].slice);
|
|
176079
176095
|
|
|
176080
176096
|
|
|
176081
|
-
/***/ }),
|
|
176082
|
-
|
|
176083
|
-
/***/ "f37a":
|
|
176084
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
176085
|
-
|
|
176086
|
-
// style-loader: Adds some css to the DOM by adding a <style> tag
|
|
176087
|
-
|
|
176088
|
-
// load the styles
|
|
176089
|
-
var content = __webpack_require__("63f8");
|
|
176090
|
-
if(content.__esModule) content = content.default;
|
|
176091
|
-
if(typeof content === 'string') content = [[module.i, content, '']];
|
|
176092
|
-
if(content.locals) module.exports = content.locals;
|
|
176093
|
-
// add the styles to the DOM
|
|
176094
|
-
var add = __webpack_require__("499e").default
|
|
176095
|
-
var update = add("5891281c", content, true, {"sourceMap":false,"shadowMode":false});
|
|
176096
|
-
|
|
176097
176097
|
/***/ }),
|
|
176098
176098
|
|
|
176099
176099
|
/***/ "f391":
|
|
@@ -182588,13 +182588,13 @@ if (typeof window !== 'undefined') {
|
|
|
182588
182588
|
// Indicate to webpack that this file can be concatenated
|
|
182589
182589
|
/* harmony default export */ var setPublicPath = (null);
|
|
182590
182590
|
|
|
182591
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"50d482b6-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=
|
|
182591
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"50d482b6-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=cb46bcba
|
|
182592
182592
|
var 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},on:{"clickPointEvent":_vm.clickPointEvent}})],1)]),(_vm.map)?_c('measureTool',{ref:"measureTool",attrs:{"map":_vm.map,"widgetBoxTop":_vm.widgetBoxTop,"widgetBoxRight":_vm.widgetBoxRight,"widgetBoxDisplay":_vm.widgetBoxDisplay},on:{"updateValue":_vm.measuredrawChange}}):_vm._e()],1)
|
|
182593
182593
|
}
|
|
182594
182594
|
var staticRenderFns = []
|
|
182595
182595
|
|
|
182596
182596
|
|
|
182597
|
-
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue?vue&type=template&id=
|
|
182597
|
+
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue?vue&type=template&id=cb46bcba
|
|
182598
182598
|
|
|
182599
182599
|
// EXTERNAL MODULE: ./node_modules/ol/Map.js + 2 modules
|
|
182600
182600
|
var ol_Map = __webpack_require__("5eee");
|
|
@@ -456779,16 +456779,16 @@ var TypeB_component = normalizeComponent(
|
|
|
456779
456779
|
)
|
|
456780
456780
|
|
|
456781
456781
|
/* harmony default export */ var TypeB = (TypeB_component.exports);
|
|
456782
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"50d482b6-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/ClusterList.vue?vue&type=template&id=
|
|
456783
|
-
var
|
|
456782
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"50d482b6-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/ClusterList.vue?vue&type=template&id=576bc755&scoped=true
|
|
456783
|
+
var ClusterListvue_type_template_id_576bc755_scoped_true_render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:"clusterListPopup"},[_c('paginate',{staticClass:"paginate-list",attrs:{"name":"clusterList","list":_vm.clusterList,"per":5}},_vm._l((_vm.paginated('clusterList')),function(item,index){return _c('li',{key:index,staticClass:"list-item",on:{"click":function($event){return _vm.danji(item)}}},[_c('img',{staticClass:"item-icon",attrs:{"src":item.iconUrl}}),_c('div',{staticClass:"item-content",attrs:{"title":item.otherInfo.name}},[_vm._v(" "+_vm._s(item.otherInfo.name)+" ")])])}),0),_c('paginate-links',{directives:[{name:"show",rawName:"v-show",value:(_vm.exceed),expression:"exceed"}],attrs:{"async":true,"for":"clusterList","limit":2,"show-step-links":true,"step-links":{
|
|
456784
456784
|
next: '>',
|
|
456785
456785
|
prev: '<',
|
|
456786
456786
|
}}})],1)
|
|
456787
456787
|
}
|
|
456788
|
-
var
|
|
456788
|
+
var ClusterListvue_type_template_id_576bc755_scoped_true_staticRenderFns = []
|
|
456789
456789
|
|
|
456790
456790
|
|
|
456791
|
-
// CONCATENATED MODULE: ./packages/gisMap2d/src/component/netLayer/ClusterList.vue?vue&type=template&id=
|
|
456791
|
+
// CONCATENATED MODULE: ./packages/gisMap2d/src/component/netLayer/ClusterList.vue?vue&type=template&id=576bc755&scoped=true
|
|
456792
456792
|
|
|
456793
456793
|
// EXTERNAL MODULE: ./node_modules/vue-paginate/dist/vue-paginate.js
|
|
456794
456794
|
var vue_paginate = __webpack_require__("baff");
|
|
@@ -456816,14 +456816,6 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vue_paginate_default.
|
|
|
456816
456816
|
},
|
|
456817
456817
|
},
|
|
456818
456818
|
methods: {
|
|
456819
|
-
clickCallback(pageNum) {
|
|
456820
|
-
console.log(pageNum);
|
|
456821
|
-
},
|
|
456822
|
-
initData() {
|
|
456823
|
-
this.popupAttr.forEach((e) => {
|
|
456824
|
-
this.clusterList.push(e.getProperties());
|
|
456825
|
-
});
|
|
456826
|
-
},
|
|
456827
456819
|
danji(item) {
|
|
456828
456820
|
if (item.popoup || item.popoup == false) {
|
|
456829
456821
|
this.$emit("clickPointEvent", item);
|
|
@@ -456832,16 +456824,21 @@ external_commonjs_vue_commonjs2_vue_root_Vue_default.a.use(vue_paginate_default.
|
|
|
456832
456824
|
}
|
|
456833
456825
|
},
|
|
456834
456826
|
},
|
|
456835
|
-
mounted() {
|
|
456836
|
-
|
|
456827
|
+
mounted() {},
|
|
456828
|
+
watch: {
|
|
456829
|
+
popupAttr: {
|
|
456830
|
+
handler(newVal, oldVal) {
|
|
456831
|
+
this.clusterList = newVal.map(e => e.getProperties());
|
|
456832
|
+
},
|
|
456833
|
+
immediate: true
|
|
456834
|
+
},
|
|
456837
456835
|
},
|
|
456838
|
-
watch: {},
|
|
456839
456836
|
});
|
|
456840
456837
|
|
|
456841
456838
|
// CONCATENATED MODULE: ./packages/gisMap2d/src/component/netLayer/ClusterList.vue?vue&type=script&lang=js
|
|
456842
456839
|
/* harmony default export */ var netLayer_ClusterListvue_type_script_lang_js = (ClusterListvue_type_script_lang_js);
|
|
456843
|
-
// EXTERNAL MODULE: ./packages/gisMap2d/src/component/netLayer/ClusterList.vue?vue&type=style&index=0&id=
|
|
456844
|
-
var
|
|
456840
|
+
// EXTERNAL MODULE: ./packages/gisMap2d/src/component/netLayer/ClusterList.vue?vue&type=style&index=0&id=576bc755&prod&scoped=true&lang=css
|
|
456841
|
+
var ClusterListvue_type_style_index_0_id_576bc755_prod_scoped_true_lang_css = __webpack_require__("0dbb");
|
|
456845
456842
|
|
|
456846
456843
|
// CONCATENATED MODULE: ./packages/gisMap2d/src/component/netLayer/ClusterList.vue
|
|
456847
456844
|
|
|
@@ -456854,11 +456851,11 @@ var ClusterListvue_type_style_index_0_id_7a725c9d_prod_scoped_true_lang_css = __
|
|
|
456854
456851
|
|
|
456855
456852
|
var ClusterList_component = normalizeComponent(
|
|
456856
456853
|
netLayer_ClusterListvue_type_script_lang_js,
|
|
456857
|
-
|
|
456858
|
-
|
|
456854
|
+
ClusterListvue_type_template_id_576bc755_scoped_true_render,
|
|
456855
|
+
ClusterListvue_type_template_id_576bc755_scoped_true_staticRenderFns,
|
|
456859
456856
|
false,
|
|
456860
456857
|
null,
|
|
456861
|
-
"
|
|
456858
|
+
"576bc755",
|
|
456862
456859
|
null
|
|
456863
456860
|
|
|
456864
456861
|
)
|
|
@@ -457019,15 +457016,15 @@ var LatlonPick_component = normalizeComponent(
|
|
|
457019
457016
|
initBaseLayers() {
|
|
457020
457017
|
let that = this;
|
|
457021
457018
|
const superMapRestUrl =
|
|
457022
|
-
"
|
|
457019
|
+
"http://10.166.157.209:8090/iserver/services/map-WorkSpace/rest/maps/t2";
|
|
457023
457020
|
const wmsUrl =
|
|
457024
|
-
"
|
|
457021
|
+
"http://10.166.157.209:8090/iserver/services/map-JHArea/wms111/JHArea";
|
|
457025
457022
|
const baseRoadUrl =
|
|
457026
|
-
"
|
|
457023
|
+
"http://10.166.157.209:8090/iserver/services/map-baseRoad/wms130";
|
|
457027
457024
|
const G35Url =
|
|
457028
|
-
"
|
|
457025
|
+
"http://10.166.157.209:8090/iserver/services/map-G35/wms130";
|
|
457029
457026
|
const styleURL =
|
|
457030
|
-
"
|
|
457027
|
+
"http://10.166.157.209:8090/iserver/services/map-mvt-BaseMapG35/restjsr/v1/vectortile/maps/BaseMapG35/style.json";
|
|
457031
457028
|
// 加载ArcGIS服务
|
|
457032
457029
|
const arcgisUrl =
|
|
457033
457030
|
"http://124.128.27.156:18085/arcgis/rest/services/BaseService/darkColor/MapServer";
|
|
@@ -457711,6 +457708,7 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457711
457708
|
});
|
|
457712
457709
|
},
|
|
457713
457710
|
addPointByArr(pointsObj, id, isCluster) {
|
|
457711
|
+
this.isCluster = isCluster;
|
|
457714
457712
|
let arry = this.map.getLayers().getArray();
|
|
457715
457713
|
let foundLayer = null;
|
|
457716
457714
|
for (let i = 0; i < arry.length; i++) {
|
|
@@ -457720,7 +457718,8 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457720
457718
|
break;
|
|
457721
457719
|
}
|
|
457722
457720
|
}
|
|
457723
|
-
|
|
457721
|
+
this.sourceWithoutText = new source_Vector["default"]();
|
|
457722
|
+
this.sourceWithText = new source_Vector["default"]();
|
|
457724
457723
|
pointsObj.pointList.forEach((data) => {
|
|
457725
457724
|
let feature = new ol_Feature["a" /* default */]({
|
|
457726
457725
|
title: "要素点",
|
|
@@ -457732,15 +457731,51 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457732
457731
|
feature.set("otherInfo", data.otherInfo);
|
|
457733
457732
|
feature.set("longitude", data.longitude);
|
|
457734
457733
|
feature.set("latitude", data.latitude);
|
|
457735
|
-
feature.
|
|
457736
|
-
|
|
457737
|
-
|
|
457738
|
-
|
|
457739
|
-
|
|
457734
|
+
feature.set("isVisible", false);
|
|
457735
|
+
let styleWithoutText = new Style["default"]({
|
|
457736
|
+
image: new Icon["default"]({
|
|
457737
|
+
src: data.iconUrl,
|
|
457738
|
+
scale: data.scale,
|
|
457739
|
+
}),
|
|
457740
|
+
});
|
|
457741
|
+
feature.setStyle(styleWithoutText);
|
|
457742
|
+
this.sourceWithoutText.addFeature(feature);
|
|
457743
|
+
});
|
|
457744
|
+
pointsObj.pointList.forEach((data) => {
|
|
457745
|
+
let feature = new ol_Feature["a" /* default */]({
|
|
457746
|
+
title: "要素点",
|
|
457747
|
+
geometry: new geom_Point["default"](Object(ol_proj["fromLonLat"])([data.longitude, data.latitude])),
|
|
457748
|
+
});
|
|
457749
|
+
feature.set("type", data.type);
|
|
457750
|
+
feature.set("iconUrl", data.iconUrl);
|
|
457751
|
+
feature.set("popoup", false);
|
|
457752
|
+
feature.set("otherInfo", data.otherInfo);
|
|
457753
|
+
feature.set("longitude", data.longitude);
|
|
457754
|
+
feature.set("latitude", data.latitude);
|
|
457755
|
+
feature.set("isVisible", false);
|
|
457756
|
+
let styleWithText = new Style["default"]({
|
|
457757
|
+
image: new Icon["default"]({
|
|
457758
|
+
src: data.iconUrl,
|
|
457759
|
+
scale: data.scale,
|
|
457760
|
+
}),
|
|
457761
|
+
text: new style_Text["default"]({
|
|
457762
|
+
text: data.otherInfo.stake,
|
|
457763
|
+
offsetY: 25,
|
|
457764
|
+
fill: new Fill["default"]({ color: "#f8f6e6" }),
|
|
457765
|
+
font: "13px Calibri,sans-serif",
|
|
457766
|
+
backgroundFill: new Fill["default"]({ color: "rgba(50, 35, 5, 0.7)" }),
|
|
457767
|
+
backgroundStroke: new Stroke["default"]({
|
|
457768
|
+
color: "#c7b838",
|
|
457769
|
+
width: 1,
|
|
457770
|
+
lineDash: [4, 4],
|
|
457740
457771
|
}),
|
|
457741
|
-
|
|
457742
|
-
|
|
457743
|
-
|
|
457772
|
+
textAlign: "center",
|
|
457773
|
+
textBaseline: "middle",
|
|
457774
|
+
padding: [2, 1, 1, 2],
|
|
457775
|
+
}),
|
|
457776
|
+
});
|
|
457777
|
+
feature.setStyle(styleWithText);
|
|
457778
|
+
this.sourceWithText.addFeature(feature);
|
|
457744
457779
|
});
|
|
457745
457780
|
if (isCluster) {
|
|
457746
457781
|
this.customLayer = new layer_Vector["default"]({
|
|
@@ -457755,12 +457790,7 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457755
457790
|
// 圆形
|
|
457756
457791
|
radius: 18,
|
|
457757
457792
|
fill: new Fill["default"]({
|
|
457758
|
-
color: [
|
|
457759
|
-
255,
|
|
457760
|
-
160,
|
|
457761
|
-
0,
|
|
457762
|
-
.7,
|
|
457763
|
-
],
|
|
457793
|
+
color: [255, 160, 0, 0.7],
|
|
457764
457794
|
}),
|
|
457765
457795
|
}),
|
|
457766
457796
|
text: new style_Text["default"]({
|
|
@@ -457785,7 +457815,7 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457785
457815
|
const clusterSource = new source_Cluster({
|
|
457786
457816
|
distance: 50,
|
|
457787
457817
|
minDistance: 200,
|
|
457788
|
-
source:
|
|
457818
|
+
source: this.sourceWithoutText,
|
|
457789
457819
|
});
|
|
457790
457820
|
if (foundLayer) {
|
|
457791
457821
|
foundLayer.setSource(clusterSource);
|
|
@@ -457798,9 +457828,9 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457798
457828
|
zIndex: 999,
|
|
457799
457829
|
});
|
|
457800
457830
|
if (foundLayer) {
|
|
457801
|
-
foundLayer.setSource(
|
|
457831
|
+
foundLayer.setSource(this.sourceWithoutText);
|
|
457802
457832
|
} else {
|
|
457803
|
-
this.customLayer.setSource(
|
|
457833
|
+
this.customLayer.setSource(this.sourceWithoutText);
|
|
457804
457834
|
}
|
|
457805
457835
|
}
|
|
457806
457836
|
if (!foundLayer) {
|
|
@@ -457847,6 +457877,43 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457847
457877
|
this.map.removeLayer(foundLayer);
|
|
457848
457878
|
this.closePopup();
|
|
457849
457879
|
},
|
|
457880
|
+
findLayerByName(layerName) {
|
|
457881
|
+
let arry = this.map.getLayers().getArray();
|
|
457882
|
+
let foundLayer = null;
|
|
457883
|
+
for (let i = 0; i < arry.length; i++) {
|
|
457884
|
+
let layer = arry[i];
|
|
457885
|
+
if (layer.get("layerName") === layerName) {
|
|
457886
|
+
foundLayer = layer;
|
|
457887
|
+
break;
|
|
457888
|
+
}
|
|
457889
|
+
}
|
|
457890
|
+
return foundLayer;
|
|
457891
|
+
},
|
|
457892
|
+
pileIsShow(layerName, isShow) {
|
|
457893
|
+
if (this.isCluster) {
|
|
457894
|
+
if (!isShow) {
|
|
457895
|
+
const newclusterSource = new source_Cluster({
|
|
457896
|
+
distance: 50,
|
|
457897
|
+
minDistance: 200,
|
|
457898
|
+
source: this.sourceWithoutText,
|
|
457899
|
+
});
|
|
457900
|
+
this.findLayerByName(layerName).setSource(newclusterSource);
|
|
457901
|
+
} else {
|
|
457902
|
+
const newclusterSource = new source_Cluster({
|
|
457903
|
+
distance: 50,
|
|
457904
|
+
minDistance: 200,
|
|
457905
|
+
source: this.sourceWithText,
|
|
457906
|
+
});
|
|
457907
|
+
this.findLayerByName(layerName).setSource(newclusterSource);
|
|
457908
|
+
}
|
|
457909
|
+
} else {
|
|
457910
|
+
if (!isShow) {
|
|
457911
|
+
this.findLayerByName(layerName).setSource(this.sourceWithoutText);
|
|
457912
|
+
} else {
|
|
457913
|
+
this.findLayerByName(layerName).setSource(this.sourceWithText);
|
|
457914
|
+
}
|
|
457915
|
+
}
|
|
457916
|
+
},
|
|
457850
457917
|
},
|
|
457851
457918
|
});
|
|
457852
457919
|
|
|
@@ -457870,7 +457937,8 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457870
457937
|
shopPopup: false,
|
|
457871
457938
|
currentTabComponent: null,
|
|
457872
457939
|
popupAttributes: null,
|
|
457873
|
-
measuredraw: null
|
|
457940
|
+
measuredraw: null,
|
|
457941
|
+
isCluster: null
|
|
457874
457942
|
};
|
|
457875
457943
|
},
|
|
457876
457944
|
components: {
|
|
@@ -457892,7 +457960,7 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457892
457960
|
widgetBoxDisplay: {
|
|
457893
457961
|
type: String,
|
|
457894
457962
|
default: "block",
|
|
457895
|
-
}
|
|
457963
|
+
},
|
|
457896
457964
|
},
|
|
457897
457965
|
methods: {
|
|
457898
457966
|
initMap() {
|
|
@@ -457911,7 +457979,7 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457911
457979
|
rotate: false,
|
|
457912
457980
|
}),
|
|
457913
457981
|
});
|
|
457914
|
-
this.initBaseLayers()
|
|
457982
|
+
this.initBaseLayers();
|
|
457915
457983
|
},
|
|
457916
457984
|
showPopup() {
|
|
457917
457985
|
this.shopPopup = true;
|
|
@@ -457923,9 +457991,9 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457923
457991
|
measuredrawChange(newValue) {
|
|
457924
457992
|
this.measuredraw = newValue;
|
|
457925
457993
|
},
|
|
457926
|
-
clickPointEvent(obj){
|
|
457994
|
+
clickPointEvent(obj) {
|
|
457927
457995
|
this.$emit("clickPointEvent", obj);
|
|
457928
|
-
}
|
|
457996
|
+
},
|
|
457929
457997
|
},
|
|
457930
457998
|
computed: {},
|
|
457931
457999
|
watch: {},
|
|
@@ -457938,8 +458006,8 @@ var Cluster_Cluster = /** @class */ (function (_super) {
|
|
|
457938
458006
|
|
|
457939
458007
|
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue?vue&type=script&lang=js
|
|
457940
458008
|
/* harmony default export */ var gisMap2d_srcvue_type_script_lang_js = (srcvue_type_script_lang_js);
|
|
457941
|
-
// EXTERNAL MODULE: ./packages/gisMap2d/src/index.vue?vue&type=style&index=0&id=
|
|
457942
|
-
var
|
|
458009
|
+
// EXTERNAL MODULE: ./packages/gisMap2d/src/index.vue?vue&type=style&index=0&id=cb46bcba&prod&lang=css
|
|
458010
|
+
var srcvue_type_style_index_0_id_cb46bcba_prod_lang_css = __webpack_require__("dd51");
|
|
457943
458011
|
|
|
457944
458012
|
// CONCATENATED MODULE: ./packages/gisMap2d/src/index.vue
|
|
457945
458013
|
|