/*绘制多边形*/
sketchViewModel = new SketchViewModel({
view: view,
layer: tempGraphicsLayer,
pointSymbol: {
type: "simple-marker", // autocasts as new SimpleMarkerSymbol()
color: "#F44336",
size: "12px",
outline: { // autocasts as new SimpleLineSymbol()
color: [255, 0, 0, 0.9],
width: 2
}
},
polylineSymbol: {
type: "simple-line", // autocasts as new SimpleLineSymbol()
color: "#F44336", //
width: "4",
style: "solid",
},
polygonSymbol: {
arcgis api for js 4 线测量
最新推荐文章于 2024-06-27 01:24:19 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)