Hi there,
I have incorporated streetview function in my pages, but streetview
layer (the blue lines) are always visible, confusing global view.
Is possible to add a button like map, sat, hybrid to activate
streetview option?
Maybe like the yellow man in google maps?

here's my code (not important fo the question):
if (GBrowserIsCompatible()) {
                        var myPano = new
GStreetviewPanorama(document.getElementById("pano"));

                        map = new GMap2(document.getElementById("map"));
                geocoder = new GClientGeocoder();
                        map.setCenter(new GLatLng(40.40, 9.37), 8);

                        svOverlay = new GStreetviewOverlay();
                        map.addOverlay(svOverlay);


                        GEvent.addListener(map,"click", 
function(overlay,latlng) {
          myPano.setLocationAndPOV(latlng);
                                                                                
                                                         });

                        function handleNoFlash(errorCode) {
                                if (errorCode == FLASH_UNAVAILABLE) {
                                alert("Error: Flash not supported");
                return;
                                                                                
                        }
                                                                                
                }

thank you a lot

-- 
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.

Reply via email to