You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
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.
Joseph Elfelt
unread,
Jan 29, 2012, 2:11:09 PM1/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
I'm curious about this also.
Perhaps it would work for your purpose to use the coords (world
coords?) to calculate the intersection of 2 lines.
Is there a better way?
Marcelo
unread,
Jan 29, 2012, 11:43:36 PM1/29/12
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Maps JavaScript API v3
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/