Jump to content

Recommended Posts

Posted
1 hour ago, krad_1337 said:

Thanks for adding these to LNM! Having these available in VR via LNM is going to be super helpful. I went to try your zipfile of the themes, but get a 403 / permission denied error.

Err. This stupid developer here.🙃 Fixed. 

Alex

Posted

The download link is working now. thanks!

One problem I ran into with these though -- the background when there is no tile is dark (black?) This makes it difficult to read things like VOR frequencies when flying at the edge of a chart as the dark background is close to the color of the dark text of the vor or other nav points. Probably better to have a lighter background. It is adjusted via the `<map bgcolor="#000000">` setting.

Posted
9 hours ago, krad_1337 said:

One problem I ran into with these though -- the background when there is no tile is dark (black?) This makes it difficult to read things like VOR frequencies when flying at the edge of a chart as the dark background is close to the color of the dark text of the vor or other nav points. Probably better to have a lighter background. It is adjusted via the `<map bgcolor="#000000">` setting.

I'll check. Maybe a more neutral gray makes sense.

Alex

  • 1 month later...
Posted

I hope someone might be able to help me. I have some slippy tiles downloaded and zoom level 6 to 12. I would like to be able to display these on LNM as offline maps. Not online. 

I have created the appropriate folder to go in the map/earth folder - 0 folder, dgml file, icon.  Have read the manual to get an idea of how to change it for offline but have failed to get a result.

I have also looked at the ‘example’ in LNM map folder and have removed references to urls to get the map listed as offline in the LNM map menu.

I cannot seem to amend the commands in the dgml file to accommodate an offline map. It is currently intended for downloading tiles online. Also I am not sure where to put the offline slippy tiles so LVM will  find them.

I was wondering if anyone had an example of an offline dgml file or could give advice on exactly how to change the online dgml file to get local slippy tiles displayed.

many thanks.

Posted
2 minutes ago, Upkeep said:

I was wondering if anyone had an example of an offline dgml file or could give advice on exactly how to change the online dgml file to get local slippy tiles displayed.

See link here about historical maps: https://www.littlenavmap.org/manuals/littlenavmap/release/latest/en/MAPTHEMES.html#creating-map-themes

I'm not sure if this will work with slippy map tiles. They use only one layer as far as I understand.

Alex

Posted

Thanks Alex. I saw this but as you say it seems to refer to a just single layer map. The example dgml file they give in a link has a warning line about possible malicious code, so I avoided looking at it.

I will keep experimenting!

best wishes

Posted
7 minutes ago, Upkeep said:

The example dgml file they give in a link has a warning line about possible malicious code, so I avoided looking at it.

DGML is basically XML and merely a text file. Look at is with a text editor.

It seems Anit-virus programs are more and more freaking out.

Alex

  • 6 months later...
  • 2 weeks later...
Posted
On 11/19/2023 at 2:45 AM, husker_dingo said:

Thanks!. I'll try to create a theme. Let's see what I can do

Hi @husker_dingo. Have you succeeded yet? I also tried to create an openAIP map and it worked. BUT: I have a black screen with data on it. So I tried to get opentopomap as a layer below. But I cannot get it run. I took opentopomap as a basis and added openAIP but it looks like transparency of the openAIP png are missing (but i doubt it is the case). I am not good enough to have this layer work.

Inside the ZIP you find opentopomap.dgml_working which is the original opentopomap map. openAIP.dgml_working is the working openAIP map and openAIP.dgml is the mix of both. 

Note that you need a free api key from openAIP after logging on as described on the documentations page.

Find the map draft here.

Klaus

Posted
21 minutes ago, Magister Navis said:

Hi @husker_dingo. Have you succeeded yet? I also tried to create an openAIP map and it worked. BUT: I have a black screen with data on it. So I tried to get opentopomap as a layer below. But I cannot get it run. I took opentopomap as a basis and added openAIP but it looks like transparency of the openAIP png are missing (but i doubt it is the case). I am not good enough to have this layer work.

Inside the ZIP you find opentopomap.dgml_working which is the original opentopomap map. openAIP.dgml_working is the working openAIP map and openAIP.dgml is the mix of both. 

Note that you need a free api key from openAIP after logging on as described on the documentations page.

Maybe it helps if you enable debug output for Marble. Open the LNM configuration in menu "Tools" and look for section "[Options]". Set the key "MarbleDebug" to true.

[Options]
...
MarbleDebug=true
...

This will show failed requests for all tiles.

Alex

  • Like 1
Posted
On 5/30/2025 at 12:17 PM, albar965 said:

This will show failed requests for all tiles.

Alex, this was helpful. Now I ran into layer issues. Maybe something quite simple. Just took the original OpenFlightMaps for learning, renamed relevant parts and it doesnt work anymore. I just renamed name, theme, url, icon, layer sourcedir to openAIP just to learn and adopt where the problem might be. Giving up. Maybe someone else has a good idea. 🙂

  • Like 1
Posted
1 hour ago, Magister Navis said:

Alex, this was helpful. Now I ran into layer issues. Maybe something quite simple. Just took the original OpenFlightMaps for learning, renamed relevant parts and it doesnt work anymore. I just renamed name, theme, url, icon, layer sourcedir to openAIP just to learn and adopt where the problem might be. Giving up. Maybe someone else has a good idea.

Check if all tile sizes are the same. Either 256x256 or 512x512. Same for JPG vs. PNG.
The file YOURMAP/0/0/0.jpg or 0.png has to match in size and type too.

Some tile servers use strange formats to which LNM (or better: the Marble component) cannot be adapted. 

Alex

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...