|
|
@ -212,7 +212,7 @@ |
|
|
|
// list.length = 100; |
|
|
|
// list.length = 100; |
|
|
|
this.markers = this.locationProcessing(res.data); |
|
|
|
this.markers = this.locationProcessing(res.data); |
|
|
|
this.spareMarkers = JSON.parse(JSON.stringify(this.markers)); |
|
|
|
this.spareMarkers = JSON.parse(JSON.stringify(this.markers)); |
|
|
|
console.log(this.spareMarkers, '////////////////////////') |
|
|
|
// console.log(this.spareMarkers, '////////////////////////') |
|
|
|
// markersArray.forEach((item,index)=>{ |
|
|
|
// markersArray.forEach((item,index)=>{ |
|
|
|
|
|
|
|
|
|
|
|
// }) |
|
|
|
// }) |
|
|
@ -363,8 +363,8 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
mapUpdated(e) { |
|
|
|
mapUpdated(e) { |
|
|
|
let that = this |
|
|
|
let that = this |
|
|
|
console.log('%c 更新', 'font-size:50px;color:red'); |
|
|
|
// console.log('%c 更新', 'font-size:50px;color:red'); |
|
|
|
console.log(e, '*****************************************') |
|
|
|
// console.log(e, '*****************************************') |
|
|
|
// that.mapContext.getScale({ |
|
|
|
// that.mapContext.getScale({ |
|
|
|
// success: function(e) { |
|
|
|
// success: function(e) { |
|
|
|
// // that.$nextTick(function() { |
|
|
|
// // that.$nextTick(function() { |
|
|
|