I have implemented the Googlemaps using Googlemaps API.
But in streetview I am not able to get "X" button at the top right
corner.
Pls use the below link to see the my Gmap screenshot
http://picasaweb.google.com/kuldeep.oli/Desktop#5459968950311559634
My observation :
I m calling the below function for streetview
==============================================================================
function showPanorama() {
if (clickedPixel)
var position =
map.fromContainerPixelToLatLng(clickedPixel)
else
var position = point;
mapDivCtrl = document.getElementById('map');
contextmenu.style.visibility = "hidden";
createOverLayStreetDiv();
var opt = { latlng: position, enableFullScreen: true };
var addressButton = document.getElementById("address" );
var goButton = document.getElementById("Go!");
var exitButton = document.getElementById("Exit Street View");
exitButton.style.display='inline';
addressButton.disabled = true;
goButton.disabled = true;
street = new GStreetviewPanorama(dvStreetViewMap, opt);
GEvent.addListener(dvStreetViewMap, "error",
handlePanoramaError);
}
==============================================================================
ps: line > var opt = { latlng: position, enableFullScreen: true };
I believe this is to enable fullscreen which is @ the top right corner
Similarly in you code there might code for "X"
Could pls any one suggest me how to add "X" button which will exit the
streetview .
Thanks in advance,
Kuldeep
--
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.