How big are the lines?

If they are small then they can be treated as 2D lines on a plane and
the problem is solved in a cartesian coordinate system, which is high
school math:
http://paulbourke.net/geometry/lineline2d/

If they are big then you might want to treat them as 3D, or great
circles on a sphere:
http://geospatialmethods.org/spheres/GCAIntersect.html

Either way, a search in Google yields plenty of relevant results.

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


On Jan 28, 4:25 am, Marino Gastelurrutia <[email protected]> wrote:
> Is there any nice way to find the intersection of two segments in the map?
>
> I've got each segments as a Polyline with one path. I've searched for days,
> but found nothing.
>
> Thanks.

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