I want to know if there´s any way to wipe the flight data from the LIVE MAP window, for example, after the flight is done (I plan to trigger an event from client to server side, at the PHP module, to make it clean the flight data).
I mean, how to code at server side (php module) to clean up just the pilots flight data (especific flight data, not all data at the map window).
How should I enter that on my website to make that flights completed must be ereased from the map?
Thanks for your help
You can include it in a controller, or make your own (preferred) so it does not get overwritten in an update. If you are just trying to make sure pilots do not show on the map after a flight is completed you could just set the config for ACARS_LIVE_TIME to a minimum, something like 3 minutes. This will cause any flight that has not been updated in the last 3 minutes be dropped from the display.
# ACARS options
# Minutes, flights to show on the ACARS
# Default is 720 minutes (12 hours)
Config::Set('ACARS_LIVE_TIME', 720);
You can include it in a controller, or make your own (preferred) so it does not get overwritten in an update. If you are just trying to make sure pilots do not show on the map after a flight is completed you could just set the config for ACARS_LIVE_TIME to a minimum, something like 3 minutes. This will cause any flight that has not been updated in the last 3 minutes be dropped from the display.
ACARS options
Minutes, flights to show on the ACARS
Default is 720 minutes (12 hours)
Config::Set(‘ACARS_LIVE_TIME’, 720);
O_o I have been so idiot xDD was so easy in this case, but thanks a lot for your help!!! really really appreciated thanks. SOLVED