Typo on line 244: minimum -> maximum

This commit is contained in:
umpc 2016-10-13 06:34:51 -04:00 committed by GitHub
parent 49b32a1637
commit bd2c25987a
1 changed files with 1 additions and 1 deletions

View File

@ -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