Вопрос

With iOS 6 can we still use Google's API to geocode addresses? I vaguely recall that Google's licensing requires the results to be displayed on Google maps, which is obviously not possible in iOS 6.

I have found the built in CLGeocoder to be hit & miss, often not returning results for the simplest of searches.

Another thing I'm looking for is geocoding / reverse geocoding with results in the local language. Is this possible with CLGeocoder?

Это было полезно?

Решение

You can try to display the Goolge Maps as an overlay. Here an example from github

https://github.com/mladjan/GoogleMapsOverlayiOS

Другие советы

You are correct that the Google API for geocoding requires results to be displayed on a Google map.

CLGeocoder result quality hopefully will improve rapidly now that users are giving Apple feedback for maps.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top