First working version of snapping to already existing ways from the add-UI (still too slow though), partial fix of #436

This commit is contained in:
Pieter Vander Vennet 2021-08-07 21:19:01 +02:00
parent bf2d634208
commit 0a01561d37
15 changed files with 460 additions and 143 deletions

View file

@ -14,7 +14,7 @@ export interface ChangeDescription {
lat: number,
lon: number
} | {
// Coordinates are only used for rendering
// Coordinates are only used for rendering. They should be lon, lat
locations: [number, number][]
nodes: number[],
} | {