Thanks for the help. I've already begun filtering though the (large
amount of) code. I'm sure I'll run into some problems along the way
but this is definitely a great starting point

On Feb 20, 2:57 am, marcelo <[email protected]> wrote:
> On Feb 20, 8:28 am, Kyle Decot <[email protected]> wrote:
>
> > Very interesting. Just what I was looking for. Now to start sifting
> > through the code :) Thanks for the help!
>
> Kyle,
>
> The 'magic' is actually done on the server side.
> First you get directions, and then, when you select one of the
> checkboxes, the function getPOIs() gets called.
> This function reads the polyline and sends the points to the server in
> a POST request.
>
> On the server, a primitive method is used.
> The Perl script builds a query consisting of a UNION of SQL statements
> similar to the radius search here:http://maps.forum.nu/gm_drag_polygon.html
> repeating the same SQL statement for each point in the polyline.
>
> There are smarter search methods that can be used, but MySQL, (on a
> cheap hosting solution), performs well, even with this huge and clumsy
> UNION statement. :-)
>
> --
> Marcelo -http://maps.forum.nu
> --
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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