// map markers var map; var markers = []; // main markers markers[1] = []; var markers_id = []; var markers_list = []; var markers_title = []; var markers_source = []; var topRight; var bottomLeft; var scale; var image1; // markers in arrays markers_source[1] = [50.7918,14.5968,1]; markers_title[1] = ''; markers_id[1] = '50'; markers_source[2] = [50.6986,14.431,1]; markers_title[2] = ''; markers_id[2] = '33'; markers_source[3] = [50.8283,14.6953,1]; markers_title[3] = ''; markers_id[3] = '42'; markers_source[4] = [50.7488,14.6598,1]; markers_title[4] = ''; markers_id[4] = '53'; markers_source[5] = [50.7917,14.4892,1]; markers_title[5] = ''; markers_id[5] = '52'; markers_source[6] = [50.7653,14.7605,1]; markers_title[6] = ''; markers_id[6] = '27'; markers_source[7] = [50.7653,14.7605,1]; markers_title[7] = ''; markers_id[7] = '30'; markers_source[8] = [50.7918,14.5968,1]; markers_title[8] = ''; markers_id[8] = '51'; markers_source[9] = [50.6086,14.5846,1]; markers_title[9] = ''; markers_id[9] = '32'; markers_source[10] = [50.6785,14.5397,1]; markers_title[10] = ''; markers_id[10] = '19'; markers_source[11] = [50.7614,14.5533,1]; markers_title[11] = ''; markers_id[11] = '6'; markers_source[12] = [50.7769,14.6282,1]; markers_title[12] = ''; markers_id[12] = '13'; markers_source[13] = [50.7704,14.4965,1]; markers_title[13] = ''; markers_id[13] = '54'; markers_source[14] = [50.7742,14.6372,1]; markers_title[14] = ''; markers_id[14] = '14'; markers_source[15] = [50.8016,14.6515,1]; markers_title[15] = ''; markers_id[15] = '16'; markers_source[16] = [50.006,14.4172,1]; markers_title[16] = ''; markers_id[16] = '56'; markers_source[17] = [50.7296,14.5733,1]; markers_title[17] = ''; markers_id[17] = '2'; markers_source[18] = [50.0798,14.4544,1]; markers_title[18] = ''; markers_id[18] = '106'; markers_source[19] = [50.6451,14.7392,1]; markers_title[19] = ''; markers_id[19] = '62'; markers_source[20] = [50.7651,15.0582,1]; markers_title[20] = ''; markers_id[20] = '66'; markers_source[21] = [50.7576,14.5556,1]; markers_title[21] = ''; markers_id[21] = '5'; markers_source[22] = [50.7543,14.5927,1]; markers_title[22] = ''; markers_id[22] = '85'; markers_source[23] = [50.8084,14.6774,1]; markers_title[23] = ''; markers_id[23] = '58'; markers_source[24] = [50.6785,14.5397,1]; markers_title[24] = ''; markers_id[24] = '18'; markers_source[25] = [50.704,14.4027,1]; markers_title[25] = ''; markers_id[25] = '21'; markers_source[26] = [50.7653,14.7605,1]; markers_title[26] = ''; markers_id[26] = '28'; markers_source[27] = [50.7014,14.8064,1]; markers_title[27] = ''; markers_id[27] = '25'; markers_source[28] = [50.6143,14.4495,1]; markers_title[28] = ''; markers_id[28] = '65'; markers_source[29] = [50.7553,15.0586,1]; markers_title[29] = ''; markers_id[29] = '61'; markers_source[30] = [50.9044,14.6192,1]; markers_title[30] = ''; markers_id[30] = '64'; markers_source[31] = [50.8284,14.7166,1]; markers_title[31] = ''; markers_id[31] = '113'; markers_source[32] = [50.9123,14.5078,1]; markers_title[32] = ''; markers_id[32] = '117'; markers_source[33] = [50.8641,14.4534,1]; markers_title[33] = ''; markers_id[33] = '84'; markers_source[34] = [50.7867,14.5329,1]; markers_title[34] = ''; markers_id[34] = '70'; markers_source[35] = [50.8724,14.3191,1]; markers_title[35] = ''; markers_id[35] = '102'; markers_source[36] = [50.7767,14.6482,1]; markers_title[36] = ''; markers_id[36] = '86'; markers_source[37] = [50.7533,14.5524,1]; markers_title[37] = ''; markers_id[37] = '126'; markers_source[38] = [50.7576,14.5556,1]; markers_title[38] = ''; markers_id[38] = '76'; markers_source[39] = [50.2395,14.3099,1]; markers_title[39] = ''; markers_id[39] = '72'; markers_source[40] = [50.0992,14.4228,1]; markers_title[40] = ''; markers_id[40] = '80'; markers_source[41] = [50.1127,14.3798,1]; markers_title[41] = ''; markers_id[41] = '73'; markers_source[42] = [49.9726,14.3933,1]; markers_title[42] = ''; markers_id[42] = '107'; markers_source[43] = [50.0617,14.3982,1]; markers_title[43] = ''; markers_id[43] = '108'; markers_source[44] = [50.0297,14.6016,1]; markers_title[44] = ''; markers_id[44] = '111'; markers_source[45] = [50.0837,14.473,1]; markers_title[45] = ''; markers_id[45] = '134'; markers_source[46] = [50.0394,14.4583,1]; markers_title[46] = ''; markers_id[46] = '91'; markers_source[47] = [49.9762,14.3932,1]; markers_title[47] = ''; markers_id[47] = '140'; markers_source[48] = [50.6535,14.7352,1]; markers_title[48] = ''; markers_id[48] = '101'; markers_source[49] = [50.5705,14.648,1]; markers_title[49] = ''; markers_id[49] = '69'; markers_source[50] = [50.6693,15.2979,1]; markers_title[50] = ''; markers_id[50] = '133'; markers_source[51] = [50.4419,14.475,1]; markers_title[51] = ''; markers_id[51] = '109'; markers_source[52] = [50.6169,14.4878,1]; markers_title[52] = ''; markers_id[52] = '87'; markers_source[53] = [50.7917,14.9943,1]; markers_title[53] = ''; markers_id[53] = '79'; markers_source[54] = [50.5672,14.6538,1]; markers_title[54] = ''; markers_id[54] = '104'; markers_source[55] = [50.7723,15.0882,1]; markers_title[55] = ''; markers_id[55] = '78'; markers_source[56] = [50.8169,14.9688,1]; markers_title[56] = ''; markers_id[56] = '90'; markers_source[57] = [50.7435,14.8415,1]; markers_title[57] = ''; markers_id[57] = '97'; markers_source[58] = [50.7709,15.0567,1]; markers_title[58] = ''; markers_id[58] = '100'; markers_source[59] = [50.725,15.1705,1]; markers_title[59] = ''; markers_id[59] = '95'; markers_source[60] = [50.7733,15.0521,1]; markers_title[60] = ''; markers_id[60] = '96'; markers_source[61] = [50.7678,15.0572,1]; markers_title[61] = ''; markers_id[61] = '94'; markers_source[62] = [50.7471,15.0631,1]; markers_title[62] = ''; markers_id[62] = '83'; markers_source[63] = [50.76,15.0884,1]; markers_title[63] = ''; markers_id[63] = '127'; markers_source[64] = [50.7771,14.6427,1]; markers_title[64] = ''; markers_id[64] = '75'; markers_source[65] = [50.74,14.2996,1]; markers_title[65] = ''; markers_id[65] = '88'; markers_source[66] = [50.7688,15.06,1]; markers_title[66] = ''; markers_id[66] = '98'; markers_source[67] = [50.9512,14.5567,1]; markers_title[67] = ''; markers_id[67] = '68'; markers_source[68] = [50.7971,15.1399,1]; markers_title[68] = ''; markers_id[68] = '99'; markers_source[69] = [50.7671,15.0525,1]; markers_title[69] = ''; markers_id[69] = '81'; markers_source[70] = [50.8822,14.5551,1]; markers_title[70] = ''; markers_id[70] = '82'; markers_source[71] = [,,1]; markers_title[71] = ''; markers_id[71] = '146'; markers_source[72] = [50.6524,14.071,1]; markers_title[72] = ''; markers_id[72] = '163'; markers_source[73] = [50.8558,14.3566,1]; markers_title[73] = ''; markers_id[73] = '162'; markers_source[74] = [50.6806,14.5462,1]; markers_title[74] = ''; markers_id[74] = '131'; markers_source[75] = [50.682,14.5401,1]; markers_title[75] = ''; markers_id[75] = '24'; markers_source[76] = [50.074,14.4062,1]; markers_title[76] = ''; markers_id[76] = '118'; markers_source[77] = [50.7781,14.2041,1]; markers_title[77] = ''; markers_id[77] = '147'; markers_source[78] = [50.0403,14.5092,1]; markers_title[78] = ''; markers_id[78] = '145'; markers_source[79] = [50.0993,14.4245,1]; markers_title[79] = ''; markers_id[79] = '138'; markers_source[80] = [,,1]; markers_title[80] = ''; markers_id[80] = '143'; markers_source[81] = [50.0726,14.3896,1]; markers_title[81] = ''; markers_id[81] = '135'; markers_source[82] = [50.0875,14.4534,1]; markers_title[82] = ''; markers_id[82] = '119'; markers_source[83] = [50.0235,14.5165,1]; markers_title[83] = ''; markers_id[83] = '139'; markers_source[84] = [50.0759,14.4502,1]; markers_title[84] = ''; markers_id[84] = '165'; markers_source[85] = [50.0401,14.5059,1]; markers_title[85] = ''; markers_id[85] = '141'; markers_source[86] = [50.0331,14.5325,1]; markers_title[86] = ''; markers_id[86] = '136'; markers_source[87] = [50.05,14.4824,1]; markers_title[87] = ''; markers_id[87] = '110'; markers_source[88] = [50.0772,14.8806,1]; markers_title[88] = ''; markers_id[88] = '153'; markers_source[89] = [50.0916,14.4737,1]; markers_title[89] = ''; markers_id[89] = '142'; markers_source[90] = [50.7829,14.1519,1]; markers_title[90] = ''; markers_id[90] = '157'; markers_source[91] = [50.0878,14.421,1]; markers_title[91] = ''; markers_id[91] = '93'; markers_source[92] = [50.7797,15.1722,1]; markers_title[92] = ''; markers_id[92] = '150'; markers_source[93] = [51.0196,14.3142,1]; markers_title[93] = ''; markers_id[93] = '124'; markers_source[94] = [50.7935,15.1346,1]; markers_title[94] = ''; markers_id[94] = '149'; markers_source[95] = [50.7636,14.9397,1]; markers_title[95] = ''; markers_id[95] = '123'; markers_source[96] = [50.7711,15.0868,1]; markers_title[96] = ''; markers_id[96] = '154'; markers_source[97] = [50.0851,14.4479,1]; markers_title[97] = ''; markers_id[97] = '74'; markers_source[98] = [,,1]; markers_title[98] = ''; markers_id[98] = '166'; markers_source[99] = [50.7768,14.6339,1]; markers_title[99] = ''; markers_id[99] = '11'; markers_source[100] = [50.6838,14.5374,1]; markers_title[100] = ''; markers_id[100] = '130'; markers_source[101] = [50.6833,14.5325,1]; markers_title[101] = ''; markers_id[101] = '168'; markers_source[102] = [50.6622,14.0583,1]; markers_title[102] = ''; markers_id[102] = '144'; markers_source[103] = [50.5342,14.1405,1]; markers_title[103] = ''; markers_id[103] = '129'; markers_source[104] = [50.782,14.0246,1]; markers_title[104] = ''; markers_id[104] = '156'; markers_source[105] = [50.7817,14.2167,1]; markers_title[105] = ''; markers_id[105] = '158'; markers_source[106] = [50.7637,14.1084,1]; markers_title[106] = ''; markers_id[106] = '160'; markers_source[107] = [50.9034,14.6193,1]; markers_title[107] = ''; markers_id[107] = '128'; markers_source[108] = [50.4225,14.4637,1]; markers_title[108] = ''; markers_id[108] = '155'; markers_source[109] = [50.0761,14.4239,1]; markers_title[109] = ''; markers_id[109] = '120'; markers_source[110] = [50.7792,14.2128,1]; markers_title[110] = ''; markers_id[110] = '161'; markers_source[111] = [50.7313,14.1933,1]; markers_title[111] = ''; markers_id[111] = '159'; markers_source[112] = [50.7627,14.1092,1]; markers_title[112] = ''; markers_id[112] = '167'; markers_source[113] = [51.013,14.353,1]; markers_title[113] = ''; markers_id[113] = '125'; markers_source[114] = [50.0713,14.4145,1]; markers_title[114] = ''; markers_id[114] = '148'; 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 = 45; var anchorLeft = 45; var originTop = 0; var originLeft = 0; image1 = new google.maps.MarkerImage('http://www.pivovarcvikov.cz/pcs/marker_restaurant.png', new google.maps.Size(50, 50), new google.maps.Point(originLeft,originTop), new google.maps.Point(anchorLeft,anchorTop) ); for (var key in markers_source) { var marker = new google.maps.Marker({ position: new google.maps.LatLng(markers_source[key][0], markers_source[key][1]), map: map, title: markers_title[key], icon: image1 }); } } google.maps.event.addDomListener(window, 'load', initialize);