On Jan 20, 7:49 pm, "[email protected]" <[email protected]> wrote: > On Jan 20, 3:54 pm, Fat Man <[email protected]> wrote: > > > I'm trying to create a "thumbnail" streetview in my infoWindowHtml > > balloon, so that when it is clicked on, a larger streetview will open > > below the map. The thumbnail doesn't load, I get the error "Object > > required". Clicking where the thumbnail *should* appear does in fact > > bring up the large streetview. Here is a link to the test page in > > question: > > >http://tinyurl.com/7knw9t > > The problem is that the infowindow contents isn't added to the DOM > until it is rendered. You need to move this code: > panoMini = new GStreetviewPanorama(document.getElementById > ("svMini")); > panoMini.setLocationAndPOV(latlon, 0); > > Into a function that is executed after the browser has had time to > render the infowindow (so document.getElementById can find the div).
like this: http://www.geocodezip.com/extremewrench_GMapOneTest.html > > -- Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" 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-API?hl=en -~----------~----~----~----~------~----~------~--~---
