Increase the range when normalising the distance tot he gateway

This commit is contained in:
Starbeamrainbowlabs 2019-08-06 12:10:23 +01:00
parent 5e78f5c788
commit 25a817331f
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ function unnormalise_lng(nlng) {
function normalise_gateway_distance(distance) {
return clamp(normalise(distance,
{ min: 0, max: 20000 },
{ min: 0, max: 75000 },
{ min: 0, max: 1 }
), 0, 1);
}