how to highlight countries in ios maps

后端 未结 1 1613
闹比i
闹比i 2021-01-30 23:37

I am building an app in which I have to highlight some countries dynamically in the world map. \"like

相关标签:
1条回答
  • 2021-01-31 00:16

    You want to look into the Mapbox iOS SDK which will allow you to do this and more with a MapKit-like API. In particular, you will want to quickly make a custom map with TileMill using the provided Natural Earth data set for world country borders, enable UTFGrid interactivity so that the tapped regions can be identified, and use the RMShape class on an RMAnnotation onto the map view to add/color country polygons as needed. This sounds a little complex but the tools exist, are entirely free and open source, and I can help you with this process.

    0 讨论(0)
提交回复
热议问题