Added metric-option to web-view

Added option to show values in metric system.
Metric = false; // true|false

Removed unused conversion from aircraftsToJson() at dump1090.c-file.
Tweaked distance calculation to use google map api.

	modified:   dump1090.c
	modified:   public_html/config.js
	modified:   public_html/gmap.html
	modified:   public_html/script.js
This commit is contained in:
terribl 2013-05-28 12:15:18 +03:00
parent ca314fcf2c
commit 3000baf184
4 changed files with 39 additions and 39 deletions

View file

@ -5,6 +5,10 @@
//
// --------------------------------------------------------
// -- Output Settings -------------------------------------
// Show metric values
Metric = false; // true|false
// -- Map settings ----------------------------------------
// The Latitude and Longitude in decimal format
CONST_CENTERLAT = 45.0;