Re: Polylines won't work
I ended up tossing that line, since the points are already read out of
the file in the "processing" section of the code, after the file is
served up to the javascript. The script "should" collect the points
into the variable polypoints, the length is calculated, and then both
values are passed into the polylineMaker() function. Once there, a new
variable, points, is declared as an empty array. A for loop loops
through the polypoints data, and pushes each set of values into the
points array. The loop closes, and the map.addOverlay is used to add
the polylines. Still isn't working. My thought is that the problem may
lay in the polypoints variable as it is being passed to the function,
but I am not sure. Any ideas?
~Jared
0 Comments:
Yorum Gönder
<< Home