On Sep 30, 12:46 pm, fable <[email protected]> wrote: > Hi, > > Let me first say this is my first time using API and I am not familiar > with Javascript. > I may have made a silly mistake, but I can't seem to find it. My > polyline seems to be closing itself, in other words the last point > connects to the first. I'd like it not to do that :) > > The line is a series of coordinates that follow a message in a bottle > that was released last year. The beacon is no longer active. > > You can see it live here:http://messagebottleproject.com/ > > Any help/ideas are most welcome - thank you!!!
Google's example doesn't wrap back on itself. http://code.google.com/apis/maps/documentation/javascript/examples/polyline-simple.html If I look at your data, it looks like the polyline is doing what you tell it to. You have the start and end points in there more than once... start= 6.787,-157.363 point 0 = point 453 end[904]= 5.84,124.343 point 451 = point 904 -- Larry -- 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.
