ry-vue-map 0.6.2 → 0.6.4
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/README.MD +1 -1
- package/lib/ryui.common.js +67 -50
- package/lib/ryui.common.js.gz +0 -0
- package/lib/ryui.umd.js +67 -50
- package/lib/ryui.umd.js.gz +0 -0
- package/lib/ryui.umd.min.js +2 -2
- package/lib/ryui.umd.min.js.gz +0 -0
- package/package.json +2 -2
- package/src/components/maps/models/ryKML/index.js +8 -1
- package/src/components/maps/models/ryKMLs/index.js +7 -2
- package/src/components/maps/ryKML/src/index.vue +161 -159
- package/src/components/maps/ryKMLs/src/index.vue +23 -22
- package/src/views/map/index.vue +606 -1059
- package/src/views/map/3301.js +0 -96828
- package/src/views/map/330112.js +0 -5106
- package/src/views/map/330681.js +0 -3454
- package/src/views/map/331123.js +0 -4736
- package/src/views/map/ceshijson.js +0 -323
- package/src/views/map/ceshisuhusss.js +0 -7587
- package/src/views/map/dksj.js +0 -482171
- package/src/views/map/imgUrl.js +0 -1517
- package/src/views/map/index3.vue +0 -207
- package/src/views/map/index4.vue +0 -207
- package/src/views/map/indexNew.vue +0 -625
- package/src/views/map/indexStatic.vue +0 -1
- package/src/views/map/indexsssss.vue +0 -762
- package/src/views/map/line.vue +0 -1045
- package/src/views/map/lineData.js +0 -19592
- package/src/views/map/lineData2.js +0 -3449
- package/src/views/map/new_file.vue +0 -280
- package/src/views/map/obj.js +0 -10014
package/README.MD
CHANGED
package/lib/ryui.common.js
CHANGED
|
@@ -50415,7 +50415,7 @@ function expandUrl(url) {
|
|
|
50415
50415
|
/***/ (function(module, exports, __webpack_require__) {
|
|
50416
50416
|
|
|
50417
50417
|
"use strict";
|
|
50418
|
-
var _interopRequireDefault=__webpack_require__("4ea4"),
|
|
50418
|
+
var _interopRequireDefault=__webpack_require__("4ea4"),_regenerator=(Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0,_interopRequireDefault(__webpack_require__("a34a"))),_classCallCheck2=_interopRequireDefault(__webpack_require__("970b")),_createClass2=_interopRequireDefault(__webpack_require__("5bc3")),_Vector=_interopRequireDefault(__webpack_require__("3e6b")),_Vector2=_interopRequireDefault(__webpack_require__("5831")),_KML=_interopRequireDefault(__webpack_require__("1ab5")),_style=__webpack_require__("15e0"),__awaiter=function(e,n,u,o){return new(u=u||Promise)(function(r,t){function i(e){try{l(o.next(e))}catch(e){t(e)}}function s(e){try{l(o.throw(e))}catch(e){t(e)}}function l(e){var t;e.done?r(e.value):((t=e.value)instanceof u?t:new u(function(e){e(t)})).then(i,s)}l((o=o.apply(e,n||[])).next())})},LKML=function(){function i(e,t){var r=!(2<arguments.length&&void 0!==arguments[2])||arguments[2];(0,_classCallCheck2.default)(this,i),this.layer=null,this.source=null,this.isShowKML=!0,this._kml=null,this._extractStyles=!0,this._url=null,this._width=1,this._fillColor="#000",this._stroke="#000",this.feature=null,this.extent=new Array,this.zIndex=e.zIndex||1,this.id=e.id,this.map=t,this.isShowKML=e.isShowKML||!0,this._extractStyles=r,this._url=e.url,this._width=e.width||1,this._fillColor=e.fillColor||"#000",this._stroke=e.stroke||"#000"}return(0,_createClass2.default)(i,[{key:"init",value:function(){var i=0<arguments.length&&void 0!==arguments[0]?arguments[0]:100;return __awaiter(this,void 0,void 0,_regenerator.default.mark(function e(){var t,r=this;return _regenerator.default.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return this._kml=this.createKML(),this.source=new _Vector2.default({url:this._url,format:this._kml}),t=new _Vector.default({style:this.getStyle(),source:this.source,zIndex:this.zIndex}),this.layer=t,this.map.addLayer(this.layer),e.next=7,new Promise(function(t){setTimeout(function(){var e=r.source.getFeatures();e.length&&(r.feature=e[0]),r.source&&(r.extent=r.source.getExtent()),t()},i)});case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}},e,this)}))}},{key:"createKML",value:function(){return new _KML.default({extractStyles:this._extractStyles,crossOrigin:"anonymous"})}},{key:"removeKML",value:function(){this.map.removeLayer(this.layer)}},{key:"getLayer",value:function(){return this.layer}},{key:"show",value:function(){this.isShowKML||(this.map.addLayer(this.layer),this.isShowKML=!0)}},{key:"hide",value:function(){this.isShowKML&&(this.map.removeLayer(this.layer),this.isShowKML=!1)}},{key:"getStyle",value:function(){return new _style.Style({fill:new _style.Fill({color:this._fillColor}),stroke:new _style.Stroke({color:this._stroke,width:this._width})})}},{key:"setUrl",value:function(e){this.source&&(this.removeKML(),this._url=e,this.init())}},{key:"getUrl",value:function(){return this._url}},{key:"Id",get:function(){return this.id}},{key:"Vector",get:function(){return this.layer}},{key:"setZIndex",value:function(e){this.layer.setZIndex(e)}},{key:"setPolygonColor",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:["rgba(255, 255, 255, 0.3)","rgba(00, 131, 241, 1)"],t=this.layer.getStyle();t.getFill().setColor(e[0]),t.getStroke().setColor(e[1])}},{key:"setId",value:function(e){this.feature&&this.feature.setId(e)}},{key:"getExtent",value:function(){return this.extent}}]),i}();exports.default=LKML;
|
|
50419
50419
|
|
|
50420
50420
|
/***/ }),
|
|
50421
50421
|
|
|
@@ -91710,7 +91710,7 @@ if (typeof window !== 'undefined') {
|
|
|
91710
91710
|
// Indicate to webpack that this file can be concatenated
|
|
91711
91711
|
/* harmony default export */ var setPublicPath = (null);
|
|
91712
91712
|
|
|
91713
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
91713
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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=92718596&scoped=true&
|
|
91714
91714
|
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:{
|
|
91715
91715
|
'left':!_vm.isRight,
|
|
91716
91716
|
'right':_vm.isRight
|
|
@@ -92975,14 +92975,14 @@ class mapTool_MapToolDto {
|
|
|
92975
92975
|
}
|
|
92976
92976
|
|
|
92977
92977
|
}
|
|
92978
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
92978
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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=0be147fb&scoped=true&
|
|
92979
92979
|
var srcvue_type_template_id_0be147fb_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.onCreateLine()}}}):_vm._e(),(!_vm.hideArea)?_c('el-button',{staticClass:"ele-text-primary el-icon--mianji",on:{"click":function($event){$event.stopPropagation();return _vm.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.onCreateLine()}}}):_vm._e(),(!_vm.hideArea)?_c('el-button',{staticClass:"ele-text-primary el-icon--mianji",on:{"click":function($event){$event.stopPropagation();return _vm.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)}
|
|
92980
92980
|
var srcvue_type_template_id_0be147fb_scoped_true_staticRenderFns = []
|
|
92981
92981
|
|
|
92982
92982
|
|
|
92983
92983
|
// CONCATENATED MODULE: ./src/components/maps/ryMapTool/src/index.vue?vue&type=template&id=0be147fb&scoped=true&
|
|
92984
92984
|
|
|
92985
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
92985
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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&
|
|
92986
92986
|
var srcvue_type_template_id_735d1508_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
92987
92987
|
var srcvue_type_template_id_735d1508_staticRenderFns = []
|
|
92988
92988
|
|
|
@@ -93554,7 +93554,7 @@ var src_component = normalizeComponent(
|
|
|
93554
93554
|
)
|
|
93555
93555
|
|
|
93556
93556
|
/* harmony default export */ var ryMapTool_src = (src_component.exports);
|
|
93557
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
93557
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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&
|
|
93558
93558
|
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()}
|
|
93559
93559
|
var newIndexvue_type_template_id_10ed49d6_scoped_true_staticRenderFns = []
|
|
93560
93560
|
|
|
@@ -94368,7 +94368,7 @@ ryMapTool_src.install = Vue => {
|
|
|
94368
94368
|
};
|
|
94369
94369
|
|
|
94370
94370
|
/* harmony default export */ var ryMapTool = (ryMapTool_src);
|
|
94371
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
94371
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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&
|
|
94372
94372
|
var srcvue_type_template_id_3e8f1c13_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
94373
94373
|
var srcvue_type_template_id_3e8f1c13_staticRenderFns = []
|
|
94374
94374
|
|
|
@@ -94742,7 +94742,7 @@ ryPolygon_src.install = Vue => {
|
|
|
94742
94742
|
};
|
|
94743
94743
|
|
|
94744
94744
|
/* harmony default export */ var ryPolygon = (ryPolygon_src);
|
|
94745
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
94745
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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&
|
|
94746
94746
|
var srcvue_type_template_id_bd05c456_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
94747
94747
|
var srcvue_type_template_id_bd05c456_staticRenderFns = []
|
|
94748
94748
|
|
|
@@ -95486,7 +95486,7 @@ ryPolygons_src.install = Vue => {
|
|
|
95486
95486
|
};
|
|
95487
95487
|
|
|
95488
95488
|
/* harmony default export */ var ryPolygons = (ryPolygons_src);
|
|
95489
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
95489
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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&
|
|
95490
95490
|
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')}
|
|
95491
95491
|
var srcvue_type_template_id_148ba5e7_scoped_true_staticRenderFns = []
|
|
95492
95492
|
|
|
@@ -95800,7 +95800,7 @@ ryClusters_src.install = Vue => {
|
|
|
95800
95800
|
};
|
|
95801
95801
|
|
|
95802
95802
|
/* harmony default export */ var ryClusters = (ryClusters_src);
|
|
95803
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
95803
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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&
|
|
95804
95804
|
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')}
|
|
95805
95805
|
var srcvue_type_template_id_64b08b64_scoped_true_staticRenderFns = []
|
|
95806
95806
|
|
|
@@ -95989,7 +95989,7 @@ ryClustersMarker_src.install = Vue => {
|
|
|
95989
95989
|
};
|
|
95990
95990
|
|
|
95991
95991
|
/* harmony default export */ var ryClustersMarker = (ryClustersMarker_src);
|
|
95992
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
95992
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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=49125fce&
|
|
95993
95993
|
var srcvue_type_template_id_49125fce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
95994
95994
|
var srcvue_type_template_id_49125fce_staticRenderFns = []
|
|
95995
95995
|
|
|
@@ -96300,7 +96300,7 @@ ryPolygonGeo_src.install = Vue => {
|
|
|
96300
96300
|
};
|
|
96301
96301
|
|
|
96302
96302
|
/* harmony default export */ var ryPolygonGeo = (ryPolygonGeo_src);
|
|
96303
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
96303
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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=007eb38f&scoped=true&
|
|
96304
96304
|
var srcvue_type_template_id_007eb38f_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"},[_vm._t("polygon",null,{"mapDto":{map: _vm.map,lMap: _vm.lMap}})],2)}
|
|
96305
96305
|
var srcvue_type_template_id_007eb38f_scoped_true_staticRenderFns = []
|
|
96306
96306
|
|
|
@@ -96518,7 +96518,7 @@ ryVectorMap_src.install = Vue => {
|
|
|
96518
96518
|
};
|
|
96519
96519
|
|
|
96520
96520
|
/* harmony default export */ var ryVectorMap = (ryVectorMap_src);
|
|
96521
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
96521
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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=c1f258de&scoped=true&
|
|
96522
96522
|
var srcvue_type_template_id_c1f258de_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',{staticStyle:{"margin-left":"30px"},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 - 1,"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()])}
|
|
96523
96523
|
var srcvue_type_template_id_c1f258de_scoped_true_staticRenderFns = []
|
|
96524
96524
|
|
|
@@ -97351,7 +97351,7 @@ ryLines_src.install = Vue => {
|
|
|
97351
97351
|
};
|
|
97352
97352
|
|
|
97353
97353
|
/* harmony default export */ var ryLines = (ryLines_src);
|
|
97354
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
97354
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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=8a78c586&scoped=true&
|
|
97355
97355
|
var srcvue_type_template_id_8a78c586_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:{
|
|
97356
97356
|
'left':!_vm.isRight,
|
|
97357
97357
|
'right':_vm.isRight
|
|
@@ -97742,7 +97742,7 @@ ryStaticMap_src.install = Vue => {
|
|
|
97742
97742
|
};
|
|
97743
97743
|
|
|
97744
97744
|
/* harmony default export */ var ryStaticMap = (ryStaticMap_src);
|
|
97745
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
97745
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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=44c7c94c&scoped=true&
|
|
97746
97746
|
var srcvue_type_template_id_44c7c94c_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:{
|
|
97747
97747
|
'left':!_vm.isRight,
|
|
97748
97748
|
'right':_vm.isRight
|
|
@@ -98207,12 +98207,12 @@ ryOfflineMap_src.install = Vue => {
|
|
|
98207
98207
|
};
|
|
98208
98208
|
|
|
98209
98209
|
/* harmony default export */ var ryOfflineMap = (ryOfflineMap_src);
|
|
98210
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
98211
|
-
var
|
|
98212
|
-
var
|
|
98210
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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=12e7fdbe&
|
|
98211
|
+
var srcvue_type_template_id_12e7fdbe_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
98212
|
+
var srcvue_type_template_id_12e7fdbe_staticRenderFns = []
|
|
98213
98213
|
|
|
98214
98214
|
|
|
98215
|
-
// CONCATENATED MODULE: ./src/components/maps/ryKMLs/src/index.vue?vue&type=template&id=
|
|
98215
|
+
// CONCATENATED MODULE: ./src/components/maps/ryKMLs/src/index.vue?vue&type=template&id=12e7fdbe&
|
|
98216
98216
|
|
|
98217
98217
|
// CONCATENATED MODULE: ./src/components/maps/models/ryKMLs/index.js
|
|
98218
98218
|
|
|
@@ -98255,6 +98255,11 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98255
98255
|
type: Object,
|
|
98256
98256
|
default: () => null
|
|
98257
98257
|
});
|
|
98258
|
+
|
|
98259
|
+
_defineProperty(this, "time", {
|
|
98260
|
+
type: Number,
|
|
98261
|
+
default: 100
|
|
98262
|
+
});
|
|
98258
98263
|
}
|
|
98259
98264
|
|
|
98260
98265
|
}
|
|
@@ -98338,32 +98343,28 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98338
98343
|
|
|
98339
98344
|
},
|
|
98340
98345
|
|
|
98341
|
-
created() {
|
|
98346
|
+
async created() {
|
|
98342
98347
|
this.lastType = this.gpsType;
|
|
98343
98348
|
|
|
98344
98349
|
if (this.modelArr.length) {
|
|
98345
|
-
this.init(this.modelArr);
|
|
98350
|
+
await this.init(this.modelArr);
|
|
98346
98351
|
return;
|
|
98347
98352
|
}
|
|
98348
98353
|
|
|
98349
98354
|
if (this.inserts.length) {
|
|
98350
|
-
this.init(this.inserts);
|
|
98355
|
+
await this.init(this.inserts);
|
|
98351
98356
|
}
|
|
98352
98357
|
},
|
|
98353
98358
|
|
|
98354
98359
|
methods: {
|
|
98355
|
-
init(arr) {
|
|
98356
|
-
// this._insert();
|
|
98360
|
+
async init(arr) {
|
|
98357
98361
|
if (!arr || !arr.length) return;
|
|
98358
|
-
arr.forEach(val => {
|
|
98359
|
-
this._insert(val);
|
|
98360
|
-
});
|
|
98361
98362
|
|
|
98362
|
-
|
|
98363
|
-
|
|
98364
|
-
this.setFit();
|
|
98365
|
-
}, 50);
|
|
98363
|
+
for (let i = 0; i < arr.length; i++) {
|
|
98364
|
+
await this._insert(arr[i]);
|
|
98366
98365
|
}
|
|
98366
|
+
|
|
98367
|
+
this.setFit();
|
|
98367
98368
|
},
|
|
98368
98369
|
|
|
98369
98370
|
_inserts(arr) {
|
|
@@ -98379,7 +98380,7 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98379
98380
|
}
|
|
98380
98381
|
},
|
|
98381
98382
|
|
|
98382
|
-
_insert(dto) {
|
|
98383
|
+
async _insert(dto) {
|
|
98383
98384
|
const {
|
|
98384
98385
|
id,
|
|
98385
98386
|
url,
|
|
@@ -98404,15 +98405,21 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98404
98405
|
zIndex,
|
|
98405
98406
|
width
|
|
98406
98407
|
}, this.map, extractStyles);
|
|
98408
|
+
await lkml.init(this.time);
|
|
98409
|
+
|
|
98410
|
+
if (id) {
|
|
98411
|
+
lkml.setId(id);
|
|
98412
|
+
}
|
|
98413
|
+
|
|
98407
98414
|
this.kmlMap.set(id, lkml);
|
|
98408
98415
|
this.urls.set(id, url);
|
|
98409
98416
|
|
|
98410
98417
|
if (gcj02Url) {
|
|
98411
98418
|
this.gcj02Urls.set(id, gcj02Url);
|
|
98412
98419
|
}
|
|
98413
|
-
}
|
|
98414
98420
|
|
|
98415
|
-
|
|
98421
|
+
this.setBBOXArr(dto.id, lkml.getExtent());
|
|
98422
|
+
}
|
|
98416
98423
|
},
|
|
98417
98424
|
|
|
98418
98425
|
// 刷新
|
|
@@ -98453,7 +98460,6 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98453
98460
|
this.setFitFist(this.gpsType == 1 ? this.bboxGCJ02[0] : this.bbox[0]);
|
|
98454
98461
|
},
|
|
98455
98462
|
|
|
98456
|
-
// bbox.length =1 执行此处
|
|
98457
98463
|
setFitFist(bbox) {
|
|
98458
98464
|
const bbox2 = [bbox[0], bbox[3], bbox[2], bbox[1]];
|
|
98459
98465
|
const bbox3 = [bbox[2], bbox[1], bbox[0], bbox[3]];
|
|
@@ -98555,8 +98561,8 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98555
98561
|
|
|
98556
98562
|
var ryKMLs_src_component = normalizeComponent(
|
|
98557
98563
|
maps_ryKMLs_srcvue_type_script_lang_js_,
|
|
98558
|
-
|
|
98559
|
-
|
|
98564
|
+
srcvue_type_template_id_12e7fdbe_render,
|
|
98565
|
+
srcvue_type_template_id_12e7fdbe_staticRenderFns,
|
|
98560
98566
|
false,
|
|
98561
98567
|
null,
|
|
98562
98568
|
null,
|
|
@@ -98573,12 +98579,12 @@ ryKMLs_src.install = Vue => {
|
|
|
98573
98579
|
};
|
|
98574
98580
|
|
|
98575
98581
|
/* harmony default export */ var ryKMLs = (ryKMLs_src);
|
|
98576
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
98577
|
-
var
|
|
98578
|
-
var
|
|
98582
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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=f6407cd8&
|
|
98583
|
+
var srcvue_type_template_id_f6407cd8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
98584
|
+
var srcvue_type_template_id_f6407cd8_staticRenderFns = []
|
|
98579
98585
|
|
|
98580
98586
|
|
|
98581
|
-
// CONCATENATED MODULE: ./src/components/maps/ryKML/src/index.vue?vue&type=template&id=
|
|
98587
|
+
// CONCATENATED MODULE: ./src/components/maps/ryKML/src/index.vue?vue&type=template&id=f6407cd8&
|
|
98582
98588
|
|
|
98583
98589
|
// CONCATENATED MODULE: ./src/components/maps/models/ryKML/index.js
|
|
98584
98590
|
|
|
@@ -98606,6 +98612,11 @@ class ryKML_RyKMLDto extends base_Base {
|
|
|
98606
98612
|
type: Boolean,
|
|
98607
98613
|
default: true
|
|
98608
98614
|
});
|
|
98615
|
+
|
|
98616
|
+
_defineProperty(this, "time", {
|
|
98617
|
+
type: Number,
|
|
98618
|
+
default: 100
|
|
98619
|
+
});
|
|
98609
98620
|
}
|
|
98610
98621
|
|
|
98611
98622
|
}
|
|
@@ -98671,8 +98682,8 @@ class ryKML_RyKMLDto extends base_Base {
|
|
|
98671
98682
|
},
|
|
98672
98683
|
|
|
98673
98684
|
methods: {
|
|
98674
|
-
init(model) {
|
|
98675
|
-
this._insert(model);
|
|
98685
|
+
async init(model) {
|
|
98686
|
+
await this._insert(model);
|
|
98676
98687
|
|
|
98677
98688
|
if (this.isFit) {
|
|
98678
98689
|
setTimeout(() => {
|
|
@@ -98681,7 +98692,7 @@ class ryKML_RyKMLDto extends base_Base {
|
|
|
98681
98692
|
}
|
|
98682
98693
|
},
|
|
98683
98694
|
|
|
98684
|
-
_insert(dto) {
|
|
98695
|
+
async _insert(dto) {
|
|
98685
98696
|
const {
|
|
98686
98697
|
id,
|
|
98687
98698
|
url,
|
|
@@ -98707,7 +98718,13 @@ class ryKML_RyKMLDto extends base_Base {
|
|
|
98707
98718
|
this.kml = lkml;
|
|
98708
98719
|
this.url = url;
|
|
98709
98720
|
this.gcj02Url = gcj02Url;
|
|
98710
|
-
this.
|
|
98721
|
+
await lkml.init(this.time);
|
|
98722
|
+
|
|
98723
|
+
if (id) {
|
|
98724
|
+
lkml.setId(id);
|
|
98725
|
+
}
|
|
98726
|
+
|
|
98727
|
+
this.setBBOXArr(lkml.getExtent());
|
|
98711
98728
|
},
|
|
98712
98729
|
|
|
98713
98730
|
setBBOXArr(bbox) {
|
|
@@ -98797,8 +98814,8 @@ class ryKML_RyKMLDto extends base_Base {
|
|
|
98797
98814
|
|
|
98798
98815
|
var ryKML_src_component = normalizeComponent(
|
|
98799
98816
|
maps_ryKML_srcvue_type_script_lang_js_,
|
|
98800
|
-
|
|
98801
|
-
|
|
98817
|
+
srcvue_type_template_id_f6407cd8_render,
|
|
98818
|
+
srcvue_type_template_id_f6407cd8_staticRenderFns,
|
|
98802
98819
|
false,
|
|
98803
98820
|
null,
|
|
98804
98821
|
null,
|
|
@@ -98815,7 +98832,7 @@ ryKML_src.install = Vue => {
|
|
|
98815
98832
|
};
|
|
98816
98833
|
|
|
98817
98834
|
/* harmony default export */ var ryKML = (ryKML_src);
|
|
98818
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
98835
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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=40f10e06&
|
|
98819
98836
|
var srcvue_type_template_id_40f10e06_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
98820
98837
|
var srcvue_type_template_id_40f10e06_staticRenderFns = []
|
|
98821
98838
|
|
|
@@ -99131,7 +99148,7 @@ ryStaticLayers_src.install = Vue => {
|
|
|
99131
99148
|
};
|
|
99132
99149
|
|
|
99133
99150
|
/* harmony default export */ var ryStaticLayers = (ryStaticLayers_src);
|
|
99134
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
99151
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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=8a8c4a70&
|
|
99135
99152
|
var srcvue_type_template_id_8a8c4a70_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
99136
99153
|
var srcvue_type_template_id_8a8c4a70_staticRenderFns = []
|
|
99137
99154
|
|
|
@@ -99365,7 +99382,7 @@ ryStaticLayer_src.install = Vue => {
|
|
|
99365
99382
|
};
|
|
99366
99383
|
|
|
99367
99384
|
/* harmony default export */ var ryStaticLayer = (ryStaticLayer_src);
|
|
99368
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
99385
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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/ryWMSs/src/index.vue?vue&type=template&id=3448b5a2&
|
|
99369
99386
|
var srcvue_type_template_id_3448b5a2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
99370
99387
|
var srcvue_type_template_id_3448b5a2_staticRenderFns = []
|
|
99371
99388
|
|
|
@@ -99559,7 +99576,7 @@ ryWMSs_src.install = Vue => {
|
|
|
99559
99576
|
};
|
|
99560
99577
|
|
|
99561
99578
|
/* harmony default export */ var ryWMSs = (ryWMSs_src);
|
|
99562
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
99579
|
+
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"09501298-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/ryWMTSs/src/index.vue?vue&type=template&id=e00105b0&
|
|
99563
99580
|
var srcvue_type_template_id_e00105b0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
99564
99581
|
var srcvue_type_template_id_e00105b0_staticRenderFns = []
|
|
99565
99582
|
|
package/lib/ryui.common.js.gz
CHANGED
|
Binary file
|