1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-01-18 19:52:09 +01:00

Decreased map zoom level treshold to 80%

There are evidently more maps that have bigger diferences in bounding box
latitudes which lead to differnt resolutions for the same zoom level in
Mercator projection than maps that would have zoom level differences < 20%.
This commit is contained in:
Martin Tůma 2023-09-15 23:28:55 +02:00
parent 2e7f8dc341
commit a281a68cbd

View File

@ -7,7 +7,7 @@
#include "atlas.h"
#define ZOOM_THRESHOLD 0.9
#define ZOOM_THRESHOLD 0.8
#define TL(m) ((m)->xy2pp((m)->bounds().topLeft()))
#define BR(m) ((m)->xy2pp((m)->bounds().bottomRight()))