diff --git a/single.php b/single.php index 5900446..8ad3515 100644 --- a/single.php +++ b/single.php @@ -116,9 +116,11 @@ bounds.extend(marker.getPosition()); } map.fitBounds(bounds); - if(map.getZoom() > 15){ - map.setZoom(15); - } + window.setTimeout(function(){ + if(map.getZoom() > 15){ + map.setZoom(15); + } + }, 500) }