forked from MapComplete/MapComplete
Fix: redraw line layers on background change
This commit is contained in:
parent
a83499614d
commit
6e5fcdef20
7 changed files with 281 additions and 306 deletions
|
@ -116,7 +116,7 @@ class ApplyButton extends UIElement {
|
|||
this.state.indexedFeatures.featuresById.data.get(id)
|
||||
)
|
||||
|
||||
new ShowDataLayer(mlmap, {
|
||||
new ShowDataLayer(mlmap,{
|
||||
features: StaticFeatureSource.fromGeojson(features),
|
||||
zoomToFeatures: true,
|
||||
layer: this.layer.layerDef,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue