We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 14f58e8 + bd86baa commit b17182cCopy full SHA for b17182c
1 file changed
include/functions_map.php
@@ -520,7 +520,7 @@ function osm_get_js($conf, $local_conf, $js_data)
520
}
521
$js .= "\nif (typeof L.MarkerClusterGroup === 'function')\n";
522
$js .= " " . $divname . ".addLayer(markers);\n";
523
- if ( $autocenter ) {
+ if ( $autocenter and !isset($_GET['center_lat']) and !isset($_GET['center_lng']) and !isset($_GET['zoom']) ) {
524
$js .= "var group = new L.featureGroup(MarkerClusterList);";
525
$js .= "this." . $divname . ".whenReady(function () {
526
window.setTimeout(function () {
0 commit comments