fix polyline issue

This commit is contained in:
Arnaud Delcasse 2023-03-29 18:10:53 +02:00
parent a2dc346ed5
commit d4ad6d1f4e
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func Decode(encoded *string, precisionOptional ...int) orb.LineString {
} }
// scale the int back to floating point and storeLineString it // scale the int back to floating point and storeLineString it
coordinates = append(coordinates, orb.Point{float64(lat) / factor, float64(lng) / factor}) coordinates = append(coordinates, orb.Point{float64(lng) / factor, float64(lat) / factor})
} }
return coordinates return coordinates