Search code examples
ipadios4mkoverlaymkmapview

Use custom map image in UIMapView


I wanna accomplish the following, i wanna display a static map image that i have on UIMapView to use the benefits of the zooming and annotation, i've search very hard and i came up with these solution.

  1. There is a library called route-me that give you the ability to customize the map, change the color of the map, specify a predefined road and building, highlight them, but it didn't help me in my issue.
  2. I've looked on apple example that using the MKOverLay class, HazardMap, KMLViewer but they are not showing how to use an image to replace it with the map.

All i want is to display a map image that i have for a place and use it in UIMapView. can anyone put me in the right direction.

Thx in advance.


Solution

  • I replied to this question in this other post. Maybe it helps you:

    How do I create an image overlay and add to MKMapView?