Commit e1add1a8 authored by youjie's avatar youjie

修复地图

parent feed6f57
...@@ -937,14 +937,6 @@ export default { ...@@ -937,14 +937,6 @@ export default {
}); });
marker.setLngLat(result); marker.setLngLat(result);
marker.addTo(this.map); marker.addTo(this.map);
const geojson = {
type: 'Feature',
properties: {},
geometry: {
type: 'LineString',
coordinates: route
}
};
let currentMarkerLngLat = marker.getLngLat(); let currentMarkerLngLat = marker.getLngLat();
let TripMapList = that.TripMapList.filter(y=> y.MName==x.MName) let TripMapList = that.TripMapList.filter(y=> y.MName==x.MName)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment