diff --git a/single.php b/single.php index c8c94ed..a61a41c 100644 --- a/single.php +++ b/single.php @@ -116,8 +116,8 @@ bounds.extend(marker.getPosition()); } this.map.fitBounds(bounds); - if(map.getZoom() > 15) - map.setZoom(15); + if(this.map.getZoom() > 15) + this.map.setZoom(15); }