Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
leaflet
Manage
Activity
Members
Labels
Plan
Wiki
Custom issue tracker
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
project
leaflet
Commits
12ca8035
Commit
12ca8035
authored
7 months ago
by
Italo Mairo
Browse files
Options
Downloads
Patches
Plain Diff
Revert "Issue
#3468941
by woutgg: Initialisation error when zoom controls are disabled"
This reverts commit
911ec911
.
parent
06afa36d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#269201
passed with warnings
7 months ago
Stage: build
Stage: validate
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/leaflet.drupal.js
+2
-4
2 additions, 4 deletions
js/leaflet.drupal.js
with
2 additions
and
4 deletions
js/leaflet.drupal.js
+
2
−
4
View file @
12ca8035
...
...
@@ -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
)
=>
{
...
...
This diff is collapsed.
Click to expand it.
Italo Mairo
@itamair
mentioned in commit
681ce2dd
·
7 months ago
mentioned in commit
681ce2dd
mentioned in commit 681ce2dde0c9fcd77a7209deb8cfdc4efc962034
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment