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
526 stars 159 forks source link

Left Menu gone on tablets and 2 more questions... #286

Open MrDalle opened 7 years ago

MrDalle commented 7 years ago

Hey there!

  1. Is there any way to access the left menu while using the map on a smartphone or tablet? I can access the main menu with statistics etc. but the other one is gone..

  2. Is it possible to scale plane icons in 3d mode or color them like you can in settings.php for the 2D mode?

  3. Also most of the planes doesnt get displayed like 787-A380 etc.. it shows a prop plane instead.. any idea? im using phpvms as a source.

Thanks in advance!

Ysurac commented 7 years ago
  1. What browser are you using ? This is working with chrome & firefox.
  2. Not yet. This will be possible soon, need to check latest Cesium features.
  3. In 2D or 3D ? With phpVMS it's not easy to get plane model. I use aircraftname field to get it but It's possible some types are not supported. I you give me aircraft_icao used I can fix this.
MrDalle commented 7 years ago
  1. Working fine on a Ipad Air with safari and firefox. Iphone its not appearing on both browsers. Same with a samsung Tablet (a6) i believe its not working due the smaller screen size. Forcing the page to Desktop mode works on all devices! But its not more responsive..

2.Sounds great!

  1. Only in 3D. If you enter the "Track it by link" mode most planes are props due they are not recognized.. Maybe its working by naming the planes different right in the phpvms database? Is there any "list" on what the correct identifiers / aircraft-icaos are?
Ysurac commented 7 years ago
  1. I only test on a Samsung Galaxy Tab 3, so a 8". The a6 is 10", should be working.
  2. If I had a list I would use it. When you click on a plane with props model, what is the aircraft icao ?
MrDalle commented 7 years ago
  1. Its working now! maybe it was a bug on my site but i changed globalMap3Ddefault = FALSE; it was TRUE before.

  2. attached an example. The easiest way to fix this could be naming the planes like they are on the ivao example since its wokring there.

bildschirmfoto 2017-03-28 um 16 31 16
Ysurac commented 7 years ago
  1. I never tested 3D mode on an android device
  2. Strange, this one should work. Some are working ? You really have a file models/330.glb ?
MrDalle commented 7 years ago

Yes the models are on the server! 737 and A320 is working fine! but all 747-787 A380 are props..

Attached the structure of a phpvms databse.. maybe that helps? If i change the registration an image of the aircraft should show up too or? (like i did for the A330 ID=19)

bildschirmfoto 2017-03-28 um 17 11 53
Ysurac commented 7 years ago

All seems ok. Even without changing the registration an image should show if it's enabled.

I will make some test with a phpvms feed.

MrDalle commented 7 years ago

Ok sounds good!

Ysurac commented 7 years ago

image should now work with latest commit.

Ysurac commented 7 years ago

phpVMS /action.php/acars/data only give me "aircraftname":"B777-200" but not the ICAO, so I try to get the ICAO from this, but I don't have a full list of aircraftname. So if you give me faulty ICAO I should be able to fix them.

MrDalle commented 7 years ago

pictures are working!

For the ICAOS i could send you a dump of our phpvms_aicraft table. We inserted almost all planes.. (like in the picture) would that help?

Ysurac commented 7 years ago

Should help yes.

MrDalle commented 7 years ago

Ok there you go: https://we.tl/chGKSJazb0

Which picture got shown depends on Aircraft Registration right?

Ysurac commented 7 years ago

aircraft registration and if not found aircraft icao and airline, if no airline only aircraft icao.