forked from MapComplete/MapComplete
Refactoring: move uploadGPXToOSm into svelte
This commit is contained in:
parent
7b9a748199
commit
34d8527718
9 changed files with 222 additions and 198 deletions
|
@ -96,6 +96,9 @@
|
|||
if (element.properties.id.startsWith("current_view")) {
|
||||
return currentViewLayer
|
||||
}
|
||||
if(element.properties.id === "location_track"){
|
||||
return layout.layers.find(l => l.id === "gps_track")
|
||||
}
|
||||
return state.layout.getMatchingLayer(element.properties)
|
||||
},
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue