forked from MapComplete/MapComplete
Fix typing and build
This commit is contained in:
parent
336ebc4ea9
commit
5f1a7892c1
6 changed files with 20 additions and 19 deletions
|
@ -121,7 +121,7 @@ export default class SplitRoadWizard extends Toggle {
|
|||
}
|
||||
|
||||
// Get nearest point on the road
|
||||
const pointOnRoad = GeoOperations.nearestPoint(roadElement, coordinates) // pointOnRoad is a geojson
|
||||
const pointOnRoad = GeoOperations.nearestPoint(<any> roadElement, coordinates) // pointOnRoad is a geojson
|
||||
|
||||
// Update point properties to let it match the layer
|
||||
pointOnRoad.properties["_split_point"] = "yes"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue