Domanda

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?

È stato utile?

Soluzione

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

https://github.com/mladjan/GoogleMapsOverlayiOS

Altri suggerimenti

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top