Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash/blank page upon sim data retrieval : LNM 2.7.8.develop aircraft progress coordinates display turned off by default #2

Closed
KOKAProduktion opened this issue Feb 19, 2022 · 7 comments · Fixed by #1

Comments

@KOKAProduktion
Copy link
Owner

However i've found another issue while testing this prototype with the latest LNM version:

  • LNM 2.7.8.develop
  • MSFS 1.22.2.0

Aircraft progress coordinates display appears to be turned off by default since LNM 2.7.8 causing the OL prototype to crash as soon as sim data is coming in.

To fix this I had to check on "Coordinates" at Tools -> Progress Display Options:

Screenshot (173)

Screenshot (174)

Hope this helps too... :)

Cheers!

Originally posted by @KOKAProduktion in KOKAProduktion/msfs2020-littlenavmap-openlayers#1 (comment)

@albar965
Copy link

Fixed with albar965/littlenavmap@fdce051
There is now a separate bitset for the web interface which has certain features like the coordinates always enabled.
Alex

@KOKAProduktion
Copy link
Owner Author

Hi @albar965,

wow cool, thx for the rapid fix! Sorry, I didn't mean to bother you with this, as i didn't see it as a bug on LNM side... That's just an issue for me :) I'll have to check coords parsing on my side and probably display a hint message instead of crashing.

Nevertheless, thanks and cheers!

@KOKAProduktion
Copy link
Owner Author

Also this will become obsolete by introducing #1

@KOKAProduktion KOKAProduktion linked a pull request Feb 19, 2022 that will close this issue
@albar965
Copy link

Ahh. Stupid me. Thought it was assigned to me. I can revert the change if you want. 😄

@KOKAProduktion
Copy link
Owner Author

No, you don't have to, since this workaround-retrieval becomes obsolete with the API anyway...
Thanks!

@albar965
Copy link

Right. I'm wondering anyway how you deal with the different coordinate formats which can be selected in LNM options.
JSON/REST API will simplify things a lot, I suppose.

@KOKAProduktion
Copy link
Owner Author

...how you deal with the different coordinate formats...

I don't :) I just assumed the DMS string format ("deg min sec dir, deg min sec dir") in progress_doc.html is constant until i've found out it's configureable via LNM settings. So it just "crashes" atm when no or another format is provided.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants