nabeelio / phpvms

virtual airline management
http://www.phpvms.net
BSD 3-Clause "New" or "Revised" License
172 stars 143 forks source link

[Question/Feature Request] Mapdata from https://maps.openaip.net #898

Open Da-Geek opened 4 years ago

Da-Geek commented 4 years ago

https://maps.openaip.net openAIP is a web-based crowd-sourced aeronautical information platform.

Screenshot 2020-10-23 16 04 03

The mapdata provided by the OpenAIP project would make a very powerful Live Map or finally making use of the airsapce_map features, suggested in https://github.com/nabeelio/phpvms/issues/225 and also the widget that already seems to exist, but not yet used.

I would love to see the current Public Live Map" as it is, but then have anotherAirspace Map` that is only available via the Admin Pages, or even if a Pilot is logged in, they see the airspace map, but Public/unauthenticated users see the current/simple Map.

Da-Geek commented 4 years ago

If I could find where vms calls mapdata from, I would try to swap the url to openaip, but I really cant find it?!

nabeelio commented 4 years ago

Docs under customizing

Da-Geek commented 4 years ago

Docs under customizing

https://docs.phpvms.net/customize/maps <-- Oh wow, when did this appear?!?!?! Let me go have a little play

nabeelio commented 4 years ago

I can add a method to expose the underlying Leaflet map