Skip to content

Commit

Permalink
Merge pull request #2 from TomMD/master
Browse files Browse the repository at this point in the history
Fix some tile bounding.
  • Loading branch information
robstewart57 committed Sep 3, 2011
2 parents c45e1f8 + 62d20b5 commit 5b7dd46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Data/GPS/Gps2HtmlReport/DrawOsm.hs
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ tileNumber latitude longitude =


secant a = 1 / cos a 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 :: [WptType] -> TileCoords -> TileCoords
determineTiles [] _ = initCoords determineTiles [] _ = initCoords
Expand Down

0 comments on commit 5b7dd46

Please sign in to comment.