CodingWithoutComments
CodingWithoutComments

Reputation: 36148

Calling StreetView in IPhone Maps App from External Application

I'm trying to make an external call to the google maps application on the iphone from my application and send it straight to "streetview" mode from two lat, lon coordinates. I've tried a variety of combinations, but each one just sends me to the safari browser on the iPhone and not to the maps application.

Here is one of those tries:

NSString * latlonString = [[NSString alloc] initWithFormat:@"http://maps.google.com/maps?f=q&source=s_q&hl=en&layer=c&cbll=%@,%@&cbp=12,261.11,,0,5", lat, long];  

For the record, I've successfully been able to call the external maps application to get driving directions.

Has anyone been successful in calling street view mode from an external app?

Upvotes: 0

Views: 986

Answers (1)

Marco Mustapic
Marco Mustapic

Reputation: 3859

I don't think you can. Check the Apple's documentation for all available options for map links.

Upvotes: 1

Related Questions