diff --git a/application/default/views/scripts/water/view.phtml b/application/default/views/scripts/water/view.phtml index fb1d53be..061706d2 100755 --- a/application/default/views/scripts/water/view.phtml +++ b/application/default/views/scripts/water/view.phtml @@ -253,6 +253,9 @@ function reportError(request) var plotbounds=new GLatLngBounds(new GLatLng(south; ?>,west; ?>),new GLatLng(north; ?>,east; ?>)); var zoomlevel=map.getBoundsZoomLevel(plotbounds); zoomlevel--; +north==$md->south) : ?> + zoomlevel=10; + if (zoomlevel>16) zoomlevel=16; map.setCenter(new GLatLng(south+$md->north)/2; ?>,east+$md->west)/2; ?>), zoomlevel); map.setMapType(G_SATELLITE_MAP);