mapCtx.addArc({
id: 1,
start: {
longitude: 121.4413244560202,
latitude: 37.50917259663335
},
end: {
longitude: 121.44547,
latitude: 37.51104
},
color: '#73e6e0',
angle: 45,
// pass: {
// longitude: ul.lng,
// latitude: ul.lat
// },
success: (r) => {
console.log('success-r', r)// 真机调试 打印 addMapArc:ok 但没有任何效果
},
fail: err => {
console.log('fail-err', err)
}
});