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.
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ry-vue-map",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "private": false,
5
5
  "main": "lib/ryui.umd.min.js",
6
6
  "description": "ry公共组件库",
@@ -139,6 +139,7 @@
139
139
  color,
140
140
  lineDash
141
141
  });
142
+ this._bingMapEvent();
142
143
 
143
144
  this.$emit('load', {
144
145
  map,
@@ -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" :slicingZoom="13">
8
+ @mapMoveend="mapMoveend($event)" v-if="dto" :boundaryModel="dto" :urls="urls" :bbox="bbox"
9
+ :slicingZoom="13">
9
10
  <template #marker="{mapDto}">
10
- <ry-lines :map="mapDto.map" :startMarkerDto="startMarkerDto" :endMarkerDto="endMarkerDto"
11
- :moveMarkerDto="endMarkerDto" :isShowPlayback="isShowPaly" :model="lineData"
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
- import LineObj from './obj'
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
- trackPlayEvent(e){
152
- console.log(e);
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) {},