forked from MapComplete/MapComplete
Pass the layer to add a new point to instead of searching it, fixes layer confusion bug reported by ThibaultMol
This commit is contained in:
parent
3046fbfb56
commit
8fc56f7487
2 changed files with 5 additions and 22 deletions
|
@ -78,6 +78,7 @@ export default class ConfirmLocationOfPoint extends Combine {
|
|||
mapBackground: backgroundLayer,
|
||||
centerLocation: locationSrc,
|
||||
snapTo: snapToFeatures,
|
||||
renderLayerForSnappedPoint: preset.layerToAddTo.layerDef,
|
||||
snappedPointTags: tags,
|
||||
maxSnapDistance: preset.preciseInput.maxSnapDistance,
|
||||
bounds: mapBounds,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue