arcgis var 遍历 Polygon 属性


var array4Ring:Array = (geometry as Polygon).rings;

数据结构为 图片内格式


[
[
{"m":null,"spatialReference":null,"y":45.76632218427849,"z":null,"x":85.09957964091112,"extent":null,"type":"esriGeometryPoint"},
{"m":null,"spatialReference":null,"y":44.65506996177405,"z":null,"x":86.23729024966566,"extent":null,"type":"esriGeometryPoint"},
{"m":null,"spatialReference":null,"y":44.463246661460786,"z":null,"x":84.61009949528416,"extent":null,"type":"esriGeometryPoint"},
{"m":null,"spatialReference":null,"y":45.76632218427849,"z":null,"x":85.09957964091112,"extent":null,"type":"esriGeometryPoint"}
]
]

转载自:https://blog.csdn.net/coolhappiness_rgb/article/details/84343028

You may also like...