map.addControl(new GMapTypeControl()); map.setCenter(new GLatLng(56.41542,40.44628), 16, sbHybrid_map); new GKeyboardHandler(map); map.enableDoubleClickZoom(); var point = new GLatLng(56.41542,40.44628); var desc = '
'+ '
'+ ''+ ''+ ''+ '
'+ ''+ 'Суздаль, Никольская церковь 1720г'+ '
'; ZMarker(point,'Суздаль, Никольская церковь 1720г',desc,1,0,0,null); bounds.extend(point); map.setCenter(bounds.getCenter(),map.getBoundsZoomLevel(bounds),G_HYBRID_MAP); } } // Zoom OUT ======================================================= function sb_zoomOut() { if ( null == map ) return false; paragraphs = map.getContainer().getElementsByTagName('p').length; if(paragraphs>4) { map.zoomOut(); } return true; } var interval = setInterval("sb_zoomOut()",1000); // END of Zoom OUT ======================================================= //]]>