We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a36a375 commit 90ee11eCopy full SHA for 90ee11e
src/PolylineAlgorithm/PolylineEncoder.cs
@@ -55,11 +55,11 @@ public Polyline Encode(IEnumerable<Coordinate> coordinates) {
55
// index = 0;
56
//}
57
58
- temp = buffer.Span[position..6];
+ temp = buffer.Span[position..];
59
60
position += PolylineEncoding.Default.GetChars(diff.Latitude, ref temp);
61
62
63
64
position += PolylineEncoding.Default.GetChars(diff.Longitude, ref temp);
65
}
0 commit comments