Skip to content

Commit c653afc

Browse files
committed
Be exact. Very exact.
1 parent 906506e commit c653afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/GISTools/Other/MapTile.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ public struct MapTile: CustomStringConvertible, Sendable {
254254
longitude -= 360.0
255255
}
256256

257-
latitude = min(85.0511, max(-85.0511, latitude))
257+
latitude = min(85.05112877980659, max(-85.05112877980659, latitude))
258258

259259
longitude /= 360.0
260260
longitude += 0.5

0 commit comments

Comments
 (0)