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/lib/ryui.umd.js
CHANGED
|
@@ -50424,7 +50424,7 @@ function expandUrl(url) {
|
|
|
50424
50424
|
/***/ (function(module, exports, __webpack_require__) {
|
|
50425
50425
|
|
|
50426
50426
|
"use strict";
|
|
50427
|
-
var _interopRequireDefault=__webpack_require__("4ea4"),
|
|
50427
|
+
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;
|
|
50428
50428
|
|
|
50429
50429
|
/***/ }),
|
|
50430
50430
|
|
|
@@ -91719,7 +91719,7 @@ if (typeof window !== 'undefined') {
|
|
|
91719
91719
|
// Indicate to webpack that this file can be concatenated
|
|
91720
91720
|
/* harmony default export */ var setPublicPath = (null);
|
|
91721
91721
|
|
|
91722
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
91722
|
+
// 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&
|
|
91723
91723
|
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:{
|
|
91724
91724
|
'left':!_vm.isRight,
|
|
91725
91725
|
'right':_vm.isRight
|
|
@@ -92984,14 +92984,14 @@ class mapTool_MapToolDto {
|
|
|
92984
92984
|
}
|
|
92985
92985
|
|
|
92986
92986
|
}
|
|
92987
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
92987
|
+
// 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&
|
|
92988
92988
|
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)}
|
|
92989
92989
|
var srcvue_type_template_id_0be147fb_scoped_true_staticRenderFns = []
|
|
92990
92990
|
|
|
92991
92991
|
|
|
92992
92992
|
// CONCATENATED MODULE: ./src/components/maps/ryMapTool/src/index.vue?vue&type=template&id=0be147fb&scoped=true&
|
|
92993
92993
|
|
|
92994
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
92994
|
+
// 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&
|
|
92995
92995
|
var srcvue_type_template_id_735d1508_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
92996
92996
|
var srcvue_type_template_id_735d1508_staticRenderFns = []
|
|
92997
92997
|
|
|
@@ -93563,7 +93563,7 @@ var src_component = normalizeComponent(
|
|
|
93563
93563
|
)
|
|
93564
93564
|
|
|
93565
93565
|
/* harmony default export */ var ryMapTool_src = (src_component.exports);
|
|
93566
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
93566
|
+
// 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&
|
|
93567
93567
|
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()}
|
|
93568
93568
|
var newIndexvue_type_template_id_10ed49d6_scoped_true_staticRenderFns = []
|
|
93569
93569
|
|
|
@@ -94377,7 +94377,7 @@ ryMapTool_src.install = Vue => {
|
|
|
94377
94377
|
};
|
|
94378
94378
|
|
|
94379
94379
|
/* harmony default export */ var ryMapTool = (ryMapTool_src);
|
|
94380
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
94380
|
+
// 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&
|
|
94381
94381
|
var srcvue_type_template_id_3e8f1c13_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
94382
94382
|
var srcvue_type_template_id_3e8f1c13_staticRenderFns = []
|
|
94383
94383
|
|
|
@@ -94751,7 +94751,7 @@ ryPolygon_src.install = Vue => {
|
|
|
94751
94751
|
};
|
|
94752
94752
|
|
|
94753
94753
|
/* harmony default export */ var ryPolygon = (ryPolygon_src);
|
|
94754
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
94754
|
+
// 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&
|
|
94755
94755
|
var srcvue_type_template_id_bd05c456_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
94756
94756
|
var srcvue_type_template_id_bd05c456_staticRenderFns = []
|
|
94757
94757
|
|
|
@@ -95495,7 +95495,7 @@ ryPolygons_src.install = Vue => {
|
|
|
95495
95495
|
};
|
|
95496
95496
|
|
|
95497
95497
|
/* harmony default export */ var ryPolygons = (ryPolygons_src);
|
|
95498
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
95498
|
+
// 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&
|
|
95499
95499
|
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')}
|
|
95500
95500
|
var srcvue_type_template_id_148ba5e7_scoped_true_staticRenderFns = []
|
|
95501
95501
|
|
|
@@ -95809,7 +95809,7 @@ ryClusters_src.install = Vue => {
|
|
|
95809
95809
|
};
|
|
95810
95810
|
|
|
95811
95811
|
/* harmony default export */ var ryClusters = (ryClusters_src);
|
|
95812
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
95812
|
+
// 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&
|
|
95813
95813
|
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')}
|
|
95814
95814
|
var srcvue_type_template_id_64b08b64_scoped_true_staticRenderFns = []
|
|
95815
95815
|
|
|
@@ -95998,7 +95998,7 @@ ryClustersMarker_src.install = Vue => {
|
|
|
95998
95998
|
};
|
|
95999
95999
|
|
|
96000
96000
|
/* harmony default export */ var ryClustersMarker = (ryClustersMarker_src);
|
|
96001
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
96001
|
+
// 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&
|
|
96002
96002
|
var srcvue_type_template_id_49125fce_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
96003
96003
|
var srcvue_type_template_id_49125fce_staticRenderFns = []
|
|
96004
96004
|
|
|
@@ -96309,7 +96309,7 @@ ryPolygonGeo_src.install = Vue => {
|
|
|
96309
96309
|
};
|
|
96310
96310
|
|
|
96311
96311
|
/* harmony default export */ var ryPolygonGeo = (ryPolygonGeo_src);
|
|
96312
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
96312
|
+
// 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&
|
|
96313
96313
|
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)}
|
|
96314
96314
|
var srcvue_type_template_id_007eb38f_scoped_true_staticRenderFns = []
|
|
96315
96315
|
|
|
@@ -96527,7 +96527,7 @@ ryVectorMap_src.install = Vue => {
|
|
|
96527
96527
|
};
|
|
96528
96528
|
|
|
96529
96529
|
/* harmony default export */ var ryVectorMap = (ryVectorMap_src);
|
|
96530
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
96530
|
+
// 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&
|
|
96531
96531
|
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()])}
|
|
96532
96532
|
var srcvue_type_template_id_c1f258de_scoped_true_staticRenderFns = []
|
|
96533
96533
|
|
|
@@ -97360,7 +97360,7 @@ ryLines_src.install = Vue => {
|
|
|
97360
97360
|
};
|
|
97361
97361
|
|
|
97362
97362
|
/* harmony default export */ var ryLines = (ryLines_src);
|
|
97363
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
97363
|
+
// 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&
|
|
97364
97364
|
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:{
|
|
97365
97365
|
'left':!_vm.isRight,
|
|
97366
97366
|
'right':_vm.isRight
|
|
@@ -97751,7 +97751,7 @@ ryStaticMap_src.install = Vue => {
|
|
|
97751
97751
|
};
|
|
97752
97752
|
|
|
97753
97753
|
/* harmony default export */ var ryStaticMap = (ryStaticMap_src);
|
|
97754
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
97754
|
+
// 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&
|
|
97755
97755
|
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:{
|
|
97756
97756
|
'left':!_vm.isRight,
|
|
97757
97757
|
'right':_vm.isRight
|
|
@@ -98216,12 +98216,12 @@ ryOfflineMap_src.install = Vue => {
|
|
|
98216
98216
|
};
|
|
98217
98217
|
|
|
98218
98218
|
/* harmony default export */ var ryOfflineMap = (ryOfflineMap_src);
|
|
98219
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
98220
|
-
var
|
|
98221
|
-
var
|
|
98219
|
+
// 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&
|
|
98220
|
+
var srcvue_type_template_id_12e7fdbe_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
98221
|
+
var srcvue_type_template_id_12e7fdbe_staticRenderFns = []
|
|
98222
98222
|
|
|
98223
98223
|
|
|
98224
|
-
// CONCATENATED MODULE: ./src/components/maps/ryKMLs/src/index.vue?vue&type=template&id=
|
|
98224
|
+
// CONCATENATED MODULE: ./src/components/maps/ryKMLs/src/index.vue?vue&type=template&id=12e7fdbe&
|
|
98225
98225
|
|
|
98226
98226
|
// CONCATENATED MODULE: ./src/components/maps/models/ryKMLs/index.js
|
|
98227
98227
|
|
|
@@ -98264,6 +98264,11 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98264
98264
|
type: Object,
|
|
98265
98265
|
default: () => null
|
|
98266
98266
|
});
|
|
98267
|
+
|
|
98268
|
+
_defineProperty(this, "time", {
|
|
98269
|
+
type: Number,
|
|
98270
|
+
default: 100
|
|
98271
|
+
});
|
|
98267
98272
|
}
|
|
98268
98273
|
|
|
98269
98274
|
}
|
|
@@ -98347,32 +98352,28 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98347
98352
|
|
|
98348
98353
|
},
|
|
98349
98354
|
|
|
98350
|
-
created() {
|
|
98355
|
+
async created() {
|
|
98351
98356
|
this.lastType = this.gpsType;
|
|
98352
98357
|
|
|
98353
98358
|
if (this.modelArr.length) {
|
|
98354
|
-
this.init(this.modelArr);
|
|
98359
|
+
await this.init(this.modelArr);
|
|
98355
98360
|
return;
|
|
98356
98361
|
}
|
|
98357
98362
|
|
|
98358
98363
|
if (this.inserts.length) {
|
|
98359
|
-
this.init(this.inserts);
|
|
98364
|
+
await this.init(this.inserts);
|
|
98360
98365
|
}
|
|
98361
98366
|
},
|
|
98362
98367
|
|
|
98363
98368
|
methods: {
|
|
98364
|
-
init(arr) {
|
|
98365
|
-
// this._insert();
|
|
98369
|
+
async init(arr) {
|
|
98366
98370
|
if (!arr || !arr.length) return;
|
|
98367
|
-
arr.forEach(val => {
|
|
98368
|
-
this._insert(val);
|
|
98369
|
-
});
|
|
98370
98371
|
|
|
98371
|
-
|
|
98372
|
-
|
|
98373
|
-
this.setFit();
|
|
98374
|
-
}, 50);
|
|
98372
|
+
for (let i = 0; i < arr.length; i++) {
|
|
98373
|
+
await this._insert(arr[i]);
|
|
98375
98374
|
}
|
|
98375
|
+
|
|
98376
|
+
this.setFit();
|
|
98376
98377
|
},
|
|
98377
98378
|
|
|
98378
98379
|
_inserts(arr) {
|
|
@@ -98388,7 +98389,7 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98388
98389
|
}
|
|
98389
98390
|
},
|
|
98390
98391
|
|
|
98391
|
-
_insert(dto) {
|
|
98392
|
+
async _insert(dto) {
|
|
98392
98393
|
const {
|
|
98393
98394
|
id,
|
|
98394
98395
|
url,
|
|
@@ -98413,15 +98414,21 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98413
98414
|
zIndex,
|
|
98414
98415
|
width
|
|
98415
98416
|
}, this.map, extractStyles);
|
|
98417
|
+
await lkml.init(this.time);
|
|
98418
|
+
|
|
98419
|
+
if (id) {
|
|
98420
|
+
lkml.setId(id);
|
|
98421
|
+
}
|
|
98422
|
+
|
|
98416
98423
|
this.kmlMap.set(id, lkml);
|
|
98417
98424
|
this.urls.set(id, url);
|
|
98418
98425
|
|
|
98419
98426
|
if (gcj02Url) {
|
|
98420
98427
|
this.gcj02Urls.set(id, gcj02Url);
|
|
98421
98428
|
}
|
|
98422
|
-
}
|
|
98423
98429
|
|
|
98424
|
-
|
|
98430
|
+
this.setBBOXArr(dto.id, lkml.getExtent());
|
|
98431
|
+
}
|
|
98425
98432
|
},
|
|
98426
98433
|
|
|
98427
98434
|
// 刷新
|
|
@@ -98462,7 +98469,6 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98462
98469
|
this.setFitFist(this.gpsType == 1 ? this.bboxGCJ02[0] : this.bbox[0]);
|
|
98463
98470
|
},
|
|
98464
98471
|
|
|
98465
|
-
// bbox.length =1 执行此处
|
|
98466
98472
|
setFitFist(bbox) {
|
|
98467
98473
|
const bbox2 = [bbox[0], bbox[3], bbox[2], bbox[1]];
|
|
98468
98474
|
const bbox3 = [bbox[2], bbox[1], bbox[0], bbox[3]];
|
|
@@ -98564,8 +98570,8 @@ class ryKMLs_RyKMLDto extends base_Base {
|
|
|
98564
98570
|
|
|
98565
98571
|
var ryKMLs_src_component = normalizeComponent(
|
|
98566
98572
|
maps_ryKMLs_srcvue_type_script_lang_js_,
|
|
98567
|
-
|
|
98568
|
-
|
|
98573
|
+
srcvue_type_template_id_12e7fdbe_render,
|
|
98574
|
+
srcvue_type_template_id_12e7fdbe_staticRenderFns,
|
|
98569
98575
|
false,
|
|
98570
98576
|
null,
|
|
98571
98577
|
null,
|
|
@@ -98582,12 +98588,12 @@ ryKMLs_src.install = Vue => {
|
|
|
98582
98588
|
};
|
|
98583
98589
|
|
|
98584
98590
|
/* harmony default export */ var ryKMLs = (ryKMLs_src);
|
|
98585
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
98586
|
-
var
|
|
98587
|
-
var
|
|
98591
|
+
// 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&
|
|
98592
|
+
var srcvue_type_template_id_f6407cd8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
98593
|
+
var srcvue_type_template_id_f6407cd8_staticRenderFns = []
|
|
98588
98594
|
|
|
98589
98595
|
|
|
98590
|
-
// CONCATENATED MODULE: ./src/components/maps/ryKML/src/index.vue?vue&type=template&id=
|
|
98596
|
+
// CONCATENATED MODULE: ./src/components/maps/ryKML/src/index.vue?vue&type=template&id=f6407cd8&
|
|
98591
98597
|
|
|
98592
98598
|
// CONCATENATED MODULE: ./src/components/maps/models/ryKML/index.js
|
|
98593
98599
|
|
|
@@ -98615,6 +98621,11 @@ class ryKML_RyKMLDto extends base_Base {
|
|
|
98615
98621
|
type: Boolean,
|
|
98616
98622
|
default: true
|
|
98617
98623
|
});
|
|
98624
|
+
|
|
98625
|
+
_defineProperty(this, "time", {
|
|
98626
|
+
type: Number,
|
|
98627
|
+
default: 100
|
|
98628
|
+
});
|
|
98618
98629
|
}
|
|
98619
98630
|
|
|
98620
98631
|
}
|
|
@@ -98680,8 +98691,8 @@ class ryKML_RyKMLDto extends base_Base {
|
|
|
98680
98691
|
},
|
|
98681
98692
|
|
|
98682
98693
|
methods: {
|
|
98683
|
-
init(model) {
|
|
98684
|
-
this._insert(model);
|
|
98694
|
+
async init(model) {
|
|
98695
|
+
await this._insert(model);
|
|
98685
98696
|
|
|
98686
98697
|
if (this.isFit) {
|
|
98687
98698
|
setTimeout(() => {
|
|
@@ -98690,7 +98701,7 @@ class ryKML_RyKMLDto extends base_Base {
|
|
|
98690
98701
|
}
|
|
98691
98702
|
},
|
|
98692
98703
|
|
|
98693
|
-
_insert(dto) {
|
|
98704
|
+
async _insert(dto) {
|
|
98694
98705
|
const {
|
|
98695
98706
|
id,
|
|
98696
98707
|
url,
|
|
@@ -98716,7 +98727,13 @@ class ryKML_RyKMLDto extends base_Base {
|
|
|
98716
98727
|
this.kml = lkml;
|
|
98717
98728
|
this.url = url;
|
|
98718
98729
|
this.gcj02Url = gcj02Url;
|
|
98719
|
-
this.
|
|
98730
|
+
await lkml.init(this.time);
|
|
98731
|
+
|
|
98732
|
+
if (id) {
|
|
98733
|
+
lkml.setId(id);
|
|
98734
|
+
}
|
|
98735
|
+
|
|
98736
|
+
this.setBBOXArr(lkml.getExtent());
|
|
98720
98737
|
},
|
|
98721
98738
|
|
|
98722
98739
|
setBBOXArr(bbox) {
|
|
@@ -98806,8 +98823,8 @@ class ryKML_RyKMLDto extends base_Base {
|
|
|
98806
98823
|
|
|
98807
98824
|
var ryKML_src_component = normalizeComponent(
|
|
98808
98825
|
maps_ryKML_srcvue_type_script_lang_js_,
|
|
98809
|
-
|
|
98810
|
-
|
|
98826
|
+
srcvue_type_template_id_f6407cd8_render,
|
|
98827
|
+
srcvue_type_template_id_f6407cd8_staticRenderFns,
|
|
98811
98828
|
false,
|
|
98812
98829
|
null,
|
|
98813
98830
|
null,
|
|
@@ -98824,7 +98841,7 @@ ryKML_src.install = Vue => {
|
|
|
98824
98841
|
};
|
|
98825
98842
|
|
|
98826
98843
|
/* harmony default export */ var ryKML = (ryKML_src);
|
|
98827
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
98844
|
+
// 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&
|
|
98828
98845
|
var srcvue_type_template_id_40f10e06_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
98829
98846
|
var srcvue_type_template_id_40f10e06_staticRenderFns = []
|
|
98830
98847
|
|
|
@@ -99140,7 +99157,7 @@ ryStaticLayers_src.install = Vue => {
|
|
|
99140
99157
|
};
|
|
99141
99158
|
|
|
99142
99159
|
/* harmony default export */ var ryStaticLayers = (ryStaticLayers_src);
|
|
99143
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
99160
|
+
// 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&
|
|
99144
99161
|
var srcvue_type_template_id_8a8c4a70_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
99145
99162
|
var srcvue_type_template_id_8a8c4a70_staticRenderFns = []
|
|
99146
99163
|
|
|
@@ -99374,7 +99391,7 @@ ryStaticLayer_src.install = Vue => {
|
|
|
99374
99391
|
};
|
|
99375
99392
|
|
|
99376
99393
|
/* harmony default export */ var ryStaticLayer = (ryStaticLayer_src);
|
|
99377
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
99394
|
+
// 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&
|
|
99378
99395
|
var srcvue_type_template_id_3448b5a2_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
99379
99396
|
var srcvue_type_template_id_3448b5a2_staticRenderFns = []
|
|
99380
99397
|
|
|
@@ -99568,7 +99585,7 @@ ryWMSs_src.install = Vue => {
|
|
|
99568
99585
|
};
|
|
99569
99586
|
|
|
99570
99587
|
/* harmony default export */ var ryWMSs = (ryWMSs_src);
|
|
99571
|
-
// CONCATENATED MODULE: ./node_modules/cache-loader/dist/cjs.js?{"cacheDirectory":"node_modules/.cache/vue-loader","cacheIdentifier":"
|
|
99588
|
+
// 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&
|
|
99572
99589
|
var srcvue_type_template_id_e00105b0_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c("div")}
|
|
99573
99590
|
var srcvue_type_template_id_e00105b0_staticRenderFns = []
|
|
99574
99591
|
|
package/lib/ryui.umd.js.gz
CHANGED
|
Binary file
|