ry-vue-map 0.2.8 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/ryui.common.js +1056 -70
- package/lib/ryui.common.js.gz +0 -0
- package/lib/ryui.css +1 -1
- package/lib/ryui.css.gz +0 -0
- package/lib/ryui.umd.js +1056 -70
- package/lib/ryui.umd.js.gz +0 -0
- package/lib/ryui.umd.min.js +3 -3
- package/lib/ryui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/assets/mask.png +0 -0
- package/src/assets/play.png +0 -0
- package/src/assets/stop.png +0 -0
- package/src/components/index.js +20 -1
- package/src/components/maps/models/ryLines/ryLines.js +17 -1
- package/src/components/maps/models/ryPolygons/ryPolygons.js +122 -122
- package/src/components/maps/models/ryStaticLayer/index.js +29 -0
- package/src/components/maps/models/ryStaticLayers/index.js +45 -0
- package/src/components/maps/ryLines/src/index.scss +115 -0
- package/src/components/maps/ryLines/src/index.vue +378 -26
- package/src/components/maps/ryStaticLayer/index.js +7 -0
- package/src/components/maps/ryStaticLayer/src/index.vue +154 -0
- package/src/components/maps/ryStaticLayers/index.js +7 -0
- package/src/components/maps/ryStaticLayers/src/index.vue +213 -0
- package/src/components/maps/switchMap/src/newIndex.vue +0 -1
- package/src/views/map/index.vue +430 -76
package/lib/ryui.umd.js
CHANGED
|
@@ -4438,6 +4438,13 @@ var _interopRequireDefault=__webpack_require__("4ea4"),_createClass2=(Object.def
|
|
|
4438
4438
|
|
|
4439
4439
|
/***/ }),
|
|
4440
4440
|
|
|
4441
|
+
/***/ "1810":
|
|
4442
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
4443
|
+
|
|
4444
|
+
// extracted by mini-css-extract-plugin
|
|
4445
|
+
|
|
4446
|
+
/***/ }),
|
|
4447
|
+
|
|
4441
4448
|
/***/ "183a":
|
|
4442
4449
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
4443
4450
|
|
|
@@ -16125,6 +16132,17 @@ var RenderEvent = /** @class */ (function (_super) {
|
|
|
16125
16132
|
/* harmony default export */ __webpack_exports__["a"] = (RenderEvent);
|
|
16126
16133
|
//# sourceMappingURL=Event.js.map
|
|
16127
16134
|
|
|
16135
|
+
/***/ }),
|
|
16136
|
+
|
|
16137
|
+
/***/ "3391":
|
|
16138
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
16139
|
+
|
|
16140
|
+
"use strict";
|
|
16141
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_75840f3c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("1810");
|
|
16142
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_75840f3c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_75840f3c_prod_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
|
16143
|
+
/* unused harmony reexport * */
|
|
16144
|
+
|
|
16145
|
+
|
|
16128
16146
|
/***/ }),
|
|
16129
16147
|
|
|
16130
16148
|
/***/ "345d":
|
|
@@ -25613,6 +25631,13 @@ function zoomByDelta(view, delta, opt_anchor, opt_duration) {
|
|
|
25613
25631
|
|
|
25614
25632
|
/***/ }),
|
|
25615
25633
|
|
|
25634
|
+
/***/ "4409":
|
|
25635
|
+
/***/ (function(module, exports, __webpack_require__) {
|
|
25636
|
+
|
|
25637
|
+
// extracted by mini-css-extract-plugin
|
|
25638
|
+
|
|
25639
|
+
/***/ }),
|
|
25640
|
+
|
|
25616
25641
|
/***/ "448a":
|
|
25617
25642
|
/***/ (function(module, exports, __webpack_require__) {
|
|
25618
25643
|
|
|
@@ -25632,13 +25657,6 @@ module.exports = _toConsumableArray, module.exports.__esModule = true, module.ex
|
|
|
25632
25657
|
|
|
25633
25658
|
/***/ }),
|
|
25634
25659
|
|
|
25635
|
-
/***/ "44d5":
|
|
25636
|
-
/***/ (function(module, exports, __webpack_require__) {
|
|
25637
|
-
|
|
25638
|
-
// extracted by mini-css-extract-plugin
|
|
25639
|
-
|
|
25640
|
-
/***/ }),
|
|
25641
|
-
|
|
25642
25660
|
/***/ "47e4":
|
|
25643
25661
|
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
25644
25662
|
|
|
@@ -66288,17 +66306,6 @@ function cloneGeometries(geometries) {
|
|
|
66288
66306
|
/* harmony default export */ __webpack_exports__["a"] = (GeometryCollection);
|
|
66289
66307
|
//# sourceMappingURL=GeometryCollection.js.map
|
|
66290
66308
|
|
|
66291
|
-
/***/ }),
|
|
66292
|
-
|
|
66293
|
-
/***/ "d8bd":
|
|
66294
|
-
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
66295
|
-
|
|
66296
|
-
"use strict";
|
|
66297
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_newIndex_vue_vue_type_style_index_0_id_bb9d499c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("44d5");
|
|
66298
|
-
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_newIndex_vue_vue_type_style_index_0_id_bb9d499c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_newIndex_vue_vue_type_style_index_0_id_bb9d499c_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
66299
|
-
/* unused harmony reexport * */
|
|
66300
|
-
|
|
66301
|
-
|
|
66302
66309
|
/***/ }),
|
|
66303
66310
|
|
|
66304
66311
|
/***/ "da2f":
|
|
@@ -73941,6 +73948,17 @@ var VectorContext = /** @class */ (function () {
|
|
|
73941
73948
|
/* harmony default export */ __webpack_exports__["a"] = (VectorContext);
|
|
73942
73949
|
//# sourceMappingURL=VectorContext.js.map
|
|
73943
73950
|
|
|
73951
|
+
/***/ }),
|
|
73952
|
+
|
|
73953
|
+
/***/ "f7d8":
|
|
73954
|
+
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
|
73955
|
+
|
|
73956
|
+
"use strict";
|
|
73957
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_newIndex_vue_vue_type_style_index_0_id_10ed49d6_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__("4409");
|
|
73958
|
+
/* harmony import */ var _node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_newIndex_vue_vue_type_style_index_0_id_10ed49d6_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_dist_cjs_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_dist_cjs_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_newIndex_vue_vue_type_style_index_0_id_10ed49d6_prod_scoped_true_lang_scss___WEBPACK_IMPORTED_MODULE_0__);
|
|
73959
|
+
/* unused harmony reexport * */
|
|
73960
|
+
|
|
73961
|
+
|
|
73944
73962
|
/***/ }),
|
|
73945
73963
|
|
|
73946
73964
|
/***/ "f8b5":
|
|
@@ -91634,7 +91652,7 @@ if (typeof window !== 'undefined') {
|
|
|
91634
91652
|
// Indicate to webpack that this file can be concatenated
|
|
91635
91653
|
/* harmony default export */ var setPublicPath = (null);
|
|
91636
91654
|
|
|
91637
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
91655
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryMap/src/index.vue?vue&type=template&id=2da723f6&scoped=true&
|
|
91638
91656
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"map-box"},[_c('div',{directives:[{name:"lmap",rawName:"v-lmap:loadMap",arg:"loadMap"}],staticClass:"map-style"}),(_vm.lMap.map && _vm.isRyMapTool)?_c('RyMapTool',{staticClass:"ry-map-tool",class:{
|
|
91639
91657
|
'left':!_vm.isRight,
|
|
91640
91658
|
'right':_vm.isRight
|
|
@@ -92878,14 +92896,14 @@ class mapTool_MapToolDto {
|
|
|
92878
92896
|
}
|
|
92879
92897
|
|
|
92880
92898
|
}
|
|
92881
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
92899
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryMapTool/src/index.vue?vue&type=template&id=5b062201&scoped=true&
|
|
92882
92900
|
var srcvue_type_template_id_5b062201_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"draw-tool-box"},[(!_vm.isRight)?[(_vm.isShowDrawTool)?_c('aside',{staticClass:"map-button-box"},[(!_vm.hideAdd)?_c('el-button',{staticClass:"ele-text-primary el-icon--add",on:{"click":function($event){$event.stopPropagation();return _vm.onCreatePolygon()}}}):_vm._e(),(!_vm.hidePoint)?_c('el-button',{staticClass:"ele-text-primary el-icon--dadian",on:{"click":function($event){$event.stopPropagation();return _vm.onPointEvent()}}}):_vm._e(),(!_vm.hideCancel)?_c('el-button',{staticClass:"ele-text-primary el-icon--back",on:{"click":function($event){$event.stopPropagation();return _vm.lMap.onCancel()}}}):_vm._e(),(!_vm.hideDelete)?_c('el-button',{staticClass:"ele-text-primary el-icon--ashbin",on:{"click":function($event){$event.stopPropagation();return _vm.onDelete()}}}):_vm._e(),(!_vm.hideSave)?_c('el-button',{staticClass:"ele-text-primary el-icon--duihao",on:{"click":function($event){$event.stopPropagation();return _vm.onSave()}}}):_vm._e(),_vm._t("default")],2):_vm._e(),(_vm.isShowRangingTool)?_c('aside',{staticClass:"map-control",staticStyle:{"margin-left":"60px"}},[(!_vm.hideLine)?_c('el-button',{staticClass:"ele-text-primary el-icon--changdu",on:{"click":function($event){$event.stopPropagation();return _vm.lMap.onCreateLine()}}}):_vm._e(),(!_vm.hideArea)?_c('el-button',{staticClass:"ele-text-primary el-icon--mianji",on:{"click":function($event){$event.stopPropagation();return _vm.lMap.onCreateArea()}}}):_vm._e()],1):_vm._e()]:[(_vm.isShowRangingTool)?_c('aside',{staticClass:"map-control",staticStyle:{"margin-right":"60px"}},[(!_vm.hideLine)?_c('el-button',{staticClass:"ele-text-primary el-icon--changdu",on:{"click":function($event){$event.stopPropagation();return _vm.lMap.onCreateLine()}}}):_vm._e(),(!_vm.hideArea)?_c('el-button',{staticClass:"ele-text-primary el-icon--mianji",on:{"click":function($event){$event.stopPropagation();return _vm.lMap.onCreateArea()}}}):_vm._e()],1):_vm._e(),(_vm.isShowDrawTool)?_c('aside',{staticClass:"map-button-box"},[(!_vm.hideAdd)?_c('el-button',{staticClass:"ele-text-primary el-icon--add",on:{"click":function($event){$event.stopPropagation();return _vm.onCreatePolygon()}}}):_vm._e(),(!_vm.hidePoint)?_c('el-button',{staticClass:"ele-text-primary el-icon--dadian",on:{"click":function($event){$event.stopPropagation();return _vm.onPointEvent()}}}):_vm._e(),(!_vm.hideCancel)?_c('el-button',{staticClass:"ele-text-primary el-icon--back",on:{"click":function($event){$event.stopPropagation();return _vm.lMap.onCancel()}}}):_vm._e(),(!_vm.hideDelete)?_c('el-button',{staticClass:"ele-text-primary el-icon--ashbin",on:{"click":function($event){$event.stopPropagation();return _vm.onDelete()}}}):_vm._e(),(!_vm.hideSave)?_c('el-button',{staticClass:"ele-text-primary el-icon--duihao",on:{"click":function($event){$event.stopPropagation();return _vm.onSave()}}}):_vm._e(),_vm._t("default")],2):_vm._e()],(_vm.lMap)?_c('ry-cross-hair',{attrs:{"isHide":_vm.isCrossHair,"map":_vm.lMap.map},on:{"click":function($event){return _vm.onClick($event)}}}):_vm._e()],2)}
|
|
92883
92901
|
var srcvue_type_template_id_5b062201_scoped_true_staticRenderFns = []
|
|
92884
92902
|
|
|
92885
92903
|
|
|
92886
92904
|
// CONCATENATED MODULE: ./src/components/maps/ryMapTool/src/index.vue?vue&type=template&id=5b062201&scoped=true&
|
|
92887
92905
|
|
|
92888
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
92906
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryCrossHair/src/index.vue?vue&type=template&id=735d1508&
|
|
92889
92907
|
var srcvue_type_template_id_735d1508_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
92890
92908
|
var srcvue_type_template_id_735d1508_staticRenderFns = []
|
|
92891
92909
|
|
|
@@ -93430,12 +93448,12 @@ var src_component = normalizeComponent(
|
|
|
93430
93448
|
)
|
|
93431
93449
|
|
|
93432
93450
|
/* harmony default export */ var ryMapTool_src = (src_component.exports);
|
|
93433
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
93434
|
-
var
|
|
93435
|
-
var
|
|
93451
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/switchMap/src/newIndex.vue?vue&type=template&id=10ed49d6&scoped=true&
|
|
93452
|
+
var newIndexvue_type_template_id_10ed49d6_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.mapTypeAndLayer && _vm.mapTypeAndLayer.length > 0)?_c('div',{staticClass:"switch-map"},[_c('div',{staticClass:"top",style:({height:_vm.height + 'px'})},[(!_vm.isDisabled)?[_c('p',{class:_vm.bottomRight?(_vm.isExpand?'el-icon-arrow-left':'el-icon-arrow-right'):(!_vm.isExpand?'el-icon-arrow-left':'el-icon-arrow-right'),on:{"click":_vm.changeExpand}})]:_c('p',{staticStyle:{"width":"10px"}}),_c('ul',_vm._l((_vm.mapTypeCopy),function(obj,index){return _c('li',{key:index,class:{ color: !_vm.isExpand?_vm.mapTypeActive === obj.id:true },on:{"click":function($event){return _vm.mapTypeClick(obj)}}},[_c('i',{class:_vm.isExpand?obj.activeIcon:(_vm.mapTypeActive === obj.id?obj.activeIcon:obj.icon)}),_vm._v(" "+_vm._s(obj.name)+" ")])}),0)],2),_c('ul',{class:{bottom:true,marginLeft:_vm.bottomRight}},_vm._l((_vm.mapStyleCopy),function(row,index){return _c('li',{key:index,class:{color:!_vm.isTop?_vm.mapStyleActive === row.id:true},style:({height:_vm.height + 'px',lineHeight:_vm.height + 'px'})},[_c('span',{on:{"click":function($event){return _vm.mapStyleClick(row)}}},[_vm._v(" "+_vm._s(row.name)+" ")]),_c('i',{directives:[{name:"show",rawName:"v-show",value:(index===0),expression:"index===0"}],class:_vm.isTop?'el-icon-arrow-down':'el-icon-arrow-up',on:{"click":_vm.changeDirectionArrow}})])}),0)]):_vm._e()}
|
|
93453
|
+
var newIndexvue_type_template_id_10ed49d6_scoped_true_staticRenderFns = []
|
|
93436
93454
|
|
|
93437
93455
|
|
|
93438
|
-
// CONCATENATED MODULE: ./src/components/maps/switchMap/src/newIndex.vue?vue&type=template&id=
|
|
93456
|
+
// CONCATENATED MODULE: ./src/components/maps/switchMap/src/newIndex.vue?vue&type=template&id=10ed49d6&scoped=true&
|
|
93439
93457
|
|
|
93440
93458
|
// CONCATENATED MODULE: ./src/components/maps/models/switchMap/switchMap.js
|
|
93441
93459
|
|
|
@@ -93580,7 +93598,6 @@ class switchMap_MapToolDto {
|
|
|
93580
93598
|
// },
|
|
93581
93599
|
mapTypeAndLayer: {
|
|
93582
93600
|
handler(e) {
|
|
93583
|
-
console.log('111111');
|
|
93584
93601
|
if (!Array.isArray(e) || !e[1]) return;
|
|
93585
93602
|
e.forEach((r, index) => {
|
|
93586
93603
|
if (index === 1 && !this.switchMapDefaultTypeOrLayer) {
|
|
@@ -93740,8 +93757,8 @@ class switchMap_MapToolDto {
|
|
|
93740
93757
|
});
|
|
93741
93758
|
// CONCATENATED MODULE: ./src/components/maps/switchMap/src/newIndex.vue?vue&type=script&lang=js&
|
|
93742
93759
|
/* harmony default export */ var src_newIndexvue_type_script_lang_js_ = (newIndexvue_type_script_lang_js_);
|
|
93743
|
-
// EXTERNAL MODULE: ./src/components/maps/switchMap/src/newIndex.vue?vue&type=style&index=0&id=
|
|
93744
|
-
var
|
|
93760
|
+
// EXTERNAL MODULE: ./src/components/maps/switchMap/src/newIndex.vue?vue&type=style&index=0&id=10ed49d6&prod&scoped=true&lang=scss&
|
|
93761
|
+
var newIndexvue_type_style_index_0_id_10ed49d6_prod_scoped_true_lang_scss_ = __webpack_require__("f7d8");
|
|
93745
93762
|
|
|
93746
93763
|
// CONCATENATED MODULE: ./src/components/maps/switchMap/src/newIndex.vue
|
|
93747
93764
|
|
|
@@ -93754,11 +93771,11 @@ var newIndexvue_type_style_index_0_id_bb9d499c_prod_scoped_true_lang_scss_ = __w
|
|
|
93754
93771
|
|
|
93755
93772
|
var newIndex_component = normalizeComponent(
|
|
93756
93773
|
src_newIndexvue_type_script_lang_js_,
|
|
93757
|
-
|
|
93758
|
-
|
|
93774
|
+
newIndexvue_type_template_id_10ed49d6_scoped_true_render,
|
|
93775
|
+
newIndexvue_type_template_id_10ed49d6_scoped_true_staticRenderFns,
|
|
93759
93776
|
false,
|
|
93760
93777
|
null,
|
|
93761
|
-
"
|
|
93778
|
+
"10ed49d6",
|
|
93762
93779
|
null
|
|
93763
93780
|
|
|
93764
93781
|
)
|
|
@@ -94165,7 +94182,7 @@ ryMapTool_src.install = Vue => {
|
|
|
94165
94182
|
};
|
|
94166
94183
|
|
|
94167
94184
|
/* harmony default export */ var ryMapTool = (ryMapTool_src);
|
|
94168
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
94185
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryPolygon/src/index.vue?vue&type=template&id=3e8f1c13&
|
|
94169
94186
|
var srcvue_type_template_id_3e8f1c13_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
94170
94187
|
var srcvue_type_template_id_3e8f1c13_staticRenderFns = []
|
|
94171
94188
|
|
|
@@ -94539,7 +94556,7 @@ ryPolygon_src.install = Vue => {
|
|
|
94539
94556
|
};
|
|
94540
94557
|
|
|
94541
94558
|
/* harmony default export */ var ryPolygon = (ryPolygon_src);
|
|
94542
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
94559
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryPolygons/src/index.vue?vue&type=template&id=bd05c456&
|
|
94543
94560
|
var srcvue_type_template_id_bd05c456_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
94544
94561
|
var srcvue_type_template_id_bd05c456_staticRenderFns = []
|
|
94545
94562
|
|
|
@@ -95278,7 +95295,7 @@ ryPolygons_src.install = Vue => {
|
|
|
95278
95295
|
};
|
|
95279
95296
|
|
|
95280
95297
|
/* harmony default export */ var ryPolygons = (ryPolygons_src);
|
|
95281
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
95298
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryClusters/src/index.vue?vue&type=template&id=148ba5e7&scoped=true&
|
|
95282
95299
|
var srcvue_type_template_id_148ba5e7_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}
|
|
95283
95300
|
var srcvue_type_template_id_148ba5e7_scoped_true_staticRenderFns = []
|
|
95284
95301
|
|
|
@@ -95592,7 +95609,7 @@ ryClusters_src.install = Vue => {
|
|
|
95592
95609
|
};
|
|
95593
95610
|
|
|
95594
95611
|
/* harmony default export */ var ryClusters = (ryClusters_src);
|
|
95595
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
95612
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryClustersMarker/src/index.vue?vue&type=template&id=64b08b64&scoped=true&
|
|
95596
95613
|
var srcvue_type_template_id_64b08b64_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div')}
|
|
95597
95614
|
var srcvue_type_template_id_64b08b64_scoped_true_staticRenderFns = []
|
|
95598
95615
|
|
|
@@ -95781,7 +95798,7 @@ ryClustersMarker_src.install = Vue => {
|
|
|
95781
95798
|
};
|
|
95782
95799
|
|
|
95783
95800
|
/* harmony default export */ var ryClustersMarker = (ryClustersMarker_src);
|
|
95784
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
95801
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryPolygonGeo/src/index.vue?vue&type=template&id=2a5ab464&
|
|
95785
95802
|
var srcvue_type_template_id_2a5ab464_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
95786
95803
|
var srcvue_type_template_id_2a5ab464_staticRenderFns = []
|
|
95787
95804
|
|
|
@@ -96041,7 +96058,7 @@ ryPolygonGeo_src.install = Vue => {
|
|
|
96041
96058
|
};
|
|
96042
96059
|
|
|
96043
96060
|
/* harmony default export */ var ryPolygonGeo = (ryPolygonGeo_src);
|
|
96044
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
96061
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryVectorMap/src/index.vue?vue&type=template&id=38afeddc&scoped=true&
|
|
96045
96062
|
var srcvue_type_template_id_38afeddc_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{directives:[{name:"lmap",rawName:"v-lmap:loadMap",arg:"loadMap"}],staticClass:"vector-map"})}
|
|
96046
96063
|
var srcvue_type_template_id_38afeddc_scoped_true_staticRenderFns = []
|
|
96047
96064
|
|
|
@@ -96257,12 +96274,12 @@ ryVectorMap_src.install = Vue => {
|
|
|
96257
96274
|
};
|
|
96258
96275
|
|
|
96259
96276
|
/* harmony default export */ var ryVectorMap = (ryVectorMap_src);
|
|
96260
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
96261
|
-
var
|
|
96262
|
-
var
|
|
96277
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryLines/src/index.vue?vue&type=template&id=75840f3c&scoped=true&
|
|
96278
|
+
var srcvue_type_template_id_75840f3c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.isShowPlayback)?_c('div',{staticClass:"el-slider-box"},[_c('el-row',{attrs:{"type":"flex","justify":"center"}},[_c('el-col',{attrs:{"span":1}},[(!_vm.index || !_vm.isStop)?_c('button',{staticClass:"button-paly",on:{"click":function($event){$event.stopPropagation();return _vm.onPlayTrajectory()}}}):_c('button',{staticClass:"button-stop",on:{"click":function($event){$event.stopPropagation();return _vm.onStopTrajectory()}}})]),_c('el-col',{attrs:{"xs":13,"sm":19,"md":19,"lg":19,"xl":23}},[_c('el-slider',{attrs:{"marks":_vm.marks,"show-tooltip":"","step":1,"min":0,"max":_vm.cacheArr.length,"format-tooltip":_vm.formatTooltip},on:{"change":_vm.sliderChange},model:{value:(_vm.index),callback:function ($$v) {_vm.index=$$v},expression:"index"}})],1)],1),_c('el-row',{attrs:{"type":"flex","justify":"end"}},[_c('el-col',[_c('section',{staticClass:"control-panel"},[_c('span',[_vm._v("播放倍速:")]),_c('span',{class:{ active: _vm.selectActive[0] },on:{"click":function($event){$event.stopPropagation();return _vm.onPlaySpeed(0, 200)}}},[_vm._v("0.5x")]),_c('span',{class:{ active: _vm.selectActive[1] },on:{"click":function($event){$event.stopPropagation();return _vm.onPlaySpeed(1, 100)}}},[_vm._v("正常")]),_c('span',{class:{ active: _vm.selectActive[2] },on:{"click":function($event){$event.stopPropagation();return _vm.onPlaySpeed(2, 50)}}},[_vm._v("1.5x")]),_c('span',{class:{ active: _vm.selectActive[3] },on:{"click":function($event){$event.stopPropagation();return _vm.onPlaySpeed(3, 5)}}},[_vm._v("2.0x")])])])],1)],1):_vm._e()])}
|
|
96279
|
+
var srcvue_type_template_id_75840f3c_scoped_true_staticRenderFns = []
|
|
96263
96280
|
|
|
96264
96281
|
|
|
96265
|
-
// CONCATENATED MODULE: ./src/components/maps/ryLines/src/index.vue?vue&type=template&id=
|
|
96282
|
+
// CONCATENATED MODULE: ./src/components/maps/ryLines/src/index.vue?vue&type=template&id=75840f3c&scoped=true&
|
|
96266
96283
|
|
|
96267
96284
|
// CONCATENATED MODULE: ./src/components/maps/models/ryLines/ryLines.js
|
|
96268
96285
|
|
|
@@ -96291,6 +96308,11 @@ class ryLines_LineDto extends base_Base {
|
|
|
96291
96308
|
default: true
|
|
96292
96309
|
});
|
|
96293
96310
|
|
|
96311
|
+
_defineProperty(this, "isShowPlayback", {
|
|
96312
|
+
type: Boolean,
|
|
96313
|
+
default: false
|
|
96314
|
+
});
|
|
96315
|
+
|
|
96294
96316
|
_defineProperty(this, "lineAppend", {
|
|
96295
96317
|
type: Array,
|
|
96296
96318
|
default: () => []
|
|
@@ -96332,6 +96354,32 @@ class ryLines_LineDto extends base_Base {
|
|
|
96332
96354
|
//
|
|
96333
96355
|
//
|
|
96334
96356
|
//
|
|
96357
|
+
//
|
|
96358
|
+
//
|
|
96359
|
+
//
|
|
96360
|
+
//
|
|
96361
|
+
//
|
|
96362
|
+
//
|
|
96363
|
+
//
|
|
96364
|
+
//
|
|
96365
|
+
//
|
|
96366
|
+
//
|
|
96367
|
+
//
|
|
96368
|
+
//
|
|
96369
|
+
//
|
|
96370
|
+
//
|
|
96371
|
+
//
|
|
96372
|
+
//
|
|
96373
|
+
//
|
|
96374
|
+
//
|
|
96375
|
+
//
|
|
96376
|
+
//
|
|
96377
|
+
//
|
|
96378
|
+
//
|
|
96379
|
+
//
|
|
96380
|
+
//
|
|
96381
|
+
//
|
|
96382
|
+
//
|
|
96335
96383
|
|
|
96336
96384
|
|
|
96337
96385
|
/* harmony default export */ var ryLines_srcvue_type_script_lang_js_ = ({
|
|
@@ -96353,26 +96401,49 @@ class ryLines_LineDto extends base_Base {
|
|
|
96353
96401
|
pineArr: [],
|
|
96354
96402
|
lastLineX: 0,
|
|
96355
96403
|
lastLineY: 0,
|
|
96356
|
-
|
|
96357
|
-
|
|
96404
|
+
lastLineX2: 0,
|
|
96405
|
+
lastLineY2: 0,
|
|
96406
|
+
cacheArr: new Array(),
|
|
96407
|
+
cacheModelArr: new Map(),
|
|
96408
|
+
cacheColors: new Map(),
|
|
96409
|
+
cacheLenArr: new Array(),
|
|
96410
|
+
cacheLines: new Array(),
|
|
96411
|
+
cacheLineMaps: new Map(),
|
|
96412
|
+
cacheScales: new Array(),
|
|
96358
96413
|
isFist: true,
|
|
96359
96414
|
lastColor: null,
|
|
96360
|
-
|
|
96415
|
+
len: 0,
|
|
96416
|
+
am: new ry_map["AM"](),
|
|
96417
|
+
index: 0,
|
|
96418
|
+
intervalId: null,
|
|
96419
|
+
selectActive: [false, true, false, false],
|
|
96420
|
+
marks: {},
|
|
96421
|
+
marks2: {},
|
|
96422
|
+
// 轨迹回放
|
|
96423
|
+
isPlayback: false,
|
|
96424
|
+
// 暂停轨迹回放
|
|
96425
|
+
isStop: false,
|
|
96426
|
+
playSpeed: 100
|
|
96361
96427
|
};
|
|
96362
96428
|
},
|
|
96363
96429
|
|
|
96364
96430
|
watch: {
|
|
96365
96431
|
model(val) {
|
|
96366
96432
|
this.init();
|
|
96433
|
+
if (!val) return;
|
|
96434
|
+
this.insertCache(val.pointArr);
|
|
96367
96435
|
},
|
|
96368
96436
|
|
|
96369
96437
|
linenIsert(val) {
|
|
96370
96438
|
if (!this.map || !val) return;
|
|
96439
|
+
this.insertCache(val);
|
|
96371
96440
|
|
|
96372
96441
|
this._insertLineAndMarker(val);
|
|
96373
96442
|
},
|
|
96374
96443
|
|
|
96375
|
-
gpsType(val) {
|
|
96444
|
+
gpsType(val) {
|
|
96445
|
+
this.selectGPSAll(val);
|
|
96446
|
+
},
|
|
96376
96447
|
|
|
96377
96448
|
clearLiens(val) {
|
|
96378
96449
|
if (val) {
|
|
@@ -96385,7 +96456,33 @@ class ryLines_LineDto extends base_Base {
|
|
|
96385
96456
|
this.appendCoordinate(val);
|
|
96386
96457
|
this.setMarkerPoint(this.endMarker, val);
|
|
96387
96458
|
}
|
|
96388
|
-
}
|
|
96459
|
+
},
|
|
96460
|
+
|
|
96461
|
+
isShowPlayback(val) {
|
|
96462
|
+
if (!val) {
|
|
96463
|
+
this.endPlaybackLines();
|
|
96464
|
+
this.index = 0;
|
|
96465
|
+
this.resetPyalPanel();
|
|
96466
|
+
return;
|
|
96467
|
+
}
|
|
96468
|
+
|
|
96469
|
+
delete this.marks2[this.len];
|
|
96470
|
+
this.marks = this.marks2;
|
|
96471
|
+
} // isPlayback(val){
|
|
96472
|
+
// if(val){
|
|
96473
|
+
// this.trackPlayback();
|
|
96474
|
+
// return;
|
|
96475
|
+
// }
|
|
96476
|
+
// this.endPlaybackLines();
|
|
96477
|
+
// },
|
|
96478
|
+
// isStop(val){
|
|
96479
|
+
// if(val){
|
|
96480
|
+
// this._clearInterval();
|
|
96481
|
+
// return;
|
|
96482
|
+
// }
|
|
96483
|
+
// this.trackPlayback();
|
|
96484
|
+
// },
|
|
96485
|
+
|
|
96389
96486
|
|
|
96390
96487
|
},
|
|
96391
96488
|
|
|
@@ -96397,14 +96494,41 @@ class ryLines_LineDto extends base_Base {
|
|
|
96397
96494
|
init() {
|
|
96398
96495
|
if (!this.map) return;
|
|
96399
96496
|
this.clearLine();
|
|
96400
|
-
if (!this.model) return;
|
|
96497
|
+
if (!this.model && !this.linenIsert) return;
|
|
96401
96498
|
this.lastType = this.gpsType;
|
|
96402
96499
|
|
|
96403
|
-
|
|
96500
|
+
if (this.model) {
|
|
96501
|
+
this.insertCache(this.model);
|
|
96502
|
+
|
|
96503
|
+
this._insertLineAndMarker(this.model);
|
|
96504
|
+
}
|
|
96505
|
+
|
|
96506
|
+
if (this.linenIsert) {
|
|
96507
|
+
this.insertCache(this.linenIsert);
|
|
96508
|
+
|
|
96509
|
+
this._insertLineAndMarker(this.linenIsert);
|
|
96510
|
+
}
|
|
96511
|
+
},
|
|
96512
|
+
|
|
96513
|
+
insertCache(model) {
|
|
96514
|
+
if (model) {
|
|
96515
|
+
const {
|
|
96516
|
+
playbackColor,
|
|
96517
|
+
pointArr
|
|
96518
|
+
} = model;
|
|
96519
|
+
const len = pointArr.length;
|
|
96520
|
+
if (!pointArr.length) return;
|
|
96521
|
+
this.len += len;
|
|
96522
|
+
this.cacheArr.push(...model.pointArr);
|
|
96523
|
+
this.cacheColors.set(this.len, playbackColor);
|
|
96524
|
+
this.cacheLenArr.push(len);
|
|
96525
|
+
this.marks2[this.len] = '';
|
|
96526
|
+
this.cacheScales.push(this.len);
|
|
96527
|
+
this.cacheModelArr.set(this.len, model);
|
|
96528
|
+
}
|
|
96404
96529
|
},
|
|
96405
96530
|
|
|
96406
96531
|
_insertLineAndMarker(val) {
|
|
96407
|
-
const color = val.color;
|
|
96408
96532
|
const arr = val.pointArr;
|
|
96409
96533
|
|
|
96410
96534
|
if (this.isLineFit) {
|
|
@@ -96413,13 +96537,18 @@ class ryLines_LineDto extends base_Base {
|
|
|
96413
96537
|
|
|
96414
96538
|
this.initMarker(arr[0]);
|
|
96415
96539
|
|
|
96416
|
-
if (!val.isAppend
|
|
96417
|
-
this._insertPoint(val);
|
|
96540
|
+
if (!val.isAppend) {
|
|
96541
|
+
this._insertPoint(val, [this.lastLineX, this.lastLineY]);
|
|
96418
96542
|
|
|
96419
96543
|
const line = this.createPolyline(val);
|
|
96420
96544
|
const len = arr.length - 1;
|
|
96421
96545
|
this.setMarkerPoint(this.endMarker, arr[len]);
|
|
96422
|
-
|
|
96546
|
+
const {
|
|
96547
|
+
x,
|
|
96548
|
+
y
|
|
96549
|
+
} = this.restLastData(arr);
|
|
96550
|
+
this.lastLineX = x;
|
|
96551
|
+
this.lastLineY = y;
|
|
96423
96552
|
this.pineArr.push(line);
|
|
96424
96553
|
return;
|
|
96425
96554
|
}
|
|
@@ -96432,6 +96561,21 @@ class ryLines_LineDto extends base_Base {
|
|
|
96432
96561
|
this.restLastData(arr);
|
|
96433
96562
|
},
|
|
96434
96563
|
|
|
96564
|
+
_insertLineAndMarker2(val) {
|
|
96565
|
+
this._insertPoint(val, [this.lastLineX2, this.lastLineY2]);
|
|
96566
|
+
|
|
96567
|
+
const arr = val.pointArr;
|
|
96568
|
+
const line = this.createPolyline(val);
|
|
96569
|
+
const {
|
|
96570
|
+
x,
|
|
96571
|
+
y
|
|
96572
|
+
} = this.restLastData(arr);
|
|
96573
|
+
this.lastLineX2 = x;
|
|
96574
|
+
this.lastLineY2 = y;
|
|
96575
|
+
this.cacheLines.push(line);
|
|
96576
|
+
return;
|
|
96577
|
+
},
|
|
96578
|
+
|
|
96435
96579
|
async calculateLineBBOX(arr) {
|
|
96436
96580
|
return await new Promise(r => {
|
|
96437
96581
|
arr.forEach(r => {
|
|
@@ -96440,7 +96584,14 @@ class ryLines_LineDto extends base_Base {
|
|
|
96440
96584
|
Y: r[1]
|
|
96441
96585
|
});
|
|
96442
96586
|
});
|
|
96443
|
-
|
|
96587
|
+
let amGpsArr = [];
|
|
96588
|
+
|
|
96589
|
+
if (this.gpsType) {
|
|
96590
|
+
amGpsArr = this.am.getLngLatGCJ02();
|
|
96591
|
+
} else {
|
|
96592
|
+
amGpsArr = this.am.getLngLats();
|
|
96593
|
+
}
|
|
96594
|
+
|
|
96444
96595
|
Object(ry_map["fitNew"])(this.map, [[amGpsArr[0], amGpsArr[1]], [amGpsArr[2], amGpsArr[3]]]);
|
|
96445
96596
|
r();
|
|
96446
96597
|
});
|
|
@@ -96464,14 +96615,18 @@ class ryLines_LineDto extends base_Base {
|
|
|
96464
96615
|
restLastData(arr) {
|
|
96465
96616
|
if (arr.length > 0) {
|
|
96466
96617
|
const [x, y] = arr[arr.length - 1];
|
|
96467
|
-
|
|
96468
|
-
|
|
96618
|
+
return {
|
|
96619
|
+
x,
|
|
96620
|
+
y
|
|
96621
|
+
};
|
|
96469
96622
|
}
|
|
96470
96623
|
},
|
|
96471
96624
|
|
|
96472
|
-
_insertPoint(val) {
|
|
96473
|
-
|
|
96474
|
-
|
|
96625
|
+
_insertPoint(val, points) {
|
|
96626
|
+
const [x, y] = points;
|
|
96627
|
+
|
|
96628
|
+
if (x > 0 && y > 0 && val) {
|
|
96629
|
+
val.pointArr.unshift(points);
|
|
96475
96630
|
}
|
|
96476
96631
|
},
|
|
96477
96632
|
|
|
@@ -96479,7 +96634,7 @@ class ryLines_LineDto extends base_Base {
|
|
|
96479
96634
|
color: 'rgb(0,0,255)',
|
|
96480
96635
|
width: 2,
|
|
96481
96636
|
pointArr: [],
|
|
96482
|
-
zIndex:
|
|
96637
|
+
zIndex: 1
|
|
96483
96638
|
}) {
|
|
96484
96639
|
return new ry_map["Polyline"]({ ...polylineModel,
|
|
96485
96640
|
type: this.gpsType
|
|
@@ -96543,14 +96698,143 @@ class ryLines_LineDto extends base_Base {
|
|
|
96543
96698
|
},
|
|
96544
96699
|
|
|
96545
96700
|
clearLine() {
|
|
96701
|
+
this.resetPyalPanel();
|
|
96546
96702
|
this.removeLines();
|
|
96547
96703
|
this.removeLineMarker();
|
|
96548
|
-
this.
|
|
96704
|
+
this.cacheArr = [];
|
|
96549
96705
|
this.lastColor = null;
|
|
96550
96706
|
this.lastLineX = 0;
|
|
96551
96707
|
this.lastLineY = 0;
|
|
96552
96708
|
this.am = null;
|
|
96553
96709
|
this.am = new ry_map["AM"]();
|
|
96710
|
+
this.marks = {};
|
|
96711
|
+
this.marks2 = {};
|
|
96712
|
+
|
|
96713
|
+
this._clearInterval();
|
|
96714
|
+
|
|
96715
|
+
this.clearCacheLines();
|
|
96716
|
+
},
|
|
96717
|
+
|
|
96718
|
+
_clearInterval() {
|
|
96719
|
+
if (this.intervalId) {
|
|
96720
|
+
clearInterval(this.intervalId);
|
|
96721
|
+
}
|
|
96722
|
+
},
|
|
96723
|
+
|
|
96724
|
+
clearCacheLines() {
|
|
96725
|
+
this.endPlaybackLines();
|
|
96726
|
+
this.cacheLenArr = [];
|
|
96727
|
+
this.cacheArr = [];
|
|
96728
|
+
this.cacheColors.clear();
|
|
96729
|
+
this.cacheModelArr.clear();
|
|
96730
|
+
this.len = 0;
|
|
96731
|
+
this.cacheScales = [];
|
|
96732
|
+
this.index = 0;
|
|
96733
|
+
},
|
|
96734
|
+
|
|
96735
|
+
endPlaybackLines() {
|
|
96736
|
+
this._clearInterval();
|
|
96737
|
+
|
|
96738
|
+
this.cacheLines.forEach(r => {
|
|
96739
|
+
r.removePolyline();
|
|
96740
|
+
});
|
|
96741
|
+
|
|
96742
|
+
if (this.moveMarker) {
|
|
96743
|
+
this.map.removeOverlay(this.moveMarker.getMarker());
|
|
96744
|
+
}
|
|
96745
|
+
|
|
96746
|
+
this.isPlayback = false;
|
|
96747
|
+
this.isStop = false;
|
|
96748
|
+
this.cacheLines = [];
|
|
96749
|
+
this.cacheLineMaps.clear();
|
|
96750
|
+
this.moveMarker = null; // this.index = 0;
|
|
96751
|
+
// this.lastColor = null;
|
|
96752
|
+
|
|
96753
|
+
this.lastLineX2 = 0;
|
|
96754
|
+
this.lastLineY2 = 0;
|
|
96755
|
+
},
|
|
96756
|
+
|
|
96757
|
+
stopPlaybackLines(val) {
|
|
96758
|
+
this.isPlayback = false;
|
|
96759
|
+
this.isStop = false;
|
|
96760
|
+
|
|
96761
|
+
if (val) {
|
|
96762
|
+
this._clearInterval();
|
|
96763
|
+
|
|
96764
|
+
return;
|
|
96765
|
+
}
|
|
96766
|
+
|
|
96767
|
+
this.trackPlayback();
|
|
96768
|
+
},
|
|
96769
|
+
|
|
96770
|
+
createTrackLineAndMarker(index = 0, index2 = 0) {
|
|
96771
|
+
const key = index;
|
|
96772
|
+
const {
|
|
96773
|
+
playbackColor,
|
|
96774
|
+
width,
|
|
96775
|
+
zIndex
|
|
96776
|
+
} = this.cacheModelArr.get(key);
|
|
96777
|
+
const line = this.createPolyline({
|
|
96778
|
+
color: playbackColor,
|
|
96779
|
+
isAppend: false,
|
|
96780
|
+
width,
|
|
96781
|
+
pointArr: [],
|
|
96782
|
+
zIndex
|
|
96783
|
+
}, this.gpsType);
|
|
96784
|
+
this.lastColor = playbackColor;
|
|
96785
|
+
this.cacheLines.push(line);
|
|
96786
|
+
|
|
96787
|
+
if (this.moveMarkerDto && !this.moveMarker) {
|
|
96788
|
+
this.moveMarker = this.createStartMarker(this.moveMarkerDto, this.cacheArr[index2]);
|
|
96789
|
+
}
|
|
96790
|
+
},
|
|
96791
|
+
|
|
96792
|
+
trackPlayback() {
|
|
96793
|
+
if (!this.cacheLines.length) {
|
|
96794
|
+
this.createTrackLineAndMarker(this.cacheScales[0], 0);
|
|
96795
|
+
}
|
|
96796
|
+
|
|
96797
|
+
this.intervalId = setInterval(r => {
|
|
96798
|
+
if (this.index >= this.len || !this.isPlayback) {
|
|
96799
|
+
this._clearInterval();
|
|
96800
|
+
|
|
96801
|
+
this.index = 0;
|
|
96802
|
+
this.isStop = false;
|
|
96803
|
+
this.$emit('trackPlayEvent', {
|
|
96804
|
+
index: this.index,
|
|
96805
|
+
points: []
|
|
96806
|
+
});
|
|
96807
|
+
return;
|
|
96808
|
+
}
|
|
96809
|
+
|
|
96810
|
+
const key = this.getKey(this.index);
|
|
96811
|
+
|
|
96812
|
+
if (this.cacheColors.has(key) && !this.cacheLineMaps.has(key)) {
|
|
96813
|
+
if (!this.cacheLineMaps.has(key)) {
|
|
96814
|
+
this.createTrackLineAndMarker(key, this.index);
|
|
96815
|
+
const line = this.cacheLines[this.cacheLines.length - 1];
|
|
96816
|
+
this.cacheLineMaps.set(key, line);
|
|
96817
|
+
|
|
96818
|
+
const _index = this.index - 1 == -1 ? 0 : this.index - 1;
|
|
96819
|
+
|
|
96820
|
+
line.appendCoordinate(this.cacheArr[_index], this.gpsType);
|
|
96821
|
+
this.$emit('trackPlayEvent', {
|
|
96822
|
+
index: this.index,
|
|
96823
|
+
points: this.cacheArr[_index]
|
|
96824
|
+
});
|
|
96825
|
+
}
|
|
96826
|
+
}
|
|
96827
|
+
|
|
96828
|
+
const line = this.cacheLines[this.cacheLines.length - 1];
|
|
96829
|
+
const points = this.cacheArr[this.index];
|
|
96830
|
+
this.setMarkerPoint(this.moveMarker, points);
|
|
96831
|
+
line.appendCoordinate(points, this.gpsType);
|
|
96832
|
+
this.$emit('trackPlayEvent', {
|
|
96833
|
+
index: this.index,
|
|
96834
|
+
points
|
|
96835
|
+
});
|
|
96836
|
+
this.index += 1;
|
|
96837
|
+
}, this.playSpeed);
|
|
96554
96838
|
},
|
|
96555
96839
|
|
|
96556
96840
|
appendCoordinate(coordinate = []) {
|
|
@@ -96565,30 +96849,190 @@ class ryLines_LineDto extends base_Base {
|
|
|
96565
96849
|
|
|
96566
96850
|
;
|
|
96567
96851
|
const line = this.pineArr[this.pineArr.length - 1];
|
|
96568
|
-
line.appendCoordinate(coordinate);
|
|
96852
|
+
line.appendCoordinate(coordinate, this.gpsType);
|
|
96853
|
+
},
|
|
96854
|
+
|
|
96855
|
+
formatTooltip(val) {
|
|
96856
|
+
return val / 100;
|
|
96569
96857
|
},
|
|
96570
96858
|
|
|
96571
|
-
|
|
96859
|
+
getKeys(val) {
|
|
96860
|
+
const arr = [];
|
|
96861
|
+
|
|
96862
|
+
for (let i = 0; i < this.cacheScales.length; i++) {
|
|
96863
|
+
if (val >= this.cacheScales[i]) {
|
|
96864
|
+
arr.push(this.cacheScales[i]);
|
|
96865
|
+
continue;
|
|
96866
|
+
}
|
|
96867
|
+
|
|
96868
|
+
arr.push(this.cacheScales[i]);
|
|
96869
|
+
break;
|
|
96870
|
+
}
|
|
96871
|
+
|
|
96872
|
+
return arr;
|
|
96873
|
+
},
|
|
96874
|
+
|
|
96875
|
+
getKey(val) {
|
|
96876
|
+
for (let i = 0; i < this.cacheScales.length; i++) {
|
|
96877
|
+
const key = this.cacheScales[i];
|
|
96878
|
+
|
|
96879
|
+
if (val <= key) {
|
|
96880
|
+
return key;
|
|
96881
|
+
}
|
|
96882
|
+
}
|
|
96883
|
+
|
|
96884
|
+
return 0;
|
|
96885
|
+
},
|
|
96886
|
+
|
|
96887
|
+
createLineModels(keys, points, step) {
|
|
96888
|
+
const arr = [];
|
|
96889
|
+
const _points = [...points];
|
|
96890
|
+
|
|
96891
|
+
if (keys.length <= 1) {
|
|
96892
|
+
const key = keys[0];
|
|
96893
|
+
const {
|
|
96894
|
+
width,
|
|
96895
|
+
zIndex
|
|
96896
|
+
} = this.cacheModelArr.get(key);
|
|
96897
|
+
arr.push({
|
|
96898
|
+
isAppend: false,
|
|
96899
|
+
color: this.cacheColors.get(key),
|
|
96900
|
+
width,
|
|
96901
|
+
zIndex,
|
|
96902
|
+
pointArr: _points.splice(0, step)
|
|
96903
|
+
});
|
|
96904
|
+
return arr;
|
|
96905
|
+
}
|
|
96906
|
+
|
|
96907
|
+
for (let i = 0; i < keys.length; i++) {
|
|
96908
|
+
const key = keys[i];
|
|
96909
|
+
const {
|
|
96910
|
+
width,
|
|
96911
|
+
zIndex
|
|
96912
|
+
} = this.cacheModelArr.get(key);
|
|
96913
|
+
|
|
96914
|
+
const pointArr = _points.splice(0, this.cacheLenArr[i]);
|
|
96915
|
+
|
|
96916
|
+
if (pointArr.length) {
|
|
96917
|
+
const model = {
|
|
96918
|
+
color: this.cacheColors.get(key),
|
|
96919
|
+
width,
|
|
96920
|
+
zIndex,
|
|
96921
|
+
pointArr
|
|
96922
|
+
};
|
|
96923
|
+
arr.push(model); // if( i > 1 &&i <keys.length-1){
|
|
96924
|
+
// // console.log(points[key-1]);
|
|
96925
|
+
// this._insertPoint(model,points[key-1]);
|
|
96926
|
+
// }
|
|
96927
|
+
}
|
|
96928
|
+
}
|
|
96929
|
+
|
|
96930
|
+
return arr;
|
|
96931
|
+
},
|
|
96932
|
+
|
|
96933
|
+
sliderChange(val) {
|
|
96934
|
+
this.endPlaybackLines();
|
|
96935
|
+
|
|
96936
|
+
if (val === 0) {
|
|
96937
|
+
this.$emit('trackPlayEvent', {
|
|
96938
|
+
index: val,
|
|
96939
|
+
points: []
|
|
96940
|
+
});
|
|
96941
|
+
return;
|
|
96942
|
+
}
|
|
96943
|
+
|
|
96944
|
+
const points = this.cacheArr.slice(0, val);
|
|
96945
|
+
const arr = this.createLineModels(this.getKeys(val), points, val);
|
|
96946
|
+
arr.forEach(r => this._insertLineAndMarker2(r, false));
|
|
96947
|
+
|
|
96948
|
+
if (points.length) {
|
|
96949
|
+
this.$emit('trackPlayEvent', {
|
|
96950
|
+
index: val,
|
|
96951
|
+
points: points[points.length - 1]
|
|
96952
|
+
});
|
|
96953
|
+
}
|
|
96954
|
+
|
|
96955
|
+
if (this.moveMarkerDto && !this.moveMarker && points.length) {
|
|
96956
|
+
this.moveMarker = this.createStartMarker(this.moveMarkerDto, points[points.length - 1]);
|
|
96957
|
+
return;
|
|
96958
|
+
}
|
|
96959
|
+
},
|
|
96960
|
+
|
|
96961
|
+
onPlayTrajectory() {
|
|
96962
|
+
if (!this.isStop) {
|
|
96963
|
+
if (this.index == 0) {
|
|
96964
|
+
this.endPlaybackLines();
|
|
96965
|
+
}
|
|
96966
|
+
}
|
|
96967
|
+
|
|
96968
|
+
this.isPlayback = true;
|
|
96969
|
+
this.isStop = true;
|
|
96970
|
+
this.trackPlayback();
|
|
96971
|
+
},
|
|
96972
|
+
|
|
96973
|
+
onStopTrajectory() {
|
|
96974
|
+
this.isStop = false;
|
|
96975
|
+
|
|
96976
|
+
this._clearInterval();
|
|
96977
|
+
},
|
|
96978
|
+
|
|
96979
|
+
onPlaySpeed(key, val) {
|
|
96980
|
+
this.selectActive = this.selectActive.map(v => v = false);
|
|
96981
|
+
this.selectActive[key] = true;
|
|
96982
|
+
this.playSpeed = val;
|
|
96983
|
+
this.isStop = false;
|
|
96984
|
+
|
|
96985
|
+
this._clearInterval();
|
|
96986
|
+
},
|
|
96987
|
+
|
|
96988
|
+
resetPyalPanel() {
|
|
96989
|
+
this.selectActive = [false, true, false, false, false];
|
|
96990
|
+
this.playSpeed = 100;
|
|
96991
|
+
},
|
|
96992
|
+
|
|
96993
|
+
selectGPSAll(type) {
|
|
96994
|
+
this.pineArr.forEach(r => {
|
|
96995
|
+
r.selectGPS(type);
|
|
96996
|
+
});
|
|
96997
|
+
this.endPlaybackLines();
|
|
96998
|
+
this.index = 0;
|
|
96999
|
+
|
|
97000
|
+
if (this.startMarker) {
|
|
97001
|
+
this.startMarker.selectGPS(type);
|
|
97002
|
+
}
|
|
97003
|
+
|
|
97004
|
+
if (this.endMarker) {
|
|
97005
|
+
this.endMarker.selectGPS(type);
|
|
97006
|
+
}
|
|
97007
|
+
|
|
97008
|
+
if (this.moveMarker) {
|
|
97009
|
+
this.moveMarker.selectGPS(type);
|
|
97010
|
+
}
|
|
97011
|
+
}
|
|
96572
97012
|
|
|
96573
97013
|
}
|
|
96574
97014
|
});
|
|
96575
97015
|
// CONCATENATED MODULE: ./src/components/maps/ryLines/src/index.vue?vue&type=script&lang=js&
|
|
96576
97016
|
/* harmony default export */ var maps_ryLines_srcvue_type_script_lang_js_ = (ryLines_srcvue_type_script_lang_js_);
|
|
97017
|
+
// EXTERNAL MODULE: ./src/components/maps/ryLines/src/index.vue?vue&type=style&index=0&id=75840f3c&prod&lang=scss&scoped=true&
|
|
97018
|
+
var srcvue_type_style_index_0_id_75840f3c_prod_lang_scss_scoped_true_ = __webpack_require__("3391");
|
|
97019
|
+
|
|
96577
97020
|
// CONCATENATED MODULE: ./src/components/maps/ryLines/src/index.vue
|
|
96578
97021
|
|
|
96579
97022
|
|
|
96580
97023
|
|
|
96581
97024
|
|
|
96582
97025
|
|
|
97026
|
+
|
|
96583
97027
|
/* normalize component */
|
|
96584
97028
|
|
|
96585
97029
|
var ryLines_src_component = normalizeComponent(
|
|
96586
97030
|
maps_ryLines_srcvue_type_script_lang_js_,
|
|
96587
|
-
|
|
96588
|
-
|
|
97031
|
+
srcvue_type_template_id_75840f3c_scoped_true_render,
|
|
97032
|
+
srcvue_type_template_id_75840f3c_scoped_true_staticRenderFns,
|
|
96589
97033
|
false,
|
|
96590
97034
|
null,
|
|
96591
|
-
|
|
97035
|
+
"75840f3c",
|
|
96592
97036
|
null
|
|
96593
97037
|
|
|
96594
97038
|
)
|
|
@@ -96602,7 +97046,7 @@ ryLines_src.install = Vue => {
|
|
|
96602
97046
|
};
|
|
96603
97047
|
|
|
96604
97048
|
/* harmony default export */ var ryLines = (ryLines_src);
|
|
96605
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
97049
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryStaticMap/src/index.vue?vue&type=template&id=a77ac42c&scoped=true&
|
|
96606
97050
|
var srcvue_type_template_id_a77ac42c_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"map-box"},[_c('div',{directives:[{name:"lmap",rawName:"v-lmap:loadMap",arg:"loadMap"}],staticClass:"map-style"}),(_vm.lMap.map && _vm.isRyMapTool)?_c('RyMapTool',{staticClass:"ry-map-tool",class:{
|
|
96607
97051
|
'left':!_vm.isRight,
|
|
96608
97052
|
'right':_vm.isRight
|
|
@@ -96969,7 +97413,7 @@ ryStaticMap_src.install = Vue => {
|
|
|
96969
97413
|
};
|
|
96970
97414
|
|
|
96971
97415
|
/* harmony default export */ var ryStaticMap = (ryStaticMap_src);
|
|
96972
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
97416
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryOfflineMap/src/index.vue?vue&type=template&id=110d9690&scoped=true&
|
|
96973
97417
|
var srcvue_type_template_id_110d9690_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"map-box"},[_c('div',{directives:[{name:"lmap",rawName:"v-lmap:loadMap",arg:"loadMap"}],staticClass:"map-style"}),(_vm.lMap.map && _vm.isRyMapTool)?_c('RyMapTool',{staticClass:"ry-map-tool",class:{
|
|
96974
97418
|
'left':!_vm.isRight,
|
|
96975
97419
|
'right':_vm.isRight
|
|
@@ -97463,7 +97907,7 @@ ryOfflineMap_src.install = Vue => {
|
|
|
97463
97907
|
};
|
|
97464
97908
|
|
|
97465
97909
|
/* harmony default export */ var ryOfflineMap = (ryOfflineMap_src);
|
|
97466
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
97910
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryKMLs/src/index.vue?vue&type=template&id=8e9d4f6e&
|
|
97467
97911
|
var srcvue_type_template_id_8e9d4f6e_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
97468
97912
|
var srcvue_type_template_id_8e9d4f6e_staticRenderFns = []
|
|
97469
97913
|
|
|
@@ -97776,7 +98220,7 @@ ryKMLs_src.install = Vue => {
|
|
|
97776
98220
|
};
|
|
97777
98221
|
|
|
97778
98222
|
/* harmony default export */ var ryKMLs = (ryKMLs_src);
|
|
97779
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
98223
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryKML/src/index.vue?vue&type=template&id=07fa85f6&
|
|
97780
98224
|
var srcvue_type_template_id_07fa85f6_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
97781
98225
|
var srcvue_type_template_id_07fa85f6_staticRenderFns = []
|
|
97782
98226
|
|
|
@@ -98018,6 +98462,546 @@ ryKML_src.install = Vue => {
|
|
|
98018
98462
|
};
|
|
98019
98463
|
|
|
98020
98464
|
/* harmony default export */ var ryKML = (ryKML_src);
|
|
98465
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryStaticLayers/src/index.vue?vue&type=template&id=3270a70a&
|
|
98466
|
+
var srcvue_type_template_id_3270a70a_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
98467
|
+
var srcvue_type_template_id_3270a70a_staticRenderFns = []
|
|
98468
|
+
|
|
98469
|
+
|
|
98470
|
+
// CONCATENATED MODULE: ./src/components/maps/ryStaticLayers/src/index.vue?vue&type=template&id=3270a70a&
|
|
98471
|
+
|
|
98472
|
+
// CONCATENATED MODULE: ./src/components/maps/models/ryStaticLayers/index.js
|
|
98473
|
+
|
|
98474
|
+
|
|
98475
|
+
class ryStaticLayers_RyKMLDto extends base_Base {
|
|
98476
|
+
constructor(...args) {
|
|
98477
|
+
super(...args);
|
|
98478
|
+
|
|
98479
|
+
_defineProperty(this, "modelArr", {
|
|
98480
|
+
type: Array,
|
|
98481
|
+
default: () => []
|
|
98482
|
+
});
|
|
98483
|
+
|
|
98484
|
+
_defineProperty(this, "insert", {
|
|
98485
|
+
type: Object,
|
|
98486
|
+
default: () => null
|
|
98487
|
+
});
|
|
98488
|
+
|
|
98489
|
+
_defineProperty(this, "inserts", {
|
|
98490
|
+
type: Array,
|
|
98491
|
+
default: () => []
|
|
98492
|
+
});
|
|
98493
|
+
|
|
98494
|
+
_defineProperty(this, "isShowAll", {
|
|
98495
|
+
type: Boolean,
|
|
98496
|
+
default: true
|
|
98497
|
+
});
|
|
98498
|
+
|
|
98499
|
+
_defineProperty(this, "isShow", {
|
|
98500
|
+
type: Object,
|
|
98501
|
+
default: () => null
|
|
98502
|
+
});
|
|
98503
|
+
|
|
98504
|
+
_defineProperty(this, "clear", {
|
|
98505
|
+
type: Boolean,
|
|
98506
|
+
default: false
|
|
98507
|
+
});
|
|
98508
|
+
|
|
98509
|
+
_defineProperty(this, "isFit", {
|
|
98510
|
+
type: Boolean,
|
|
98511
|
+
default: true
|
|
98512
|
+
});
|
|
98513
|
+
}
|
|
98514
|
+
|
|
98515
|
+
}
|
|
98516
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryStaticLayers/src/index.vue?vue&type=script&lang=js&
|
|
98517
|
+
//
|
|
98518
|
+
//
|
|
98519
|
+
//
|
|
98520
|
+
|
|
98521
|
+
|
|
98522
|
+
/* harmony default export */ var ryStaticLayers_srcvue_type_script_lang_js_ = ({
|
|
98523
|
+
name: 'RyStaticLayers',
|
|
98524
|
+
props: { ...new ryStaticLayers_RyKMLDto()
|
|
98525
|
+
},
|
|
98526
|
+
|
|
98527
|
+
data() {
|
|
98528
|
+
return {
|
|
98529
|
+
bbox: [],
|
|
98530
|
+
bboxMap: new Map(),
|
|
98531
|
+
bboxGCJ02: [],
|
|
98532
|
+
bboxMapGCJ02: new Map(),
|
|
98533
|
+
staticMap: new Map(),
|
|
98534
|
+
isCreate: true,
|
|
98535
|
+
lastType: -1
|
|
98536
|
+
};
|
|
98537
|
+
},
|
|
98538
|
+
|
|
98539
|
+
watch: {
|
|
98540
|
+
modelArr(val) {
|
|
98541
|
+
this._remove();
|
|
98542
|
+
|
|
98543
|
+
if (!val.length) return;
|
|
98544
|
+
this.modelArr = val;
|
|
98545
|
+
this.init(val);
|
|
98546
|
+
},
|
|
98547
|
+
|
|
98548
|
+
gpsType(val) {
|
|
98549
|
+
if (this.lastType == val) return;
|
|
98550
|
+
this.gpsType = val;
|
|
98551
|
+
this.lastType = val;
|
|
98552
|
+
this.selectGPSAll(this.gpsType);
|
|
98553
|
+
},
|
|
98554
|
+
|
|
98555
|
+
insert(val) {
|
|
98556
|
+
this.insert = val;
|
|
98557
|
+
|
|
98558
|
+
this._insert(val);
|
|
98559
|
+
|
|
98560
|
+
if (this.isFit) {
|
|
98561
|
+
setTimeout(() => {
|
|
98562
|
+
this.setFit();
|
|
98563
|
+
}, 50);
|
|
98564
|
+
}
|
|
98565
|
+
},
|
|
98566
|
+
|
|
98567
|
+
inserts(val) {
|
|
98568
|
+
this.inserts = val;
|
|
98569
|
+
|
|
98570
|
+
this._inserts(val);
|
|
98571
|
+
},
|
|
98572
|
+
|
|
98573
|
+
clear(val) {
|
|
98574
|
+
if (val) {
|
|
98575
|
+
this._remove();
|
|
98576
|
+
}
|
|
98577
|
+
},
|
|
98578
|
+
|
|
98579
|
+
isShowAll(val) {
|
|
98580
|
+
if (val) {
|
|
98581
|
+
this.showAll();
|
|
98582
|
+
return;
|
|
98583
|
+
}
|
|
98584
|
+
|
|
98585
|
+
this.hideAll();
|
|
98586
|
+
},
|
|
98587
|
+
|
|
98588
|
+
isShow(val) {
|
|
98589
|
+
if (!val) return;
|
|
98590
|
+
|
|
98591
|
+
this._isShow(val);
|
|
98592
|
+
}
|
|
98593
|
+
|
|
98594
|
+
},
|
|
98595
|
+
|
|
98596
|
+
created() {
|
|
98597
|
+
this.lastType = this.gpsType;
|
|
98598
|
+
this.init(this.modelArr);
|
|
98599
|
+
},
|
|
98600
|
+
|
|
98601
|
+
methods: {
|
|
98602
|
+
init(arr) {
|
|
98603
|
+
// this._insert();
|
|
98604
|
+
if (!arr || !arr.length) return;
|
|
98605
|
+
arr.forEach(val => {
|
|
98606
|
+
this._insert(val);
|
|
98607
|
+
});
|
|
98608
|
+
|
|
98609
|
+
if (this.isFit) {
|
|
98610
|
+
setTimeout(() => {
|
|
98611
|
+
this.setFit();
|
|
98612
|
+
}, 50);
|
|
98613
|
+
}
|
|
98614
|
+
|
|
98615
|
+
;
|
|
98616
|
+
},
|
|
98617
|
+
|
|
98618
|
+
_inserts(arr) {
|
|
98619
|
+
this.lastType = this.gpsType;
|
|
98620
|
+
arr.forEach(val => {
|
|
98621
|
+
this._insert(val, false);
|
|
98622
|
+
});
|
|
98623
|
+
|
|
98624
|
+
if (this.isFit) {
|
|
98625
|
+
setTimeout(() => {
|
|
98626
|
+
this.setFit();
|
|
98627
|
+
}, 50);
|
|
98628
|
+
}
|
|
98629
|
+
},
|
|
98630
|
+
|
|
98631
|
+
_insert(dto) {
|
|
98632
|
+
const {
|
|
98633
|
+
id,
|
|
98634
|
+
url,
|
|
98635
|
+
bbox,
|
|
98636
|
+
zIndex
|
|
98637
|
+
} = dto;
|
|
98638
|
+
|
|
98639
|
+
if (!this.staticMap.has(id)) {
|
|
98640
|
+
const img = new ry_map["staticImage"]({
|
|
98641
|
+
id,
|
|
98642
|
+
url,
|
|
98643
|
+
imageExtent: bbox,
|
|
98644
|
+
zIndex,
|
|
98645
|
+
type: this.gpsType
|
|
98646
|
+
}, this.map);
|
|
98647
|
+
this.staticMap.set(id, img);
|
|
98648
|
+
}
|
|
98649
|
+
|
|
98650
|
+
this.setBBOXArr(dto.id, bbox);
|
|
98651
|
+
},
|
|
98652
|
+
|
|
98653
|
+
setBBOXArr(id, bbox) {
|
|
98654
|
+
if (!this.bboxMap.has(id)) {
|
|
98655
|
+
this.bbox.push(bbox);
|
|
98656
|
+
this.bboxMap.set(id, bbox);
|
|
98657
|
+
}
|
|
98658
|
+
|
|
98659
|
+
if (!this.bboxMapGCJ02.has(id)) {
|
|
98660
|
+
const _bboxGCJ02 = this.convertBBoxGCJ02(bbox);
|
|
98661
|
+
|
|
98662
|
+
this.bboxGCJ02.push(_bboxGCJ02);
|
|
98663
|
+
this.bboxMapGCJ02.set(id, _bboxGCJ02);
|
|
98664
|
+
}
|
|
98665
|
+
},
|
|
98666
|
+
|
|
98667
|
+
setFit() {
|
|
98668
|
+
if (!this.bbox.length || !this.map) return;
|
|
98669
|
+
|
|
98670
|
+
if (this.bbox.length > 1) {
|
|
98671
|
+
Object(ry_map["fitNew"])(this.map, this.gpsType == 1 ? this.bboxGCJ02 : this.bbox);
|
|
98672
|
+
return;
|
|
98673
|
+
}
|
|
98674
|
+
|
|
98675
|
+
this.setFitFist(this.gpsType == 1 ? this.bboxGCJ02[0] : this.bbox[0]);
|
|
98676
|
+
},
|
|
98677
|
+
|
|
98678
|
+
// bbox.length =1 执行此处
|
|
98679
|
+
setFitFist(bbox) {
|
|
98680
|
+
const bbox2 = [bbox[0], bbox[3], bbox[2], bbox[1]];
|
|
98681
|
+
const bbox3 = [bbox[2], bbox[1], bbox[0], bbox[3]];
|
|
98682
|
+
Object(ry_map["fitNew"])(this.map, [bbox2, bbox3]);
|
|
98683
|
+
},
|
|
98684
|
+
|
|
98685
|
+
convertBBoxGCJ02(bbox) {
|
|
98686
|
+
const pointArr = [];
|
|
98687
|
+
const {
|
|
98688
|
+
lat,
|
|
98689
|
+
lon
|
|
98690
|
+
} = ry_map["GPS"].gcj_encrypt(bbox[0], bbox[1]);
|
|
98691
|
+
const {
|
|
98692
|
+
lon: lon2,
|
|
98693
|
+
lat: lat2
|
|
98694
|
+
} = ry_map["GPS"].gcj_encrypt(bbox[2], bbox[3]);
|
|
98695
|
+
pointArr.push(lon);
|
|
98696
|
+
pointArr.push(lat);
|
|
98697
|
+
pointArr.push(lon2);
|
|
98698
|
+
pointArr.push(lat2);
|
|
98699
|
+
return pointArr;
|
|
98700
|
+
},
|
|
98701
|
+
|
|
98702
|
+
_remove() {
|
|
98703
|
+
this.staticMap.forEach(val => {
|
|
98704
|
+
val.removeImageLayer();
|
|
98705
|
+
val = null;
|
|
98706
|
+
});
|
|
98707
|
+
this.staticMap.clear();
|
|
98708
|
+
this.bboxMap.clear();
|
|
98709
|
+
this.bbox = [];
|
|
98710
|
+
this.bboxGCJ02 = [];
|
|
98711
|
+
this.bboxMapGCJ02.clear();
|
|
98712
|
+
},
|
|
98713
|
+
|
|
98714
|
+
selectGPSAll(type) {
|
|
98715
|
+
this.staticMap.forEach(val => {
|
|
98716
|
+
val.selectGPS(type);
|
|
98717
|
+
});
|
|
98718
|
+
},
|
|
98719
|
+
|
|
98720
|
+
showAll() {
|
|
98721
|
+
this.staticMap.forEach(val => val.show());
|
|
98722
|
+
|
|
98723
|
+
if (this.restFit) {
|
|
98724
|
+
this._restFit();
|
|
98725
|
+
}
|
|
98726
|
+
},
|
|
98727
|
+
|
|
98728
|
+
hideAll() {
|
|
98729
|
+
this.staticMap.forEach(val => val.hide());
|
|
98730
|
+
},
|
|
98731
|
+
|
|
98732
|
+
_isShow(val) {
|
|
98733
|
+
const id = val.id;
|
|
98734
|
+
|
|
98735
|
+
if (this.staticMap.has(id)) {
|
|
98736
|
+
const img = this.staticMap.get(id);
|
|
98737
|
+
|
|
98738
|
+
if (val.show) {
|
|
98739
|
+
img.show();
|
|
98740
|
+
return;
|
|
98741
|
+
}
|
|
98742
|
+
|
|
98743
|
+
img.hide();
|
|
98744
|
+
}
|
|
98745
|
+
}
|
|
98746
|
+
|
|
98747
|
+
}
|
|
98748
|
+
});
|
|
98749
|
+
// CONCATENATED MODULE: ./src/components/maps/ryStaticLayers/src/index.vue?vue&type=script&lang=js&
|
|
98750
|
+
/* harmony default export */ var maps_ryStaticLayers_srcvue_type_script_lang_js_ = (ryStaticLayers_srcvue_type_script_lang_js_);
|
|
98751
|
+
// CONCATENATED MODULE: ./src/components/maps/ryStaticLayers/src/index.vue
|
|
98752
|
+
|
|
98753
|
+
|
|
98754
|
+
|
|
98755
|
+
|
|
98756
|
+
|
|
98757
|
+
/* normalize component */
|
|
98758
|
+
|
|
98759
|
+
var ryStaticLayers_src_component = normalizeComponent(
|
|
98760
|
+
maps_ryStaticLayers_srcvue_type_script_lang_js_,
|
|
98761
|
+
srcvue_type_template_id_3270a70a_render,
|
|
98762
|
+
srcvue_type_template_id_3270a70a_staticRenderFns,
|
|
98763
|
+
false,
|
|
98764
|
+
null,
|
|
98765
|
+
null,
|
|
98766
|
+
null
|
|
98767
|
+
|
|
98768
|
+
)
|
|
98769
|
+
|
|
98770
|
+
/* harmony default export */ var ryStaticLayers_src = (ryStaticLayers_src_component.exports);
|
|
98771
|
+
// CONCATENATED MODULE: ./src/components/maps/ryStaticLayers/index.js
|
|
98772
|
+
|
|
98773
|
+
|
|
98774
|
+
ryStaticLayers_src.install = Vue => {
|
|
98775
|
+
Vue.install(ryStaticLayers_src.name, ryStaticLayers_src);
|
|
98776
|
+
};
|
|
98777
|
+
|
|
98778
|
+
/* harmony default export */ var ryStaticLayers = (ryStaticLayers_src);
|
|
98779
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"249cb997-vue-loader-template"}!./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryStaticLayer/src/index.vue?vue&type=template&id=7bec5e5c&
|
|
98780
|
+
var srcvue_type_template_id_7bec5e5c_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
98781
|
+
var srcvue_type_template_id_7bec5e5c_staticRenderFns = []
|
|
98782
|
+
|
|
98783
|
+
|
|
98784
|
+
// CONCATENATED MODULE: ./src/components/maps/ryStaticLayer/src/index.vue?vue&type=template&id=7bec5e5c&
|
|
98785
|
+
|
|
98786
|
+
// CONCATENATED MODULE: ./src/components/maps/models/ryStaticLayer/index.js
|
|
98787
|
+
|
|
98788
|
+
|
|
98789
|
+
class ryStaticLayer_RyKMLDto extends base_Base {
|
|
98790
|
+
constructor(...args) {
|
|
98791
|
+
super(...args);
|
|
98792
|
+
|
|
98793
|
+
_defineProperty(this, "model", {
|
|
98794
|
+
type: Object,
|
|
98795
|
+
default: () => null
|
|
98796
|
+
});
|
|
98797
|
+
|
|
98798
|
+
_defineProperty(this, "isShow", {
|
|
98799
|
+
type: Boolean,
|
|
98800
|
+
default: true
|
|
98801
|
+
});
|
|
98802
|
+
|
|
98803
|
+
_defineProperty(this, "clear", {
|
|
98804
|
+
type: Boolean,
|
|
98805
|
+
default: false
|
|
98806
|
+
});
|
|
98807
|
+
|
|
98808
|
+
_defineProperty(this, "isFit", {
|
|
98809
|
+
type: Boolean,
|
|
98810
|
+
default: true
|
|
98811
|
+
});
|
|
98812
|
+
}
|
|
98813
|
+
|
|
98814
|
+
}
|
|
98815
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/maps/ryStaticLayer/src/index.vue?vue&type=script&lang=js&
|
|
98816
|
+
//
|
|
98817
|
+
//
|
|
98818
|
+
//
|
|
98819
|
+
|
|
98820
|
+
|
|
98821
|
+
/* harmony default export */ var ryStaticLayer_srcvue_type_script_lang_js_ = ({
|
|
98822
|
+
name: 'RyStaticLayers',
|
|
98823
|
+
props: { ...new ryStaticLayer_RyKMLDto()
|
|
98824
|
+
},
|
|
98825
|
+
|
|
98826
|
+
data() {
|
|
98827
|
+
return {
|
|
98828
|
+
bbox: [],
|
|
98829
|
+
bboxGCJ02: [],
|
|
98830
|
+
staticImg: null,
|
|
98831
|
+
lastType: -1
|
|
98832
|
+
};
|
|
98833
|
+
},
|
|
98834
|
+
|
|
98835
|
+
watch: {
|
|
98836
|
+
model(val) {
|
|
98837
|
+
this._remove();
|
|
98838
|
+
|
|
98839
|
+
if (!val.length) return;
|
|
98840
|
+
this.init(val);
|
|
98841
|
+
},
|
|
98842
|
+
|
|
98843
|
+
gpsType(val) {
|
|
98844
|
+
if (this.lastType == val) return;
|
|
98845
|
+
this.gpsType = val;
|
|
98846
|
+
this.lastType = val;
|
|
98847
|
+
this.selectGPSAll(this.gpsType);
|
|
98848
|
+
},
|
|
98849
|
+
|
|
98850
|
+
clear(val) {
|
|
98851
|
+
if (val) {
|
|
98852
|
+
this._remove();
|
|
98853
|
+
}
|
|
98854
|
+
},
|
|
98855
|
+
|
|
98856
|
+
isShow(val) {
|
|
98857
|
+
this._isShow(val);
|
|
98858
|
+
}
|
|
98859
|
+
|
|
98860
|
+
},
|
|
98861
|
+
|
|
98862
|
+
created() {
|
|
98863
|
+
this.lastType = this.gpsType;
|
|
98864
|
+
this.init(this.model);
|
|
98865
|
+
},
|
|
98866
|
+
|
|
98867
|
+
methods: {
|
|
98868
|
+
init(model) {
|
|
98869
|
+
// this._insert();
|
|
98870
|
+
if (!model) return;
|
|
98871
|
+
|
|
98872
|
+
this._insert(model);
|
|
98873
|
+
|
|
98874
|
+
if (this.isFit) {
|
|
98875
|
+
setTimeout(() => {
|
|
98876
|
+
this.setFit();
|
|
98877
|
+
}, 50);
|
|
98878
|
+
}
|
|
98879
|
+
|
|
98880
|
+
;
|
|
98881
|
+
},
|
|
98882
|
+
|
|
98883
|
+
_insert(dto) {
|
|
98884
|
+
const {
|
|
98885
|
+
id,
|
|
98886
|
+
url,
|
|
98887
|
+
bbox,
|
|
98888
|
+
zIndex
|
|
98889
|
+
} = dto;
|
|
98890
|
+
const img = new ry_map["staticImage"]({
|
|
98891
|
+
id,
|
|
98892
|
+
url,
|
|
98893
|
+
imageExtent: bbox,
|
|
98894
|
+
zIndex,
|
|
98895
|
+
type: this.gpsType
|
|
98896
|
+
}, this.map);
|
|
98897
|
+
this.staticImg = img;
|
|
98898
|
+
this.setBBOXArr(bbox);
|
|
98899
|
+
},
|
|
98900
|
+
|
|
98901
|
+
setBBOXArr(bbox) {
|
|
98902
|
+
this.bbox.push(bbox);
|
|
98903
|
+
|
|
98904
|
+
const _bboxGCJ02 = this.convertBBoxGCJ02(bbox);
|
|
98905
|
+
|
|
98906
|
+
this.bboxGCJ02.push(_bboxGCJ02);
|
|
98907
|
+
},
|
|
98908
|
+
|
|
98909
|
+
setFit() {
|
|
98910
|
+
if (!this.bbox.length || !this.map) return;
|
|
98911
|
+
|
|
98912
|
+
if (this.bbox.length > 1) {
|
|
98913
|
+
Object(ry_map["fitNew"])(this.map, this.gpsType == 1 ? this.bboxGCJ02 : this.bbox);
|
|
98914
|
+
return;
|
|
98915
|
+
}
|
|
98916
|
+
|
|
98917
|
+
this.setFitFist(this.gpsType == 1 ? this.bboxGCJ02[0] : this.bbox[0]);
|
|
98918
|
+
},
|
|
98919
|
+
|
|
98920
|
+
// bbox.length =1 执行此处
|
|
98921
|
+
setFitFist(bbox) {
|
|
98922
|
+
const bbox2 = [bbox[0], bbox[3], bbox[2], bbox[1]];
|
|
98923
|
+
const bbox3 = [bbox[2], bbox[1], bbox[0], bbox[3]];
|
|
98924
|
+
Object(ry_map["fitNew"])(this.map, [bbox2, bbox3]);
|
|
98925
|
+
},
|
|
98926
|
+
|
|
98927
|
+
convertBBoxGCJ02(bbox) {
|
|
98928
|
+
const pointArr = [];
|
|
98929
|
+
const {
|
|
98930
|
+
lat,
|
|
98931
|
+
lon
|
|
98932
|
+
} = ry_map["GPS"].gcj_encrypt(bbox[0], bbox[1]);
|
|
98933
|
+
const {
|
|
98934
|
+
lon: lon2,
|
|
98935
|
+
lat: lat2
|
|
98936
|
+
} = ry_map["GPS"].gcj_encrypt(bbox[2], bbox[3]);
|
|
98937
|
+
pointArr.push(lon);
|
|
98938
|
+
pointArr.push(lat);
|
|
98939
|
+
pointArr.push(lon2);
|
|
98940
|
+
pointArr.push(lat2);
|
|
98941
|
+
return pointArr;
|
|
98942
|
+
},
|
|
98943
|
+
|
|
98944
|
+
_remove() {
|
|
98945
|
+
if (this.staticImg) {
|
|
98946
|
+
this.staticImg.removeImageLayer();
|
|
98947
|
+
}
|
|
98948
|
+
|
|
98949
|
+
this.staticImg = null;
|
|
98950
|
+
this.bbox = [];
|
|
98951
|
+
this.bboxGCJ02 = [];
|
|
98952
|
+
},
|
|
98953
|
+
|
|
98954
|
+
selectGPSAll(type) {
|
|
98955
|
+
if (this.staticImg) {
|
|
98956
|
+
this.staticImg.selectGPS(type);
|
|
98957
|
+
}
|
|
98958
|
+
},
|
|
98959
|
+
|
|
98960
|
+
_isShow(val) {
|
|
98961
|
+
if (this.staticImg) {
|
|
98962
|
+
const img = this.staticImg;
|
|
98963
|
+
|
|
98964
|
+
if (val) {
|
|
98965
|
+
img.show();
|
|
98966
|
+
return;
|
|
98967
|
+
}
|
|
98968
|
+
|
|
98969
|
+
img.hide();
|
|
98970
|
+
}
|
|
98971
|
+
}
|
|
98972
|
+
|
|
98973
|
+
}
|
|
98974
|
+
});
|
|
98975
|
+
// CONCATENATED MODULE: ./src/components/maps/ryStaticLayer/src/index.vue?vue&type=script&lang=js&
|
|
98976
|
+
/* harmony default export */ var maps_ryStaticLayer_srcvue_type_script_lang_js_ = (ryStaticLayer_srcvue_type_script_lang_js_);
|
|
98977
|
+
// CONCATENATED MODULE: ./src/components/maps/ryStaticLayer/src/index.vue
|
|
98978
|
+
|
|
98979
|
+
|
|
98980
|
+
|
|
98981
|
+
|
|
98982
|
+
|
|
98983
|
+
/* normalize component */
|
|
98984
|
+
|
|
98985
|
+
var ryStaticLayer_src_component = normalizeComponent(
|
|
98986
|
+
maps_ryStaticLayer_srcvue_type_script_lang_js_,
|
|
98987
|
+
srcvue_type_template_id_7bec5e5c_render,
|
|
98988
|
+
srcvue_type_template_id_7bec5e5c_staticRenderFns,
|
|
98989
|
+
false,
|
|
98990
|
+
null,
|
|
98991
|
+
null,
|
|
98992
|
+
null
|
|
98993
|
+
|
|
98994
|
+
)
|
|
98995
|
+
|
|
98996
|
+
/* harmony default export */ var ryStaticLayer_src = (ryStaticLayer_src_component.exports);
|
|
98997
|
+
// CONCATENATED MODULE: ./src/components/maps/ryStaticLayer/index.js
|
|
98998
|
+
|
|
98999
|
+
|
|
99000
|
+
ryStaticLayer_src.install = Vue => {
|
|
99001
|
+
Vue.install(ryStaticLayer_src.name, ryStaticLayer_src);
|
|
99002
|
+
};
|
|
99003
|
+
|
|
99004
|
+
/* harmony default export */ var ryStaticLayer = (ryStaticLayer_src);
|
|
98021
99005
|
// CONCATENATED MODULE: ./src/components/index.js
|
|
98022
99006
|
|
|
98023
99007
|
|
|
@@ -98032,10 +99016,12 @@ ryKML_src.install = Vue => {
|
|
|
98032
99016
|
|
|
98033
99017
|
|
|
98034
99018
|
|
|
99019
|
+
|
|
99020
|
+
|
|
98035
99021
|
// import "./fonts/iconfont.css";
|
|
98036
99022
|
// 组件列表
|
|
98037
99023
|
|
|
98038
|
-
const components = [ryMap, ryCrossHair, ryMapTool, ryPolygon, ryPolygons, ryClusters, ryPolygonGeo, ryClustersMarker, ryVectorMap, ryLines, ryStaticMap, ryOfflineMap, ryKMLs, ryKML]; // 定义install
|
|
99024
|
+
const components = [ryMap, ryCrossHair, ryMapTool, ryPolygon, ryPolygons, ryClusters, ryPolygonGeo, ryClustersMarker, ryVectorMap, ryLines, ryStaticMap, ryOfflineMap, ryKMLs, ryKML, ryStaticLayers, ryStaticLayer]; // 定义install
|
|
98039
99025
|
|
|
98040
99026
|
const install = (Vue, options) => {
|
|
98041
99027
|
// 遍历注册全局组件
|