diff --git a/application/default/views/scripts/water/view.phtml b/application/default/views/scripts/water/view.phtml index 10c2c3dc..52c34e9d 100755 --- a/application/default/views/scripts/water/view.phtml +++ b/application/default/views/scripts/water/view.phtml @@ -249,7 +249,10 @@ function reportError(request) map.setCenter(new GLatLng(south+$md->north)/2; ?>,east+$md->west)/2; ?>), zoomlevel); map.setMapType(G_SATELLITE_MAP); map.setUIToDefault(); - +north==$md->south) : ?> + var marker=new GMarker(new GLatLng(north; ?>,east; ?>)); + map.addOverlay(marker); + var polygon=new GPolygon([ new GLatLng(north; ?>,west; ?>), new GLatLng(north; ?>,east; ?>), @@ -258,6 +261,7 @@ function reportError(request) new GLatLng(north; ?>,west; ?>) ],"#f33f00",5,1,"#ff0000",0.2); map.addOverlay(polygon); +