On Dec 19, 1:19 pm, rednoise <[email protected]> wrote:
> Given one bounding box, how is it possible to know if another one
> overlaps with it?

API v2 has this method:
http://code.google.com/apis/maps/documentation/javascript/v2/reference.html#GBounds.containsBounds
(and also for a point))

API v3 has a few more useful methods


> Is there an api method for this? Or do i have to
> come up with an algorithm?
>
> Would this be considered "collision detection"?

Not by itself.  In fact I can't think of any reason it would be used
for "collision detection", but if that is what you are using it for,
then it would be...

  -- Larry

>
> Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API V2" 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