ESRI.ArcGISExplorer.Geometry.Geometry geo = null; if (!serviceIdentifyParams.IsPolygon) { geo = ESRI.ArcGISExplorer.Geometry.Point.CreateFromXmlString(serviceIdentifyParams.PointXMLRepresentation); }else{ ESRI.ArcGISExplorer.Geometry.Polygon pp = ESRI.ArcGISExplorer.Geometry.Polygon.CreateFromXmlString(serviceIdentifyParams.PolyXMLRepresentation); geo = (ESRI.ArcGISExplorer.Geometry.Geometry)pp; }
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.