Hello superiors:
there are several features, the same area have point and line,how can I get the the geometries of the polygon
how can I get the all geometries of the polygon, can you support the api or function ,thanks very much
Solved! Go to Solution.
Xiaoyunn,
So it sounds like you want to use a QueryTask to query a map service layer and for the query specify the polygon as the geometry for the query. You would repeat the query on the next layer as each geometry type would be on its own map service layer.
Xiaoyunn,
Are you asking how to find if a geometry is inside (contained) by the polygon? How to convert the polyline that closes into a polygon? How to query the geometries of a map service that intersect the polygon, or what?
Dear Robert Scheitlin:
Thanks very much.I means find geometries in a polygon. there is several featurelayer, point an line or other, in a polygon's area ,maybe have point and line , I want the all geometries in the polygon, if I let the featurelayers all show。
thanks again.
Xiaoyunn,
So it sounds like you want to use a QueryTask to query a map service layer and for the query specify the polygon as the geometry for the query. You would repeat the query on the next layer as each geometry type would be on its own map service layer.
Dear Robert Scheitlin:
I know your meaning,thanks verymuch,wish you happy every day,