On Mar 26, 1:19 am, stu <[email protected]> wrote:
>
> I now need to try and detect when any part of a journey enters /
> leaves one of several streets.
>
> I haven't found any simple way of a line on an overlay interacting
> with coords on the map in a way that would help.


Instead of thinking about complex geometry, would it not be good
enough to parse and analyze the returned text, looking for the street
name in question?

--
Marcelo - http://maps.forum.nu
--





> The only thing that
> seems potentially useful is using the 'point in a polygon', although
> it seems this would be a lot of work (both for me and for the browser)
> - draw the streets as narrow polygons; traverse the polyline and at
> every 10metres or so, check if the point coord has entered one of the
> polygons (streets).
>
> Does anyone have experience as to other ways to attempt this, or
> whether my theoretical solution above is worth pursuing or would be
> too intensive for the browser? The current app is running on an
> internal server, but not necessary to view for this question, I think.
>
> Thanks in advance for any suggestions
> cheers
> ...stu

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