mirror of https://github.com/tidwall/tile38.git
Typo on line 244: minimum -> maximum
This commit is contained in:
parent
49b32a1637
commit
bd2c25987a
|
@ -241,7 +241,7 @@ func BBoxBounds(lat, lon, meters float64) (latMin, lonMin, latMax, lonMax float6
|
||||||
lonMax = lonMax
|
lonMax = lonMax
|
||||||
}
|
}
|
||||||
|
|
||||||
// Adjust for wraparound if minimum longitude is greater than 180 degrees.
|
// Adjust for wraparound if maximum longitude is greater than 180 degrees.
|
||||||
if lonMax > math.Pi {
|
if lonMax > math.Pi {
|
||||||
// box 1:
|
// box 1:
|
||||||
latMin = latMin
|
latMin = latMin
|
||||||
|
|
Loading…
Reference in New Issue