adding ovelay on a map(objective c)

How to add overlay on a map in objective c? (has any body tried it in iphone os 4.0)?

Answers


here is a good article on using the MKPolyline overlay to add a route type annotation to your map. It should give you an idea how to add any of the other overlays. just implement the

- (MKOverlayView *)mapView:(MKMapView *)mapView viewForOverlay:(id )overlay

on your map delegate and give it the type of overlay your are drawing.


Need Your Help

file_column not creating files, just empty tmp directory

ruby-on-rails ruby-on-rails-plugins

Up to the end of December 2009 everything worked fine, so i assume that after some upgrades on servers (Ubuntu 8.10 and second Ubuntu 9.10) something stopped working.

Wicket - which ORM?

java hibernate orm wicket

I'm looking for an easy-to-use and intergrate ORM for Wicket application. I was thinking about Hibernate. Is it a good choice? What are the possible problems with Wicket/Hibernate? Any other sugges...