fix
This commit is contained in:
parent
d535e945ff
commit
1442647132
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue