Hi,
How do I make the streetview flash, transparent?
Presently in google chrome, the street view appears above other popup
divs in my site.
Following is the code snippet used :
<script type="text/javascript">
function initialize() {
var myPano = new GStreetviewPanorama(document.getElementById
("pano"));
fenwayPark = new GLatLng('40.6344797','-74.0231810');
myPOV = {yaw:370.64659986187695,pitch:-20};
myPano.setLocationAndPOV(fenwayPark, myPOV);
GEvent.addListener(myPano, "error", handleNoFlash);
}
function handleNoFlash(errorCode) {
if (errorCode == 603) {
alert("Error: Flash doesn't appear to be supported by your browser");
return;
}
}
initialize();
</script>
<div name="pano" id="pano" style="width: 300px; height: 200px;"></
div><br />
Thanks,
Vipin
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---