Jump to content

Recommended Posts

Posted

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?

Guest lorathon
Posted

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

  • Administrators
Posted

Done that, is there any wya to reduce the update time?

Which version are you on? It's in the acarsmap.js file IIRC, it's moved for the next version into the template

Posted

Which version are you on? It's in the acarsmap.js file IIRC, it's moved for the next version into the template

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

  • Administrators
Posted

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.

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...