Jump to content

kACARS live map updating


vcal

Recommended Posts

How often does the map update?

I watched mine and it seemed to update every 5 secs. 5 mins would be better.

Can it be changed?

UPDATE

It has been over 12 hours since a pilot logged off and is still showing at destination on the map. Ideas anybody?

Link to comment
Share on other sites

Guest lorathon

kACARS updates every 1 minute

The reason you stay on the map that long is part of your local config in phpVMS.

# ACARS options
#  Minutes, flights to show on the ACARS
#  Default is 720 minutes (12 hours)
Config::Set('ACARS_LIVE_TIME', 5); 
Config::Set('ACARS_DEBUG', false);

Adjust the ACARS LIVE TIME

Link to comment
Share on other sites

  • Administrators

Version 854. Is it possible to give us the choice of how often it updates rather than alter files?

Unfortunately, in that version, you have to change it in one file. In 2.1, it's in the template. But it's a tiny change.

In lib/js/acarsmap.js, this line:

setInterval(function () { liveRefresh(); }, 6000);

Change the 6000 to the number of second to refresh. It's in milliseconds.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...