Hello,

I am currently laoding a streeview panorama with the following code:

if (document.getElementById('gf_streetView')){
        var panorama = new
google.maps.StreetViewPanorama(document.getElementById('gf_streetView'),
{navigationControl: true, enableCloseButton: false,addressControl:
false,linksControl: true,visible: true});
        panorama.setPosition(markerArg.getPosition());
}

Actually if "markerArg.getPosition()" used in the setPosition method,
dont have any streetview a grey rectangle is drawn with the Streetview
controls. My goal is if no streetview is available, to show a text
like "No Streetview here".

How can I test the availability of the streetview ?

Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.

Reply via email to