Simplify settings down to just Metric / ShowOtherUnit.
Factor out some common code.
This commit is contained in:
parent
082e973990
commit
5c1cf53316
3 changed files with 65 additions and 68 deletions
public_html
|
@ -786,7 +786,7 @@ function drawCircle(marker, distance) {
|
|||
}
|
||||
|
||||
distance *= 1000.0;
|
||||
if (!EnableMetric) {
|
||||
if (!Metric) {
|
||||
distance *= 1.852;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue