File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes iOS and the fly likes Draw lines over MapView Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Mobile » iOS
Bookmark "Draw lines over MapView" Watch "Draw lines over MapView" New topic

Draw lines over MapView

Sreelal Hamsavahanan

Joined: Jun 29, 2011
Posts: 4

I am trying to develop an iphone application ,which is using a MKMapView to show a particular area.Now my requirement is to draw a rectangular area over the Mapview and get the (latitude,longitude) of top left ,top right,bottom left and bottom right points.How can i implement this feature using MKMapview.With my limited knowledge i didn't find any option to capture the touch event over Mapview and draw lines.Please let me know how can i do this..

Thanks in advance

Sreelal H
Pratik Goswami
Ranch Hand

Joined: Mar 02, 2009
Posts: 136

Hi Sreelal,

Are you looking something like ➡ this?

Pratik Goswami

iOS * Android Developer
I agree. Here's the link:
subject: Draw lines over MapView
It's not a secret anymore!