Fix optimalization, some cleanup

This commit is contained in:
Pieter Vander Vennet 2022-03-02 17:13:21 +01:00
parent 8c9e2a36b3
commit d40d77d86f
13 changed files with 8 additions and 20 deletions

View file

@ -96,7 +96,6 @@ class ApplyButton extends UIElement {
new ShowDataLayer({
leafletMap: previewMap.leafletMap,
popup: undefined,
zoomToFeatures: true,
features: new StaticFeatureSource(features, false),
state: this.state,

View file

@ -237,7 +237,6 @@ ${Utils.special_visualizations_importRequirementDocs}
// SHow all relevant data - including (eventually) the way of which the geometry will be replaced
new ShowDataMultiLayer({
leafletMap: confirmationMap.leafletMap,
popup: undefined,
zoomToFeatures: true,
features: new StaticFeatureSource([feature], false),
state: state,
@ -248,7 +247,6 @@ ${Utils.special_visualizations_importRequirementDocs}
action.getPreview().then(changePreview => {
new ShowDataLayer({
leafletMap: confirmationMap.leafletMap,
popup: undefined,
zoomToFeatures: false,
features: changePreview,
state,

View file

@ -81,7 +81,6 @@ export default class SplitRoadWizard extends Toggle {
features: new StaticFeatureSource([roadElement], false),
layers: state.filteredLayers,
leafletMap: miniMap.leafletMap,
popup: undefined,
zoomToFeatures: true,
state
})
@ -90,7 +89,6 @@ export default class SplitRoadWizard extends Toggle {
features: new StaticFeatureSource(splitPoints, true),
leafletMap: miniMap.leafletMap,
zoomToFeatures: false,
popup: undefined,
layerToShow: SplitRoadWizard.splitLayerStyling,
state
})