onMounted(() => {
window.customMap = mapInit.initMap()
const graphicsLayer = new GraphicsLayer() // 创建一个图层对象
const polyline = new Polyline({
paths: [
[117.227239, 31.820586],
[117.227239, 33.820586],
[119.227239, 31.820586]
]
})
// 图层
const lineGraphic = new Graphic({
geometry: polyline,
symbol: new CIMSymbol({
data: {