I think iOS detects any link to google maps and passes that to the mapping
application.  This is possibly a requirement of their agreement with
Google, and I'd be curious to see if this behavior changes in iOS 6.  Even
if you explicitly type in maps.google.com in mobile safari, the mobile maps
UI does not give you a street view option.

You can get into street view from the maps app by clicking on a pin, but I
don't know if there is any way to automate this from an external link

I know this doesn't really answer your question, but if your goal is to
have street view on your device it appears that both Apple and Google are
working against you

On Wed, Jun 27, 2012 at 9:06 AM, Alex White <[email protected]> wrote:

> Hi all,
>
> a small bit of history, I have an existing application that currently runs
> on MS windows it is database of points of interest, the application has a
> lot of users, each of these users uses google with the street view option
> to find these places of interest then using the link button on the page
> they copy and paste the actual street view links into their databases, this
> in most cases is the proper image of the point of interest not a map view.
>
> for example
>
>
> http://maps.google.co.uk/maps?q=East+Ferry+Road,+Poplar&hl=en&ll=51.491084,-0.030985&spn=0.000053,0.058622&sll=51.491843,-0.007523&sspn=0.007642,0.029311&vpsrc=0&t=m&z=15&layer=c&cbll=51.491166,-0.014654&panoid=RH906-yvUj2Wv3WzjuXNWw&cbp=12,183.75,,1,1.82
>
> these databases contain up to 20,000 links like the one above so moving
> over to another system really is not an option considering that most of the
> work is still carried out on the PC's and these links are moved onto the
> iPhone/iPad for review later.
>
> I am not getting this to work properly in the UIWebview it is converting
> it into some sort of mapping app, this is not what I want it to do, I just
> want the UIWebview to display the URL I am passing and provide the results.
>
> I don't mind if I have to shell out to safari but that does not seem to
> work either.
>
> UIWebView
>
> NSUrl nsurl = new NSUrl(_address);
> NSUrlRequest req = new NSUrlRequest(nsurl);
> HtmlViewer.LoadRequest(req);
>
> openURL
>
> UIApplication.SharedApplication.OpenUrl (new NSUrl (url));
>
> I have tried both on the simulator and physical device, I know that Apple
> are moving away from google maps but this should still work as it is not
> really using the API as it it is web driven.
>
> Any ideas.
>
> thanks
>
> Alex
>
>
>
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to