// 绘制行驶区域
drawServiceList = (list)=>{
let serverList = [];
list.forEach((item)=>{
serverList.push(new window.BMap.Point(item.lon,item.lat));
})
// 创建多边形
let polygon = new window.BMap.Polygon(serverList, {
strokeColor:"blue", strokeWeight:2, strokeOpacity:0.6
});
this.map.addOverlay(polygon);
}