KOKAProduktion / msfs2020-littlenavmap-openlayers

MSFS2020 Toolbar window embedding the littlenavmap-openlayers application
10 stars 1 forks source link

Button / littlenavmap is not shown in MSFs2020 #1

Closed reimuell closed 2 years ago

reimuell commented 2 years ago

Hello, I have installed LNM OL, testpage is shown, using standard port. MS2020 folder is copied, correct location, no result. No add. button, nothing. Anything I can do to locate the problem?

KOKAProduktion commented 2 years ago

Hi @reimuell,

thanks for checking out this prototype. Hmmm, i've just retried the process with the latest LNM version and it still seems to work :)

I have installed LNM OL, testpage is shown, using standard port.

So i guess the littlenavmap-openlayers part works on your machine and you're able to see the OL map via a browser like below, right?

Screenshot 2022-02-19 040257

MS2020 folder is copied, correct location,

May i ask you to re-check if msfs2020-littlenavmap-openlayers is added to the community folder like this?

Screenshot (175)

no result. No add. button, nothing.

So you're not having an additional toolbar button like this inside MSFS?

Screenshot (176)

Could you re-check if the panel is turned on inside the toolbar settings?

Screenshot (177)

That's just the stuff i can think of right now. Any additional info could help me pin down your issue...

I hope this helps Cheers

KOKAProduktion commented 2 years ago

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

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!

reimuell commented 2 years ago

Hello, please close this issue like always the reason was the stupid user. I copied the wrong folder to the community folder. Now it's working. I didn't have the crash you mentioned, on the other hand I have installed the stable LNM version. I'm doing all this to find out how to integrate LNM openlayers in my own application. If have copied and changed github App MS compagnion and I would like to substitute the openstreetmap with LNM map. So to say I want to steel the code.

thx Reiner Müller

KOKA @.***> schrieb am Sa., 19. Feb. 2022, 04:45:

Hi @reimuell https://github.com/reimuell,

thanks for checking out this prototype. Hmmm, i've just retried the process with the latest LNM version and it still seems to work :)

I have installed LNM OL, testpage is shown, using standard port.

So i guess the littlenavmap-openlayers https://github.com/KOKAProduktion/littlenavmap-openlayers part works on your machine and you're able to see the OL map via a browser like below, right?

[image: Screenshot 2022-02-19 040257] https://user-images.githubusercontent.com/3401839/154784619-050bbd88-e2a6-4512-bf65-8b332940c230.png

MS2020 folder is copied, correct location,

May i ask you to re-check if msfs2020-littlenavmap-openlayers https://github.com/KOKAProduktion/msfs2020-littlenavmap-openlayers is added to the community folder like this?

[image: Screenshot (175)] https://user-images.githubusercontent.com/3401839/154784652-af12149c-8219-4463-b772-a2ffa7df3e93.png

no result. No add. button, nothing.

So you're not having an additional toolbar button like this inside MSFS?

[image: Screenshot (176)] https://user-images.githubusercontent.com/3401839/154784693-7f850add-ef54-40f7-92fe-c12f5ef6c91e.png

Could you re-check if the panel is turned on inside the toolbar settings?

[image: Screenshot (177)] https://user-images.githubusercontent.com/3401839/154784748-49359f54-d7e4-428f-955d-1446fe5a8a54.png

That's just the stuff i can think of right now. Any additional info could help me pin down your issue...

I hope this helps Cheers

— Reply to this email directly, view it on GitHub https://github.com/KOKAProduktion/msfs2020-littlenavmap-openlayers/issues/1#issuecomment-1045679243, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASERTZNRFINGD3J2VLX3VULU34G7BANCNFSM5OX4N4PA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you were mentioned.Message ID: <KOKAProduktion/msfs2020-littlenavmap-openlayers/issues/1/1045679243@ github.com>

KOKAProduktion commented 2 years ago

Now it's working.

Cool! Glad to hear that.

I'm doing all this to find out how to integrate LNM openlayers in my own application. [...] App MS compagnion and I would like to substitute the openstreetmap with LNM map

Great idea! Steal what you like, although there isn't much there yet :) My guess is that the most interesting part for you is the tile load function: https://github.com/KOKAProduktion/littlenavmap-openlayers/blob/304fcdd511d85bb6a7601de9071760eb104b8b1d/src/ol/source/LNM.js#L84-L102

Please be aware that master is currently just a PoC prototype, there's no interactivity like clickables provided yet. However we're trying to integrate this feature into LNM itself here: LNM - OpenLayers Integration Roadmap

So don't forget to come back for more :)

Good luck and fun developing! I hope you'll make something available! Cheers!