



 
window.onload = function() {
initialize()
}
	 function initialize() {
	      if (GBrowserIsCompatible()) {
        var map = new GMap2(document.getElementById("map_canvas"));
        var center = new GLatLng(51.229611,14.808959);

		map.setCenter(center, 12);
		map.setMapType(G_NORMAL_MAP);
		
		
		var polygon = new GPolygon([
  		  new GLatLng(51.229595, 14.808824),
  		  new GLatLng(51.22987, 14.808582),
   		  new GLatLng(51.230132, 14.80906),
		  new GLatLng(51.229671, 14.809586),
		  new GLatLng(51.229437, 14.809033),
		], "#ff0000", 1, 1, "#ff0000", 0.5);
		map.addOverlay(polygon);
map.addOverlay(new GMarker(center));

//		map.setMapType(G_NORMAL_MAP);
		map.addControl(new GLargeMapControl());
 
        var mapControl = new GMapTypeControl();
        map.addControl(mapControl);
      }
    }
