I found this solution to draw a circle as a polygon of 360 points:

-(AGSPolygon*) circleWithCenter:(AGSPoint*)point raduis:(double)radius

{

AGSMutablePolygon * p = [AGSMutablePolygon new];

[p addRingToPolygon];

int pointsCount = 360;

double slice = 2 * M_PI / pointsCount;

for(int i = 0; i<pointsCount;i++){

double rad = slice * i;

double px = point.x + radius * cos(rad);

double py = point.y + radius * sin(rad);

[p addPointToRing:[AGSPoint pointWithX:px y:py spatialReference:[AGSSpatialReference spatialReferenceWithWKID:4326]]];

}

return p;

}

The question I have is what is the units of the radius passed in? For example, if I want to draw a circle of raduis 10 miles, what value do I pass in? If I pass in 10, it just draws a really huge circle with radius several multiples of 10!

I tried to look into the sdk api docs and could not find much info, so any help will be appreciated.

At the equator, 1 degree = 69 miles (approx).

So if you want 10 miles, you should use 10/69 as radius