问题
How to convert the Address into Latitude and Longitude in Objective C? I want to use Google Maps over there i iPhone.
回答1:
This is called Geocoding. If you are using Google Maps, they provide their own geocoding service.
For a detailed explanation of doing this on the iPhone, with code examples, see this blog post by Björn Sållarp:
- iPad/iPhone forward geocoding API using Google gecoding service
来源:https://stackoverflow.com/questions/3387039/convert-the-address-into-latitude-and-longitude-for-google-maps-in-iphone