forked from MapComplete/MapComplete
Formatting and small cleanups
This commit is contained in:
parent
15a6794e59
commit
4342b38e9d
8 changed files with 40 additions and 37 deletions
|
@ -103,7 +103,6 @@ Some advanced functions are available on <b>feat</b> as well:
|
|||
throw "Undefined distance!"
|
||||
}
|
||||
if(closestFeature === undefined || distance < closestDistance){
|
||||
console.log("Distance between ", feature.properties.id, "and", otherFeature.properties.id, "is", distance)
|
||||
closestFeature = otherFeature
|
||||
closestDistance = distance;
|
||||
}
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
import FeatureSource from "./FeatureSource";
|
||||
import {UIEventSource} from "../UIEventSource";
|
||||
import * as $ from "jquery";
|
||||
import {Layer} from "leaflet";
|
||||
|
||||
/**
|
||||
* Fetches a geojson file somewhere and passes it along
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue