forked from MapComplete/MapComplete
Fix snapping to layers for the import button
This commit is contained in:
parent
4f403c4bfc
commit
ae045b75cf
3 changed files with 14 additions and 9 deletions
|
@ -91,7 +91,7 @@ export default class SimpleAddUI extends Toggle {
|
|||
return presetsOverview
|
||||
}
|
||||
|
||||
function confirm(tags, location, snapOntoWayId?: string) {
|
||||
function confirm(tags:any[], location: {lat: number, lon:number}, snapOntoWayId?: string) {
|
||||
if (snapOntoWayId === undefined) {
|
||||
createNewPoint(tags, location, undefined)
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue