Select to view content in your preferred language

Visualize ploygons for area calculation

148
2
07-25-2024 05:32 AM
AR01
by
New Contributor II

Hi,

Is there a sample or if there is a clear way to visualize the polygon area created by the ArcGISPolygonBuilder?

 

I want to visualize the area that the of the polygon calculated when using ArcGISGeometryEngine.AreaGeodetic.

0 Kudos
2 Replies
Jade
by Esri Contributor
Esri Contributor

This sample is in our list. Could you elaborate on your use case? Do you have the vertices of polygon/polygons, and would like to calculate the area of the polygon? 

0 Kudos
Jade
by Esri Contributor
Esri Contributor

A geometry sample is coming. In the meantime if you still have questions, you should use ArcGISPolygonBuilder to create the polygon. In order to visualize them, you can use Unity's line renderer . Think it as that Unity provides the way to render it and we provide the way to do calculation (like the area calculation you mentioned) and spatial analysis (such as intersect, union, etc.). 

0 Kudos