摘要: 实现效果 代码如下 const setPoint = () => { const data = [ { id: 11, poi: [120.28985, 31.54225], name: '金塘泵站' }, { id: 22, poi: [120.28985, 31.54725], name: '朝 阅读全文
posted @ 2023-09-19 18:01 ZerlinM 阅读(268) 评论(0) 推荐(0)
摘要: 在Arco Design组件库中,table组件 默认只有行的边框,如下图: 文档中 bordered 属性的描述: 那么我们给bordered添加 { cell: true } 即可,修改代码如下: <a-table :bordered="{ cell: true }" :columns="col 阅读全文
posted @ 2023-09-19 15:03 ZerlinM 阅读(606) 评论(1) 推荐(1)
摘要: 在地图做面积测量时竟然出现了负值,查阅资料后发现: ArcGIS默认顺时针图形为正,手工画polygon的时候不管怎么画结果都是顺时针的。所以一般负值的出现是转换过程出现问题,polygon是由ring组成的,ring则是有更小的segement(line,circularArc,elliptica 阅读全文
posted @ 2023-09-19 13:21 ZerlinM 阅读(2343) 评论(0) 推荐(0)
摘要: 1、在视图mapView 上添加的点线面 // 删除所有 mapView.graphics.removeAll(); // 删除一个 const pointGraphic = new Graphic({geometry, symbol}) mapView.graphics.remove(pointG 阅读全文
posted @ 2023-09-19 09:07 ZerlinM 阅读(431) 评论(0) 推荐(0)