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:
parent
85eee61358
commit
69532b3c53
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -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
|
lets dump1090 tolerate occasional USB glitches that make the dongle reset
|
||||||
itself.
|
itself.
|
||||||
* Fix some of the more glaring pthread bugs.
|
* 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
|
-- Oliver Jowett <oliver@mutability.co.uk> Fri, 02 Jan 2015 22:27:44 +0000
|
||||||
|
|
||||||
|
|
1
debian/dump1090-mutability.conffiles
vendored
Normal file
1
debian/dump1090-mutability.conffiles
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
usr/share/dump1090-mutability/html/config.js
|
|
@ -60,6 +60,8 @@ function initialize() {
|
||||||
SiteShow = true;
|
SiteShow = true;
|
||||||
SiteLat = data.lat;
|
SiteLat = data.lat;
|
||||||
SiteLon = data.lon;
|
SiteLon = data.lon;
|
||||||
|
CONST_CENTERLAT = data.lat;
|
||||||
|
CONST_CENTERLON = data.lon;
|
||||||
}
|
}
|
||||||
|
|
||||||
Dump1090Version = data.version;
|
Dump1090Version = data.version;
|
||||||
|
|
Loading…
Reference in a new issue