tags:

views:

54

answers:

1

Hi , I am developing an application for iPhone which displays a map view .I need to draw a polygon on the map view and get the details of that area.Looking for a solution.. Thanks in advance

+1  A: 

You could place a transparent UIView on top of your MKMapView instance.

Draw on your UIView using Quartz methods. See the QuartzDemo example for source code.

If you keep a 1:1 mapping between points drawn in your UIView and geographic coordinates in your MKMapView you should be able to do reverse geocoding and the like on areas of interest inside the polygon.

Alex Reynolds