albar965 / littlenavmap

Little Navmap is a free flight planner, navigation tool, moving map, airport search and airport information system for Flight Simulator X, Microsoft Flight Simulator 2020, Prepar3D and X-Plane.
https://albar965.github.io/littlenavmap.html
GNU General Public License v3.0
1.23k stars 161 forks source link

OpenFlightMaps theme does not load tiles in 2.8.11 #1034

Closed jonaseberle closed 1 year ago

jonaseberle commented 1 year ago

Does anybody know why the previous map definition https://github.com/AmbitiousPilots/LittleNavmapOFMTheme/pull/20/files

does not load any tiles any more and smears in 2.8.11?

image

It is like this in the old location (data/maps/earth/) and also in the new one (Options → Cache and Files → Directory for additional map themes).

I don't have a log file in the mentioned location from the manual but I have very exhaustive stdout output. It contains this:

[2023-06-18 23:40:06.471 INFO ]: MapThemeHandler::findMapThemes(): Found map theme file "/home/xxx/Nextcloud/FS/LittleNavMap Themes/openflightmaps/openflightmaps.dgml"
...
[2023-06-18 23:40:15.837 DEBUG]: void MapThemeHandler::changeMapTheme() "openflightmaps" MapTheme( index 16 urlName "" urlRef "" sourceDir "earth/openflightmaps" dgmlFilepath "/media/lv_slow/Nextcloud/FS/LittleNavMap Themes/openflightmaps/openflightmaps.dgml" name "open flightmaps" copyright "© open flightmaps" theme "openflightmaps" target "earth" keys () online true textureLayer true geodataLayer false discrete true )
[2023-06-18 23:40:15.837 DEBUG]: void MapPaintWidget::setTheme(const QString&, const QString&) setting map theme to "openflightmaps" "/media/lv_slow/Nextcloud/FS/LittleNavMap Themes/openflightmaps/openflightmaps.dgml"
[2023-06-18 23:40:15.838 WARN ]: Base tiles for "earth/openflightmaps/aero" not available. Skipping all texture layers.
[2023-06-18 23:40:15.838 DEBUG]: virtual void MapWidget::overlayStateToMenu() ignoreOverlayUpdates true
[2023-06-18 23:40:15.838 DEBUG]: virtual void MapWidget::overlayStateToMenu() ignoreOverlayUpdates true
[2023-06-18 23:40:15.838 DEBUG]: virtual void MapWidget::overlayStateToMenu() ignoreOverlayUpdates true
[2023-06-18 23:40:15.839 DEBUG]: virtual void MapWidget::overlayStateFromMenu() ignoreOverlayUpdates false
...

(Manjaro Linux, Little Navmap 2.8.11)

albar965 commented 1 year ago

Ok, I tried all available maps but not the OFM. Meh. 🤦

Maybe I broke something in Marble because I had to make some changes to get the Marble widget to load maps from an external path.

I used the modified package below since the DGML alone is not sufficient. openflightmaps.zip

albar965 commented 1 year ago

Done. Also added OFM theme to default maps.

jonaseberle commented 1 year ago

Wonderful, thank you!

DuRo55 commented 1 year ago

Alex, I see, this Bug is solved. Is there any workaround to use OFM with 2.8.11 or do we have to wait for 2.8.12?

albar965 commented 1 year ago

Alex, I see, this Bug is solved. Is there any workaround to use OFM with 2.8.11 or do we have to wait for 2.8.12?

You need 2.8.12. I'll post here if I have a release candidate.

albar965 commented 12 months ago

https://albar965.github.io/release/2023/07/07/littlenavmap-2.8.12.rc1-released.html