Ysurac / FlightAirMap

Open source project displaying live aircrafts, ships or trackers on 2D/3D map. Browse through the data based on a particular aircraft, airline, airport, tracker or vessel to search through the database or see extensive statistics. Can use ADS-B in SBS1 format (dump1090, Radarcape,...), VRS, VA (VATSIM, IVAO whazzup.txt, phpvms,...), ACARS (acarsdec, acarsdeco2), APRS, AIS as datasource.
https://www.flightairmap.com/
GNU Affero General Public License v3.0
515 stars 156 forks source link

Offline Map #458

Closed ghost closed 4 years ago

ghost commented 4 years ago

Hello, I was not able to find any answer on this topic....how to use offline map ? I need to use FlightAirMap in total offline mode on a server with no connection to internet. But the map tiles always need a internet connection.

Have I missed something ? Please, need help.

Ysurac commented 4 years ago

In require/settings.php you can set $globalMapOffline to TRUE or choose "Natural Earth (local)" as type of map in settings.

ghost commented 4 years ago

Yes, right, But in despite of this, I cannot see the tiles offline or with difficulty.. Must we download them before ?

Le jeu. 25 juin 2020 à 16:51, Ycarus (Yannick Chabanois) < notifications@github.com> a écrit :

In require/settings.php you can set $globalMapOffline to TRUE or choose "Natural Earth (local)" as type of map in settings.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/458#issuecomment-649598695, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBWSYR2Q3NF537YNHEXFXTRYNQAFANCNFSM4OINLO2Q .

Ysurac commented 4 years ago

Tiles come from my modified Cesium repo (here : https://github.com/Ysurac/Cesium-minified/tree/master/Assets/Textures/NaturalEarthII), you should have it if the repo was cloned with --recursive.

ghost commented 4 years ago

Oh ok I will try it tomorrow. Thanks for your answer

Le jeu. 25 juin 2020 à 21:10, Ycarus (Yannick Chabanois) < notifications@github.com> a écrit :

Tiles come from my modified Cesium repo (here : https://github.com/Ysurac/Cesium-minified/tree/master/Assets/Textures/NaturalEarthII), you should have it if the repo was cloned with --recursive.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Ysurac/FlightAirMap/issues/458#issuecomment-649765630, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABBWSYXWT4G6XBU5DMFB4XTRYOOLZANCNFSM4OINLO2Q .

ghost commented 4 years ago

So, @Ysurac I tried with no good result :-(

Merci pour ton aide ;-) Ton application est vraiment superbe, et fait tout ce dont j'ai besoin, me manque plus que le mode offline.

Ysurac commented 4 years ago

This can be related to the cookie in the browser set to previous selected map. Remove it, or try with another browser.

ghost commented 4 years ago

Nop, I deleted the cookies, I tried Chrome / Brave / Firefox, with private navigation....and it's still the same

ghost commented 4 years ago

Ok I found the solution. I switched $globalMapOffline to FALSE, then I return to the app and selected Natural Earth.... Again I switched $globalMapOffline to TRUE...and that works Thanks for your help.

If I can, let me ask you another question about these tiles, are we able to have more zoom precision by downloading more tiles from Natural Earth ?

Ysurac commented 4 years ago

Maybe, you can try: https://www.naturalearthdata.com/downloads/10m-raster-data/10m-natural-earth-2/

ghost commented 4 years ago

Ok that's what I saw.. you confirm I am in the right way. Thank you so much being so avalaible. I appreciate. I close this issue. Bye