ry-vue-map 0.4.1 → 0.4.2
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 +46 -43
- 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 +46 -43
- package/lib/ryui.umd.js.gz +0 -0
- package/lib/ryui.umd.min.js +4 -4
- package/lib/ryui.umd.min.js.gz +0 -0
- package/package.json +1 -1
- package/src/components/maps/ryOfflineMap/src/index.vue +1 -0
- package/src/views/map/index.vue +12 -9
package/lib/ryui.umd.min.js.gz
CHANGED
|
Binary file
|
package/package.json
CHANGED
package/src/views/map/index.vue
CHANGED
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
:isCrossHair="isRyMapTool" :isRight="true" :isRyMapTool="true" @drawSuccess="drawSuccess"
|
|
6
6
|
@drawError="drawError" :isShowRangingTool="true" :isShowDrawTool="isRyMapTool" :bindMapClick="true"
|
|
7
7
|
@mapClick="mapClick($event)" @crossHairClick="crossHairClick($event)" :bindMapMoveend="true"
|
|
8
|
-
@mapMoveend="mapMoveend($event)" v-if="dto" :boundaryModel="dto" :urls="urls" :bbox="bbox"
|
|
8
|
+
@mapMoveend="mapMoveend($event)" v-if="dto" :boundaryModel="dto" :urls="urls" :bbox="bbox"
|
|
9
|
+
:slicingZoom="13">
|
|
9
10
|
<template #marker="{mapDto}">
|
|
10
|
-
<ry-lines
|
|
11
|
-
:moveMarkerDto="endMarkerDto" :isShowPlayback="isShowPaly" :
|
|
11
|
+
<ry-lines :map="mapDto.map" :startMarkerDto="startMarkerDto" :endMarkerDto="endMarkerDto"
|
|
12
|
+
:moveMarkerDto="endMarkerDto" :isShowPlayback="isShowPaly" :linenIsert="lineData"
|
|
12
13
|
@trackPlayEvent="trackPlayEvent($event)">
|
|
13
14
|
</ry-lines>
|
|
14
15
|
</template>
|
|
@@ -39,7 +40,7 @@
|
|
|
39
40
|
import RyClustersMarker from '@/components/maps/ryClustersMarker/src/index.vue';
|
|
40
41
|
import RyPolygonGeo from '@/components/maps/ryPolygonGeo/src/index.vue';
|
|
41
42
|
import geoJson from "./330112";
|
|
42
|
-
|
|
43
|
+
import LineObj from './obj'
|
|
43
44
|
import RyLines from '@/components/maps/ryLines/src/index.vue';
|
|
44
45
|
|
|
45
46
|
export default {
|
|
@@ -148,16 +149,17 @@
|
|
|
148
149
|
onShowPaly(b) {
|
|
149
150
|
this.isShowPaly = b;
|
|
150
151
|
},
|
|
151
|
-
|
|
152
|
-
|
|
152
|
+
trackPlayEvent(e) {
|
|
153
|
+
console.log(e);
|
|
153
154
|
},
|
|
154
155
|
load(obj) {
|
|
155
156
|
console.log(obj);
|
|
156
157
|
this.lMap = obj.mapServices;
|
|
157
158
|
this.map = obj.map;
|
|
158
|
-
setTimeout(r=> {
|
|
159
|
-
this.lineData=LineObj;
|
|
160
|
-
},3000);
|
|
159
|
+
setTimeout(r => {
|
|
160
|
+
this.lineData = LineObj;
|
|
161
|
+
}, 3000);
|
|
162
|
+
this.lineData = LineObj;
|
|
161
163
|
},
|
|
162
164
|
drawSuccess(obj) {
|
|
163
165
|
this.polygonModel = {
|
|
@@ -171,6 +173,7 @@
|
|
|
171
173
|
},
|
|
172
174
|
drawError(obj) {},
|
|
173
175
|
mapClick(e) {
|
|
176
|
+
console.log('ee========',e);
|
|
174
177
|
// alert(e);
|
|
175
178
|
},
|
|
176
179
|
onLoad(e) {},
|