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
7e10e6640c
Added support for the "base-stroke-width" rendertheme parameters
2023-08-09 01:19:41 +02:00
97b61451b1
Removed the zoom level offset hack
...
In the Mapsforge library the offset is dependent on the tile size which is
in turn dependent on whether the tiles are hidpi or not. In other words
the Mapsforge library is broken and inconsistent between hidpi/non-hdpi
displays. GPXSee is consistent here and we have thus tochoose one zoom level
mapping (i.e. what zoom level corresponds to what resolution). Lets choose
"no offset" = more details on a given zoom level/resolution.
2023-08-09 01:12:42 +02:00
d064cedbbe
Apply the Mapsforge maps zoom levels offset
...
Offset the Mapsforge zoom level when fetching data/rendering the tiles to get
the expected data/sizes/widths for the tiles at the given zoom level.
2023-08-05 18:56:55 +02:00
cd220216dd
Do not affect the map object scaling when resizing the tiles
2023-07-04 20:27:41 +02:00
0d6b02f466
Removed obsolete include
2023-06-30 09:55:35 +02:00
41188360bf
Make the Mapsforge tiles sufficient large for the layout
2023-06-14 00:40:00 +02:00
9afeaf672a
Properly match symbols to captions
2023-06-10 08:11:18 +02:00
5ddd63e697
Do not limit text that was not inserted
2023-06-06 07:32:42 +02:00
88fa1ed786
Some more Mapsforge maps rendering improvements
2023-06-06 07:18:31 +02:00
1233d20a21
Added support for lineSymbols in Mapsforge maps
2023-06-04 23:56:00 +02:00
1746eddb8d
Code cleanup
2023-06-03 13:35:29 +02:00
ecda5103c8
Properly handle Mapsforge style menus
2023-05-31 01:01:42 +02:00
320b04c3fa
Added support for line "dy" parameter
2023-05-22 23:29:04 +02:00
a92d6efec6
Do not do any time consuming actions in the mapview redraw callback
...
On all vector maps (ENC, IMG and Mapsforge), do the data loading
asynchronous like the tile rendering.
2023-05-19 19:33:22 +02:00
8a72b20af8
Added support for all paths scaling modes
2023-05-19 01:30:54 +02:00
e351eb6370
Only preallocate the memory when usin moveto/lineto
2023-05-17 23:10:45 +02:00
81e967f20d
Only fetch data when the rect is valid
2023-05-17 23:08:17 +02:00
cf81a90865
Some more micro-optimizations & code cleanup
2023-05-16 23:03:07 +02:00
2bd25dd9b0
Fixed build with Qt < 5.13
2023-04-25 23:33:54 +02:00
1d589e25d8
Some more Mapsforge microoptimizations + code cleanup
2023-04-25 22:11:47 +02:00
1eaaf719fd
Code cleanup
2023-04-25 00:02:50 +02:00
6c91060cbb
Some more Mapsforge micro-optimizations
2023-04-23 11:01:18 +02:00
ce4f0472c0
Use integers as tag keys in Mapsforge maps
2023-04-22 17:28:32 +02:00
b6ca28e159
Render circles
2023-04-08 00:34:33 +02:00
648627b17f
Use style-defined priorities
...
+ code cleanup
2023-04-06 23:29:05 +02:00
2aa759a4bc
Filter all way references, not only "ref"s
2023-04-06 09:41:31 +02:00
84dc58da71
Code cleanup
2023-04-05 21:50:19 +02:00
25838ad02d
Removed obsolete header include
2023-04-05 21:02:20 +02:00
6cd122f59b
Fix/improve Mapsforge tiles rendering
2023-04-05 19:28:17 +02:00
8b24aa17e2
Increase path render instructions cache
2023-04-04 00:29:50 +02:00
6fc5a2f67d
Added support for the "text-transform" attribute
2023-04-04 00:22:15 +02:00
d794de5818
Added support for curved lines
2023-04-03 23:53:57 +02:00
af3e5d41c2
Split the config header to config+hash headers
2023-01-26 01:11:56 +01:00
5af3808895
Properly compute the header size
...
+ code cleanup
2022-06-11 10:19:14 +02:00
0f3fea5460
Improved map errors reporting
2022-06-10 08:09:07 +02:00
93aadb7e74
Do not depend on the file extension when loading the maps
2022-04-29 23:16:10 +02:00
5d2f1205cc
Removed the extra padding breaking item location/ propper positioning
2022-03-26 16:22:51 +01:00
28a10ccb32
Use unbuffered I/O as we use our own buffering
2022-02-21 21:04:24 +01:00
fd65882907
Do not render tiles that will not be shown due to zoom in/out
2021-09-16 22:54:09 +02:00
69cc6ccb75
Render symbols/labels for not rendered areas
2021-07-27 21:53:24 +02:00
f042f11eed
Fixed rule evaluation logic
2021-07-27 21:52:37 +02:00
29f9fb7a68
Some more error checking
2021-07-13 19:58:12 +02:00
b04ac5fae3
Some more style error checks
2021-07-13 19:43:29 +02:00
c5e1872c2e
Fixed "float font sizes causing crash on style load" issue
2021-07-13 17:31:37 +02:00
d39bd296f6
Properly handle Mapsforge world maps
2021-05-27 22:07:09 +02:00
441ccc59d0
Added support for font-family style parameters
2021-05-27 22:06:14 +02:00
3c8ac118ae
propper hidpi icon scaling
2021-04-18 18:10:23 +02:00
663859ef1c
Improved mapsforge hi-dpi rendering
2021-04-18 12:20:07 +02:00