Many thanks for your response. No, I don't have any special treatment for IE yet.
Opening the StreetViewPanorama from a marker works even in IE as you can see here: http://yukonlive.ca/yukonlive-war/yukonlive/home.faces so I think the problem is somehow with the InfoWindow. The Javascript callback fro the click event for the link in the InfoWIndow looks like this: /* Open streetview in map */ function openStreetview(xhr, status, args) { var start = new google.maps.LatLng(args.latitude, args.longitude); var client = new google.maps.StreetViewService(); client.getPanoramaByLocation(start, 50, function( result, status) { if ( status == google.maps.StreetViewStatus.OK) { var map = gmap.getMap(); var panorama = map.getStreetView(); panorama.set('addressControl', false); panorama.setPosition(start); panorama.setPov({ heading: args.heading, pitch: args.pitch, zoom: args.zoom }); panorama.setVisible(true); } else { alert("There is not street view available for this location!"); } }); } On Wed, Dec 8, 2010 at 9:45 AM, [email protected] <[email protected]>wrote: > On Dec 8, 9:20 am, bardu <[email protected]> wrote: > > Hi there, > > > > opening a StreetViewPanorama from an InfoWindow works in all major > > browsers (even on Android), but not in IE8. > > Doesn't work in IE6 either. Are you doing something that doesn't > account for IE's non-standard behaviors? > > > > > An example can be fond at > > > > http://yukonlive.ca/yukonlive-war/highways/fishing.faces > > > > Is this a known issue? Are there any work-a-rounds? > > I was going to suggest this: > > http://groups.google.com/group/google-maps-js-api-v3/search?group=google-maps-js-api-v3&q=emulate+IE7 > > but it looks like it doesn't work in any version of IE. > > Did you "forget" to declare the gmap javascript variable? That is the > id of a div in your map so IE helpfully creates a javascript variable > to allow you to access it, which may not have a .getMap method. > > -- Larry > > > > > Thanks. > > Stephan > > -- > You received this message because you are subscribed to the Google Groups > "Google Maps JavaScript API v3" group. > To post to this group, send email to > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-maps-js-api-v3%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-js-api-v3?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
