Center the webmap on the receiver location.

Mark config.js as a conffile, so user changes won't get overwritten.
This commit is contained in:
Oliver Jowett 2015-01-02 22:48:27 +00:00
parent 85eee61358
commit 69532b3c53
3 changed files with 5 additions and 0 deletions

2
debian/changelog vendored
View file

@ -5,6 +5,8 @@ dump1090-mutability (1.08.2302.14+1mu-7) UNRELEASED; urgency=medium
lets dump1090 tolerate occasional USB glitches that make the dongle reset
itself.
* Fix some of the more glaring pthread bugs.
* Center the webmap on the receiver location.
* Mark config.js as a conffile, so user changes won't get overwritten.
-- Oliver Jowett <oliver@mutability.co.uk> Fri, 02 Jan 2015 22:27:44 +0000

1
debian/dump1090-mutability.conffiles vendored Normal file
View file

@ -0,0 +1 @@
usr/share/dump1090-mutability/html/config.js

View file

@ -60,6 +60,8 @@ function initialize() {
SiteShow = true;
SiteLat = data.lat;
SiteLon = data.lon;
CONST_CENTERLAT = data.lat;
CONST_CENTERLON = data.lon;
}
Dump1090Version = data.version;