摘要: 1.比如一个有三个点的对象 let obj = [[1,1],[2,2],[3,3]]; 2.用这三个点的坐标生成一个图层加载到地图上 let features = new Array(); for (let i = 0; i < obj .length; i++) { let point = ne 阅读全文
posted @ 2021-03-24 11:19 maycpou 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1.点 (1)以一个圆来表示点 new Style({ image: new CircleStyle({ radius: 5,//半径 fill: //填充的颜色 new Fill({ color: 'rgba(0, 0, 255, 0.1)' //color: feature.values_.fi 阅读全文
posted @ 2021-03-24 10:10 maycpou 阅读(121) 评论(0) 推荐(0) 编辑