Just an idea : an extremely long query for points of interest within
25 miles of itinerary marker 1 OR within 25 mi of itinerary marker 2
OR within 25 mi of itinerary marker 3, etc.

On 4 juil, 09:56, sgiddings <[email protected]> wrote:
> Hello,
>
> Can anyone please advise me with this scenario.
> I have amySqldatabase of POI points within a local region.
>
> When a user requests an itinerary, I would like to be able to show the
> relevant POI markers which are within a given distance of the
> itinerary - eg: 25 miles from any given point on the itinerary.
>
> I have seen that it is possible to obtain all the LatLng points from
> within the DirectionsRoute::route array.
>
> Could I then pass this as a LINESTRING object to an SQL SELECTquery?
> Would anyone have a working example of the best way to do this ?
>
> Hope someone can help me with this.

-- 
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.

Reply via email to