I agree with Jeff. If you run test using only the first 20 coords, line will not 'close' itself.
On Sep 30, 2:12 pm, JKurtock <[email protected]> wrote: > Right in the middle of your array of LatLngs, you have this sequential > pair:n te > new google.maps.LatLng(6.114000000000001, 124.52400000000002), > new google.maps.LatLng(6.787000000000001, -157.363), > That's a longitude jump of some 47 degrees, which is a long way for a > bottle to go in one day! > > About a dozen coordinates later, the longitude switches back to a > sequence of positive longitudes. > > - Jeff > > 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!!!- Hide quoted text - > > - Show quoted text - -- 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.
