The example on the documentation page
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/routeboxer/docs/examples.html


shows how to loop though the 'boxes' retured from the boxer call.

You would probably fire off a ajax request off to your server, which would
perform a bounding box search, get the results. One search per box.

The actual demo
http://google-maps-utility-library-v3.googlecode.com/svn/trunk/routeboxer/examples/routeboxer-v3.html
just calls drawBoxes with the list, you need a similar function.




On Wed, Jun 27, 2012 at 10:34 PM, KP <kevlema...@aol.com> wrote:

> 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
> google-maps-js-api-v3@googlegroups.com.
> To unsubscribe from this group, send email to
> google-maps-js-api-v3+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/google-maps-js-api-v3?hl=en.
>

-- 
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 google-maps-js-api-v3@googlegroups.com.
To unsubscribe from this group, send email to 
google-maps-js-api-v3+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-maps-js-api-v3?hl=en.

Reply via email to