forked from MapComplete/MapComplete
chore: automated housekeeping...
This commit is contained in:
parent
b8847189c2
commit
8d782f1b9d
79 changed files with 2828 additions and 681 deletions
|
|
@ -30,7 +30,9 @@
|
|||
|
||||
let center = GeoOperations.centerpointCoordinates(feature)
|
||||
if (feature.geometry.type === "LineString") {
|
||||
center = <[number, number]>GeoOperations.nearestPoint(<Feature<LineString>>feature, center).geometry.coordinates
|
||||
center = <[number, number]>(
|
||||
GeoOperations.nearestPoint(<Feature<LineString>>feature, center).geometry.coordinates
|
||||
)
|
||||
}
|
||||
export let initialCoordinate: { lon: number; lat: number } = { lon: center[0], lat: center[1] }
|
||||
let mapLocation: UIEventSource<{ lon: number; lat: number }> = new UIEventSource(
|
||||
|
|
|
|||
|
|
@ -107,7 +107,6 @@ export default class Validators {
|
|||
new TagValidator(),
|
||||
|
||||
new NameSuggestionIndexValidator(),
|
||||
|
||||
]
|
||||
|
||||
private static _byType = Validators._byTypeConstructor()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue