> I don't understand the sense of this sentence: "Converts the given map
> bounds to a lat/lng span."

You give it a bounds object, it tells you the "width" of that bounds
in degrees.  Example : from -10 to +30 is a span of 40
from +30 to -10 is a span of 320

I do not think it will give consistent results for your purpose, from
map bounds.  After all, a map spanning more than 360 degrees is
technically nonsense, but that is what you are trying to detect.  I
certainly can't see it being able to distinguish if there are two or
three worlds in view, but I suppose you don't care about that really -
only if > 1 world's worth.

You may need to have code that calculates span from current zoom (to
derive degrees/pixel info) and current map size in pixels.   That
would be capable of  widths > 360 which you could detect and then
substitute a default "one world size" query.

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