Michael, Can you provide instructions for step 3? I have scoured the web for an example of Routeboxer in action so that I can build a tool that will let people map from "A" to "B" and find POIs within a certain distance. I've copied the Google code and recreated it, but all I get is a map with a box drawn on it.
Thanks for any help you can provide! - KP On Thursday, June 2, 2011 12:19:35 PM UTC-4, michaeld42 wrote: > > > Tejas, > > There must be a lot of different ways to do this, and the 'best' way > would depend on a lot of different factors, but Routeboxer produces a > set of LatLngBounds objects, so to use that I'd proceed as I already > outlined above: > 1. Use Routeboxer to get set of bounds > 2. Get list of all markers from database > 3. Loop through the markers and bounds to see if each marker is in any > of the bounds (use the 'contains' method documented in the API). > > - Michael > -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" group. To view this discussion on the web visit https://groups.google.com/d/msg/google-maps-js-api-v3/-/eAYgSTGJFuMJ. 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.
