tags:

views:

79

answers:

1

Really hope someone can help me as I'm a bit stuck :S

I have a custom map of an event using the CATiledLayer so users can zoom in and scroll around the map. What I would like to do now is add the functionality to let the user know where they currently are on the map. I know it can be done as I've seen an app do this before. I'm not sure how to go about doing it though, maybe I need to convert lat/lon into pixels but I'm not sure if thats possible (depending on how big the image is, etc).

On another site it was mentioned to find out the boundaries of the map and then I can add pins to the map, but I'm not sure how to go about doing this? Will I need to find every coordinate (lat/lon) within the boundary so I can add the pin of where the user is currently?

If anyone can give me with any advice or pointers, I'd much appreciate it

A: 

You can use the route-me library by adding your own map source class. A good article that explains how to do it is here http://mobilegeo.wordpress.com/2010/07/07/route-me-native-iphone-mapping-framework/

Shaji
Yeah, I've seen route-me but I'm not sure if thats what I'm looking for. What I'm trying to achieve is something like these guys have developed, http://www.upinpoint.com/theme-park-maps.jsp Do you know if route-me can do this?
Peter
@Peter I have not used this library yet. I came across it while researching something similar. It looks like that by using route-me and map2sqlite (for offline maps) you should be able to use custom maps.
Shaji