I'm doing an application for facebook where there's a google map. I'm
trying to insert a street view into a openInfowindowHtml, but there's
no way. I've tried by de most basic way:
var fenwayPark = new GLatLng(42.345573,-71.098326);
panoramaOptions = { latlng:fenwayPark };
var myPano = new GStreetviewPanorama(document.getElementById("pano"),
panoramaOptions); <- Inserting the <div id="pano" /> into infoWindow,
but nothing appears. (outside infowindow YES, is working).
Also like this:
var smallNode = document.createElement('div');
smallNode.style.width = '280px';
smallNode.style.height = '200px';
smallNode.id = 'pano';
and inserting "smallNode" into infoWindow, but same effect.
Any help will be apreciated, thank you in advance.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---