How do I implement a selectable world map?
- by Clay
I want to have a selectable map of the world, preferably zoomable, in a cocos2d project. When I tap on a country, I want that country to be selected so that I can perform some other operations with it. It seems that the best approach would be to use a vector world map, but I'm unsure how to implement this with cocos2d. Other options include using map tiles, but it seems that still would require the implementation of country polygons for tap/click detection.
Depending on user input, I want to add icons to various countries on the map.
What is a good way to approach the implementation of this type of map?