문제

any one know how to add an address to apple map,

for example if I want to add this address "Rickmansworth, Hertfordshire WD3, Regno Unito" to map, how can I do that? I do not have latitude or longitude.

I searched in google, I did not find anything useful.

Can anyone help me?

thank you

도움이 되었습니까?

해결책

You need to geocode the address into geographic coordinates. Use one of the geocoding services, like geonames. After getting results from geocoding service, you have to parse them and display as MKAnnotationViews on your MKMapView

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top