Skip to content
Snippets Groups Projects
Commit 12ca8035 authored by Italo Mairo's avatar Italo Mairo
Browse files

Revert "Issue #3468941 by woutgg: Initialisation error when zoom controls are disabled"

This reverts commit 911ec911.
parent 06afa36d
Branches
Tags
No related merge requests found
Pipeline #269201 passed with warnings
......@@ -247,10 +247,8 @@
this.lMap.fitWorld();
}
// Set the position of the Zoom Control, if enabled.
if (this.lMap.zoomControl) {
this.lMap.zoomControl.setPosition(this.map_settings.zoomControlPosition);
}
// Set the position of the Zoom Control.
this.lMap.zoomControl.setPosition(this.map_settings.zoomControlPosition);
// Set to refresh when first in viewport to avoid missing visibility.
new IntersectionObserver((entries, observer) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment