Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
mesh
meshmap
Commits
89d1e802
Commit
89d1e802
authored
Feb 12, 2021
by
Eric - kg6wxc
Browse files
Merge branch 'revert-
a643b0f6
' into 'master'
Revert "Merge branch 'master' into 'master'" See merge request
!29
parents
a643b0f6
89def7c3
Changes
1
Show whitespace changes
Inline
Side-by-side
scripts/map_functions.inc
View file @
89d1e802
...
...
@@ -1155,8 +1155,12 @@ function create_MapImage()
});
\n\n
}
//SPIDERFY
var oms = new Spiderfy(map);
oms.disable();
map.on('zoomend', function(e) {
currZoom = e.target._zoom;
if(currZoom >=
0
) {
if(currZoom >=
12
) {
oms.enable();
document.getElementById('spiderfyActive').style.visibility = 'visible';
oms.addListener('activate', function(markers) {
...
...
@@ -1164,7 +1168,7 @@ function create_MapImage()
markers[i].closePopup();
}
});
}
if(currZoom <= 11)
{
}
else
{
oms.disable();
document.getElementById('spiderfyActive').style.visibility = 'hidden';
oms.removeListener('activate', function(markers) {
...
...
@@ -1174,7 +1178,6 @@ function create_MapImage()
});
}
});
"
;
return
$Content
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment