forked from MapComplete/MapComplete
Fix optimalization, some cleanup
This commit is contained in:
parent
8c9e2a36b3
commit
d40d77d86f
13 changed files with 8 additions and 20 deletions
|
@ -189,7 +189,6 @@ export default class LocationInput extends InputElement<Loc> implements MinimapO
|
|||
console.log("Constructing the snap-to layer", this._snapTo)
|
||||
new ShowDataMultiLayer({
|
||||
features: new StaticFeatureSource(this._snapTo, true),
|
||||
popup: undefined,
|
||||
zoomToFeatures: false,
|
||||
leafletMap: this.map.leafletMap,
|
||||
layers: State.state.filteredLayers
|
||||
|
@ -204,7 +203,6 @@ export default class LocationInput extends InputElement<Loc> implements MinimapO
|
|||
})
|
||||
new ShowDataLayer({
|
||||
features: new StaticFeatureSource(matchPoint, true),
|
||||
popup: undefined,
|
||||
zoomToFeatures: false,
|
||||
leafletMap: this.map.leafletMap,
|
||||
layerToShow: this._matching_layer,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue