diff options
author | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-11-05 20:14:18 +0000 |
---|---|---|
committer | sleske <sleske@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2012-11-05 20:14:18 +0000 |
commit | 80de07d2f7fdb73aef93496ef6d86164f7a563c1 (patch) | |
tree | 1afdf87105b9c7822f0de3ce01ac2ee4bbd4f39e /navit/map | |
parent | 2e34d2a47d88a7271880cef8494eaaf28c3d9a25 (diff) | |
download | navit-80de07d2f7fdb73aef93496ef6d86164f7a563c1.tar.gz |
Fix:core:Introduce constants WORLD_BOUNDINGBOX_* for size of the world.
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@5258 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map')
-rw-r--r-- | navit/map/binfile/binfile.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/map/binfile/binfile.c b/navit/map/binfile/binfile.c index 7bf18d438..a0aac2fe6 100644 --- a/navit/map/binfile/binfile.c +++ b/navit/map/binfile/binfile.c @@ -1484,8 +1484,8 @@ tile_bbox(char *tile, int len, struct coord_rect *r) int overlap=1; int xo,yo; struct coord_rect world_bbox = { - { -20000000, 20000000}, /* lu */ - { 20000000, -20000000}, /* rl */ + { WORLD_BOUNDINGBOX_MIN_X, WORLD_BOUNDINGBOX_MAX_Y}, /* left upper corner */ + { WORLD_BOUNDINGBOX_MAX_X, WORLD_BOUNDINGBOX_MIN_Y}, /* right lower corner */ }; *r=world_bbox; while (len) { |