arcgis-android-api

Draw circle with a radius in meter


I need to draw a circle around a point with the ArcGis android sdk, but there is no Circle class only a Polygon. Now my idea was to use the polygon and calculate a number of points around a center point at a certain distance (in meter), but that turned out to be trickier than I thought.

Does anyone have an idea how to do this?


Solution

  • One of the GeometryEngine Buffer options will do what you're looking for. You can find example code here