// map markers var map; var topRight; var bottomLeft; var scale; var image1; function initialize() { // set map var styles = [ { "stylers": [ { "lightness": -67 }, { "saturation": 54 }, { "hue": "#002bff" } ] },{ "featureType": "road", "elementType": "geometry", "stylers": [ { "saturation": 87 } ] },{ "elementType": "labels.text.fill", "stylers": [ { "color": "#E8E1D6" } ] } ]; var styledMap = new google.maps.StyledMapType(styles, {name: "Styled Map"}); var map_canvas = document.getElementById('map_canvas'); var map_options = { center: new google.maps.LatLng(50.761393, 14.581604), zoom: 10, mapTypeId: google.maps.MapTypeId.ROADMAP, draggable: false, scrollwheel: false, disableDoubleClickZoom: true //, // zoomControl: false }; var map = new google.maps.Map(map_canvas, map_options); map.mapTypes.set('map_style', styledMap); map.setMapTypeId('map_style'); // pois markers var anchorTop = 65; var anchorLeft = 65; var originTop = 0; var originLeft = 0; image1 = new google.maps.MarkerImage('http://www.pivovarcvikov.cz/pcs/marker_contact.png', new google.maps.Size(80, 80), new google.maps.Point(originLeft,originTop), new google.maps.Point(anchorLeft,anchorTop) ); var marker1 = new google.maps.Marker({ position: new google.maps.LatLng(50.776873, 14.634338), map: map, title: 'Pivovar a restaurace Cvikov', icon: image1 }); } google.maps.event.addDomListener(window, 'load', initialize);