Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
AmbitiousPilots committed Nov 3, 2020
0 parents commit e5d4fc1
Show file tree
Hide file tree
Showing 6 changed files with 791 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Binary file added .github/preview.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/preview_full.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
674 changes: 674 additions & 0 deletions LICENSE

Large diffs are not rendered by default.

48 changes: 48 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
<h1 align="center">LittleNavmapOFMTheme</h1>

<p align="center">Now you can use <a href="https://www.openflightmaps.org/" target="_blank">open flightmaps</a> VFR maps in <a href="https://albar965.github.io/littlenavmap.html" target="_blank">Little Navmap</a> for your VFR flight planning and navigation.</p>

<p align="center">
<a href="https://albar965.github.io/littlenavmap.html" target="_blank">
<img src="https://img.shields.io/badge/little-navmap-%23454486.svg" alt="Little Navmap" />
</a>
<a href="https://www.openflightmaps.org/" target="_blank">
<img src="https://img.shields.io/badge/open-flightmaps-%23222222.svg" alt="open flightmaps" />
</a>
<a href="#license">
<img src="https://img.shields.io/badge/License-GPLv3-blue.svg" alt="Project license" />
</a>
<a href="#status">
<img src="https://img.shields.io/badge/status-active-brightgreen.svg" alt="Project status" />
</a>
</p>

<br>

<p align="center">
<a href="./.github/preview_full.jpg">
<img src="./.github/preview.jpg" alt="Project Preview Image" />
</a>
</p>

<br>

## Instructions
1. Download the latest [release](https://github.com/AmbitiousPilots/LittleNavmapOFMTheme/releases/latest) of LittleNavmapOFMTheme
2. Extract the zip file into the `Little Navmap\data\maps\earth` directory
3. Start Little Navmap and click on View -> Theme -> Custom (openflightmaps)
4. Click on “Hide all airspaces” above the map to only show the OFM airspaces

*Outside of the covered area the map is rendered black. Move the map to a location in Europe in case your map window in Little Navmap is all black.*
<br><br>

## About open flightmaps
open flightmaps is an open source project that provides high quality VFR maps currently covering Western Europe for the most part. This is interesting for people who want to fly VFR in countries like Germany, for which there are basically no free VFR maps available.
<br><br>

## Status
For discussion and questions head on over to the [forum thread](https://forums.flightsimulator.com/).
<br><br>

## License
The map data is provided by the open flightmaps association (OFMA) under the [OFMA General Users’ License](https://www.openflightmaps.org/about/). The map theme for Little Navmap is provided by AmbitiousPilots under the [GNU General Public License](https://github.com/AmbitiousPilots/LittleNavmapOFMTheme/blob/main/LICENSE).
68 changes: 68 additions & 0 deletions openflightmaps/openflightmaps.dgml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
<?xml version="1.0" encoding="UTF-8"?>
<dgml xmlns="http://edu.kde.org/marble/dgml/2.0">
<!-- https://techbase.kde.org/Marble/CustomMaps -->
<document>
<head>
<name>open flightmaps</name>
<target>earth</target>
<theme>openflightmaps</theme>
<visible>true</visible>
<license short="© open flightmaps">open flightmaps and Open Flight Maps Database (OFMDb) under the OFMA General Users License</license>
<description><![CDATA[<p>High quality VFR maps provided by the open flightmaps association (OFMA).</p>]]></description>
<icon pixmap="openflightmaps-preview.jpg"/>
<zoom>
<discrete> true </discrete>
<minimum> 1950 </minimum>
<maximum> 2770 </maximum>
</zoom>
</head>
<map bgcolor="#000000">
<canvas/>
<target/>
<layer name="openflightmaps" backend="texture">
<texture name="map" expire="1209600" >
<sourcedir format="JPG"> earth/openflightmaps </sourcedir>
<tileSize width="512" height="512" />
<storageLayout levelZeroColumns="1" levelZeroRows="1" maximumTileLevel="19" mode="Custom" />
<projection name="Mercator" />
<downloadUrl protocol="https" host="nwy-tiles-api.prod.newaydata.com" path="/tiles/{zoomLevel}/{x}/{y}.jpg" query="path=2011/base/latest" />
<downloadPolicy usage="Browse" maximumConnections="20" />
<downloadPolicy usage="Bulk" maximumConnections="2" />
</texture>
<texture name="aero" expire="1209600" >
<sourcedir format="PNG"> earth/openflightmaps/aero </sourcedir>
<tileSize width="512" height="512" />
<storageLayout levelZeroColumns="1" levelZeroRows="1" maximumTileLevel="19" mode="Custom" />
<projection name="Mercator" />
<downloadUrl protocol="https" host="nwy-tiles-api.prod.newaydata.com" path="/tiles/{zoomLevel}/{x}/{y}.png" query="path=2011/aero/latest" />
<!-- <blending name="AlphaBlending"/> -->
<blending name="OverpaintBlending" />
</texture>
</layer>
</map>
<settings>
<property name="coordinate-grid">
<value>true</value>
<available>true</available>
</property>
<property name="overviewmap">
<value>false</value>
<available>true</available>
</property>
<property name="compass">
<value>false</value>
<available>true</available>
</property>
<property name="scalebar">
<value>false</value>
<available>true</available>
</property>
<group name="Texture Layers">
<property name="aero">
<value>true</value>
<available>true</available>
</property>
</group>
</settings>
</document>
</dgml>

0 comments on commit e5d4fc1

Please sign in to comment.