Question

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?

Était-ce utile?

La solution

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

https://github.com/mladjan/GoogleMapsOverlayiOS

Autres conseils

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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top