How do I add an arc over the map? I want to add something like a quad curve over the map connecting two points but I am not sure which method should be overridden after subclassing AGSPolyline or AGSGeometry. In mapkit, I can override "createPath:" method in MKOverlayPathRenderer subclass for this. Is there something similar here?
Unfortunately, we do not yet (v10.2.4) support true curves in our geometry objects; they are based on discrete vertices. We do plan to add support for curves in a future release. If you have a bezier curve already, you will need to "flatten" it , get its vertices, and add to a polyline/polygon geometry. On OSX, NSBezierPath has a handy function bezierPathByFlatteningPath . However, on iOS, UIBezierPath does not seem to have anything similar. Here's a stack overflow post that you may find helpful : ios - Flattening a CGPath - Stack Overflow
Thanks for the reply. When can we expect the next release with this feature? Flattening is not an option for us as the business requirement is to have an arc drawn and polyline is not helping.