> So, if I was to use a "Bounding Box" to determine if the locations in > my database are within the Bounding Box I would need the other two > corners that are no provided.
It's easy to work that out if you remember it only takes two corners to define a box ; you can extract the w part of sw and the n part of ne - and put them together to yield nw However, for finding database records contaned within a given box its only arithmetic requiring the n s e w components ... SELECT ... WHERE lat > s AND lat < n AND long > w .... If your searches might go near the 180/-180 antimeridian you need to expand that a bit to test for a box crossing the 180/-180 boundary and split into two. That is easier than it sounds, but may not be needed at all in many "single country" use cases. -- 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.
