简体   繁体   中英

Custom Map using iPhone MapKit

I am attempting to use MapKit to create a custom map (similar to this concept http://mapwow.com/ ) using an image instead of the google maps image. This is so we can include the gps functionality and the pins functionality. I have looked in the documentation and there does not appear to be a standard way of doing it. Is there a way to do this using MapKit or has someone found a way to achieve something similar?

You can't currently use anything other than the Google Maps with MapKit.

Dmytro has already pointed to useful links that provide alternatives, particularly the route-me library , but there's also the CloudMade API which provides another alternative.

If you want to roll your own, you may find the CATiledLayer class helpful.

You can take a look at route-me project. It allows developer to use custom map sources such as OpenStreetMap , CloudMade etc and supports pins. BTW CloudMade has a map style edito r which might be useful for you

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM