On May 27, 11:56 pm, Rossko <[email protected]> wrote:
> Test it for validity before use.

Or make sure you always have a latlng. If you get an overlay (and no
latlng), you also get overlaylatlng:

OverlayListeners.push(GEvent.addListener(Map,"click",
function(overlay,latlng,overlaylatlng) {
   if (overlaylatlng) { latlng = overlaylatlng }
   myPano.setLocationAndPOV(latlng);

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