osmandapp / OsmAnd

OsmAnd
https://osmand.net
Other
4.6k stars 1.01k forks source link

Add OpenFlightMaps overlay #6510

Closed svenstaro closed 3 years ago

svenstaro commented 5 years ago

I think it would be really neat if this app had support for overlaying information from OpenFlightMaps.

lpirl commented 3 years ago

👍

One "simply" needs to find the right parameters for the online maps plugin. We could then add the map to the online map plugin manually or add the tile source to the list of predefined tile sources. The latter has been requested (osmandapp/osmandapp.github.io#185) to be done for OpenAIP aeronautical maps, which could be of interest here.

I tried to add the tile URL of OpenFlightMaps ( https://nwy-tiles-api.prod.newaydata.com/tiles/{0}/{1}/{2}.png?path=latest/aero/latest) to the online maps plugin (Pseudo-Mercator) but the tiles don't fit:

The tiles are from roughly the correct area but shuffled a bit. Maybe anyone with more experiences has a hint?

lpirl commented 3 years ago

After having learned that there is the file .metainfo where more parameters can be set, I found a working combination (see osmandapp/osmandapp.github.io#186). Adding OpenFlightMaps manually cannot be achieved via the UI only.

vshcherb commented 3 years ago

That bug with supporting hd tiles was fixed actually in latest versions