Given a bounding box(with SW and NE geopoint) and a geopoint How should I check if the geopoint is in the bounding box? Do I need to consider the bondary cases? Can I just do the followings?
geopoint.lat <= NE.lat geopoint.lat >= SW.lat geopoint.lng >= NE.lng geopoint.lng >= SQ.lng --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to google-maps-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---