Search code examples
iphonemkmapviewopenstreetmap

how to open OpenStreetmap in mkmapview? -iphone


I have gone through certain related answers but dont seem to get correct answer or the answer I need.

As we open googlemap in mkmap view I want to open openstreet map in mkmapview.

If there is any link or sample code showing it please pass it on.

Thanks in advance


Solution

  • MKMapView conforms to Google Map terms and conditions so it uses only google map. You cant integrate OpenStreetMap just like that into MKMapView. Google code has a API RouteME which renders OpenStreetMap in iphone.

    RouteMe also provide a good documentation how to include into our project. So feel free to use that.