fix polyline issue
This commit is contained in:
parent
d4ad6d1f4e
commit
761449b828
|
@ -56,7 +56,7 @@ func Decode(encoded *string, precisionOptional ...int) orb.LineString {
|
|||
}
|
||||
|
||||
// scale the int back to floating point and storeLineString it
|
||||
coordinates = append(coordinates, orb.Point{float64(lng) / factor, float64(lat) / factor})
|
||||
coordinates = append(coordinates, orb.Point{float64(lat) / factor, float64(lng) / factor})
|
||||
}
|
||||
|
||||
return coordinates
|
||||
|
|
Loading…
Reference in New Issue