Thanks so much! Here is a link to the results in action: http://jsfiddle.net/FPby3/
I still need to tweek it a little but it's doing what I need so thank you very much! I shall name the marker array after you!
Hi guys & girls, I'm using Google maps coordinates to draw a line and want to divide the line by its length, giving segments where the length of each segment is equal to 1.
EG:
P1
p1.lat = 54.97435323116719
p1.lng = 54.9742647135445
P2
p2.lat = -1.6116368025541306
p2.lng =...
Hi guys,
I have a really tricky problem here and I'm hoping that there is a math guru here who can help.
The problem
Using Google maps, I need to allow a user to draw a line. This line can be in any direction and basically, I need to determine if the user has drawn the line over a road and if...