3d27b4ea00
The codec is always set in load(), use the default constructor
2023-12-21 17:27:27 +01:00
502a7b4129
Do not have a separate class/file for ENC style retrieving, move
...
the stuff to the ENC raster tile constructor
2023-12-21 16:57:11 +01:00
6f32c73684
Added infinitive recursion assert
2023-12-21 16:55:42 +01:00
829d85a70a
Optimize TextCodec initialization
...
QTextCodec initialization is very slow due to it's broken caching in Qt when
ICU is enabled. Make TetCodec initialize fast anyway as it may be used very
often in IMG maps (every LBL subfile has it's own codec!).
2023-12-21 01:31:44 +01:00
bff27df10c
Fixed race conditions on local static data
2023-12-21 01:13:36 +01:00
112dc59cf2
Fixed broken map scale (ruler) on HiDPI maps
2023-12-18 20:35:55 +01:00
aa892f6c3f
Limit the overzoom by the resulting tile size rather than number of levels
...
Huge sizes may cause broken rendering and cache ping-pong. Do not allow
resulting tile sizes > 4096x4096px.
2023-12-18 20:32:00 +01:00
c1c8f6303c
Code cleanup
2023-12-11 21:13:11 +01:00
5fcc27c176
Fixed broken TMS maps rendering
2023-12-11 20:31:13 +01:00
77e9fae19d
Asynchronous rendering of online vector maps
2023-12-11 20:11:16 +01:00
148fc76d5a
Added support for online vector maps overzoom
2023-12-11 18:54:46 +01:00
6f1f5fd965
Limit the overzoom to max 3 levels
2023-12-10 15:34:39 +01:00
58cd2a826d
Added support for MVT overzoom
...
Requires QtPBFImagePlugin version 2.7
2023-12-10 15:24:39 +01:00
5525ba6e8c
Code cleanup
2023-12-10 08:51:18 +01:00
63d3558b14
Provide the zoom level to QImageReader when fetching the tile size
...
Although technically not needed here, it workarounds the issue with the broken
Qt SVG imageformat plugin (QTBUG-119910).
2023-12-10 08:46:26 +01:00
eee4f31369
Cosmetics
2023-12-09 18:48:44 +01:00
bac55e317b
Added workaround for broken Qt SVG image plugin colliding with the MVT plugin
2023-12-09 18:00:24 +01:00
c4bd3d39d1
Fixed possible double delete
...
QCache takes ownership (deletes the object) even if insert returns false!
2023-11-26 12:32:14 +01:00
6d03834167
Improved error reporting
2023-11-26 10:51:37 +01:00
cbca92513b
Fixed crash on empty MBTiles files
2023-11-26 09:07:08 +01:00
0a5d5315c0
Code cleanup
2023-11-20 23:31:42 +01:00
95d354f10c
Fixed map bounds limiting
2023-11-18 23:55:58 +01:00
aedbc99a6c
Improved MBTiles map loading performance when metadata table present
...
+ Fixed zoom limiting
2023-11-18 23:29:18 +01:00
04f9457085
Fixed bounds limiting
2023-11-18 21:32:30 +01:00
bbc03ae59f
Render MBTiles maps asynchronous if they include vector tiles
2023-11-17 17:39:33 +01:00
059ed3aa14
Dothe QImage -> QPixmap transformation in parallel
2023-11-17 16:17:53 +01:00
6c50402423
Display ferry line names
2023-10-23 21:57:01 +02:00
f24e70dc91
Fixed maximal lines angle check
2023-10-22 23:45:10 +02:00
e1e0392917
Discard empty segments
2023-10-22 20:42:05 +02:00
e63fbffe08
Silenced compiler warnings
2023-10-10 23:05:15 +02:00
78240787ab
Fixed line splitting algorithm
2023-10-10 08:11:08 +02:00
197c3b91be
Fixed/improved path label layout algorithm
2023-10-09 21:58:03 +02:00
b123981dde
Fixed llBounds() functions with broken signatures
2023-09-25 18:20:37 +02:00
0531389cd8
Fixed storing of WMTS tiles with file system incompatible tile matrix names
2023-09-16 14:29:09 +02:00
a281a68cbd
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%.
2023-09-15 23:28:55 +02:00
2e7f8dc341
Fixed map resolution computation for maps > world/2
2023-09-15 23:28:16 +02:00
d310399b4f
Fixed Qt6 build
2023-09-14 19:02:19 +02:00
845a4b2921
Yet another TrekBuddy compatability enhancement & fixes
...
+ related map API refactoring
2023-09-14 18:36:03 +02:00
00fff55cd3
Check for bounds overflow in the computed/approximated case
2023-09-13 22:33:14 +02:00
722f3acb1e
Support all variants of TrekBuddy maps/atlases
...
Added support for gmi calibration files and arbitrary named tba/map/gmi files.
2023-09-13 20:02:24 +02:00
b38cf31920
Allow arbitrary .map file names in TrekBuddy TAR maps
2023-09-12 22:05:42 +02:00
2884c39367
Contiguous zones
2023-09-12 08:47:39 +02:00
1124a1adb4
Distinguish silos and tanks
2023-09-10 11:41:38 +02:00
d1e632523a
Refactoring
2023-09-08 19:26:46 +02:00
b1f104c2ec
Added support for ENC atlases (catalogues)
2023-09-07 09:31:23 +02:00
0f26114f5d
Two-way radio reporting points
2023-09-03 10:59:43 +02:00
e34f77f1a1
Use the real file names for suffix extraction on Android
...
Many file URLs/paths that are passed to GPXSee on Android are unusable for
extracting the file suffix due to the Android file name mangling. Use
the converted "display names" for suffix extraction where possible.
2023-08-28 20:18:38 +02:00
128ce8d78c
Added missing windmill and flagstaff landmark icons
2023-08-24 09:07:01 +02:00
04ef7ba092
If there are multiple labels for a point, use the one with the highest priority
2023-08-19 13:36:20 +02:00
03711ede97
Re-introduce the zoom level offset
...
Most Mapsforge themes expect the zoom levels to be offset by one from
the standard OSM zoom levels. Additionally, the rendering is much faster
which always helps when dealing with a format that slow like Mapsforge...
2023-08-13 13:00:05 +02:00