The GStreetviewPanorama object emits "yawchanged", "pitchchanged", 
"zoomchanged" and "initialized" events. You'd have to write code that 
works out what range of yaw, pitch and zoom settings you wish to allow 
your users to view and use .setPOV() to countermand any attempts to go 
outside that range.

The "initialized" event tells you that the user has moved the streetview 
to a new location. You can either implement a new set of yaw, pitch and 
zoom settings for the new location, or countermand the move with 
.setLocationAndPOV().

-- 
Mike Williams
http://econym.org.uk/gmap



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