import * as mars3d from "mars3d"; // 地图函数列表 export function mapFun() { const ceshiClick = () => { console.log('ceshi'); alert('ceshi'); }; // 根据坐标点跳转位置 const handlerFlyToPoint = (params) => { window.globalMap.flyToPoint([118.000666,35.11987], {"alt":4269.7,"heading":359.2,"pitch":-51.9}); } const handlerMeasureSurfaceLength = async () => { const graphic = await window.measureTool.distanceSurface({ showAddText: true, exact: false }) } const handlerMeasureLenth = async () => { } const handlerMeasureLength = async () => { const graphic = await window.measureTool.distance({ showAddText: true, label: { type: "div", updateText: function (text, graphic) { graphic.html = `