Permalink
Browse files

Merge pull request #2 from TomMD/master

Fix some tile bounding.
  • Loading branch information...
2 parents c45e1f8 + 62d20b5 commit 5b7dd4644b8d2d4bfd2a81abc32540aebbb0bc11 robstewart57 committed Sep 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 Data/GPS/Gps2HtmlReport/DrawOsm.hs
@@ -33,7 +33,7 @@ tileNumber latitude longitude =
secant a = 1 / cos a
-initCoords = TileCoords {minX = 1000000, maxX = 0, minY = 1000000, maxY = 0}
+initCoords = TileCoords {minX = 1000000, maxX = -1000, minY = 1000000, maxY = -1000}
determineTiles :: [WptType] -> TileCoords -> TileCoords
determineTiles [] _ = initCoords

0 comments on commit 5b7dd46

Please sign in to comment.