/** * 水上客运地图功能组件,通过调用封装好的基础地图组件实现特定业务功能 */ import { fullExtent, clearMap, calculation, changeMap, setCamera, layerControl, layerQuery, addGraphic, draw, getDrawGeometry, addBoats, addBoatHistory } from '@/utils/map/ArcgisUtil' import {GetPjylLinePaths, GetWaterFlightPoints, GetShipRout} from "@/apis/ssky"; // 浦江游览航线 export function pjylLine(isShow){ if(isShow){ GetPjylLinePaths().then(res=>{ for (let i=0;i{ let list = res.data.Rows.list; for(let i = 0; i < list.length;i++){ let lineData = list[i].pointList; let lineName = list[i].name; let points = [] for(let j=0;j{ let rows = res.data.Rows; for (let i=0;i