Load google map from this information to iphone?
The way I did this is to create a simple web page on my server that configures google maps and contains a javascript function that takes a location as a string argument. This feature is responsible for configuring Google Maps to display the address.
Then I load the page inside UIWebView
and I create a javascript that executes my javascript function with an argument, something like:
NSString* js = [NSString stringWithFormat:@"setup('%@')", location];
Then I execute it using:
[googleMapView stringByEvaluatingJavascriptFromString:js];
a source to share
You will need a geocode for an address to turn it into GPS coordinates, i.e. latitude and longitude. Google isn't the only web service for this, but you'll probably use some web services for this purpose.
Once you have the coordinates, you can send them to the MapKit component in the iPhone 3.0 SDK, which you can learn more about in the Apple Developer Connection .
a source to share