{"id":79,"date":"2014-03-17T11:22:10","date_gmt":"2014-03-17T10:22:10","guid":{"rendered":"http:\/\/montazkotlu.benekov.com\/?page_id=79"},"modified":"2015-10-15T00:56:18","modified_gmt":"2015-10-14T23:56:18","slug":"referencni-mapa-kotelen","status":"publish","type":"page","link":"https:\/\/montazkotlu.schiedek.cz\/?page_id=79","title":{"rendered":"REFEREN\u010cN\u00cd MAPA KOTELEN"},"content":{"rendered":"<span class=\"csspz\">Po\u010det zobrazen\u00fdch realizac\u00ed od roku 2013: <b><span id=\"pz\"><\/span>ks<\/b>. Z toho <span style=\"background-color: #9BDCA8;\">C16: <b><span id=\"pzc16\"><\/span>ks<\/b><\/span>,\r\n<span style=\"background-color: #86CDF7;\">C26: <b><span id=\"pzc26\"><\/span>ks<\/b><\/span> a <span style=\"background-color: #C1C1C1;\">Sety pro p\u0159estavbu: <b><span id=\"pzset\"><\/span>ks<\/b><\/span>.\r\n<br>Po\u010det kotl\u016f v r\u00e1mci OP\u017dP 2.1: <span style=\"background-color: #E37C7C;\">C27: <b><span id=\"pzc27\"><\/span>ks<\/b><\/span>,\r\n<span style=\"background-color: #FFB3B3\";>C17: <b><span id=\"pzc17\"><\/span>ks<\/b><\/span>,\r\n<span style=\"background-color: #73D872\";>B20: <b><span id=\"pzb20\"><\/span>ks<\/b><\/span>,\r\n<span style=\"background-color: #F1DA44\";>\u0159ada K: <b><span id=\"pzk\"><\/span>ks<\/b><\/span>,\r\n<span style=\"background-color: #0F60CE;color: white;\">\u0159ada D: <b><span id=\"pzd\"><\/span>ks<\/b><\/span>,\r\n<span style=\"background-color: #FEB181\";>plynov\u00e9 kotle: <b><span id=\"pzv\"><\/span>ks<\/b><\/span>.<\/span><style type=\"text\/css\">.csspz {position:absolute; left: 250px; top: 10px;}<\/style>\r\n<script type=\"text\/javascript\">\r\n\r\nvar map;\r\nfunction initMap() {\r\n\r\n  map = new google.maps.Map(document.getElementById('map'), {\r\n    center: {lat: 49.95, lng: 18.0},\r\n    zoom: 10\r\n  });\r\n  \r\n  \/\/ Create a <script> tag and set the USGS URL as the source.\r\n  var script = document.createElement('script');\r\n  \/\/ (In this example we use a locally stored copy instead.)\r\n  \/\/ script.src = 'http:\/\/earthquake.usgs.gov\/earthquakes\/feed\/v1.0\/summary\/2.5_week.geojsonp';\r\n  script.src = \"json_kuzelky2.php\";\r\n  document.getElementsByTagName('head')[0].appendChild(script);\r\n}\r\nwindow.eqfeed_callback = function(results) {\r\n  \/\/alert (results.features.length);\r\n  var pzc16=0;\r\n  var pzc26=0;\r\n  var pzc27=0;\r\n  var pzc17=0;\r\n  var pzb20=0;\r\n  var pzk=0;\r\n  var pzd=0;\r\n  var pzv=0;\r\n  var pzset=0;\r\n  var infowindow = null;\r\n  infowindow = new google.maps.InfoWindow({\r\n\t content: \"holding...\"\r\n\t});\r\n  for (var i = 0; i < results.features.length; i++) {\r\n    \/\/var coords = results.features[i].geometry.coordinates;\r\n    var typ = results.features[i].properties.typ;\r\n    var icon = results.features[i].properties.icon;\r\n    if (icon == \"i.png\") icon = \"ic27.png\";\r\n    var latLng = new google.maps.LatLng(results.features[i].properties.lat,results.features[i].properties.lng);\r\n    var typkotle;\r\n    if (typ.substr(0, 2) == \"ic\")  typkotle = typ.replace(\/ic\/, \"BENEKOV C\");\r\n    else if (typ.substr(0, 2) == \"ir\")  typkotle = typ.replace(\/ir\/, \"BENEKOV R\");\r\n    else if (typ.substr(0, 2) == \"is\")  typkotle = typ.replace(\/is\/, \"BENEKOV S\");\r\n    else if (typ.substr(0, 2) == \"ib\")  typkotle = typ.replace(\/ib\/, \"BENEKOV B\");\r\n    else if (typ.substr(0, 2) == \"ik\")  typkotle = typ.replace(\/ik\/, \"BENEKOV K\");\r\n    else if (typ.substr(0, 2) == \"id\")  typkotle = typ.replace(\/id\/, \"BENEKOV D\");\r\n    else if (typ.substr(0, 2) == \"iu\")  typkotle = typ.replace(\/iu\/, \"CosmoTHERM U\");\r\n    else if (typ.substr(0, 3) == \"ilt\")  typkotle = typ.replace(\/ilt\/, \"BENEKOV LT\");\r\n    else if (typ.substr(0, 7) == \"ivie200\")  typkotle = typ.replace(\/ivie200\/, \"Viessmann Vitodens 200\");\r\n    else if (typ.substr(0, 4) == \"ivie\")  typkotle = typ.replace(\/ivie\/, \"Viessmann Vitodens 100\");\r\n    else  typkotle = \"Set pro p\u0159estavbu\";\r\n        html = \"<span class='name'>\" + results.features[i].properties.name + \"<\/span><br><br><span class='adresa'>\" + typkotle.replace(\/.png\/, '') + \"<\/span><br><span class='mesto'>\"+\r\n      results.features[i].properties.mesto+\"<\/span><br><span class='tel'>\"+results.features[i].properties.tel+\"<\/span>\";\r\n   var marker = new google.maps.Marker({\r\n      position: latLng,\r\n      map: map,\r\n      icon: 'images\/'+typ,      \r\n      htm: html,\r\n      zIndex: i\r\n\r\n    });\r\n    google.maps.event.addListener(marker, 'click', function() {\r\n        infowindow.setContent(this.htm);\r\n        infowindow.open(map, this);\r\n    });\r\n\r\n    if (typ==\"ic16.png\") pzc16++;\r\n    if (typ==\"ic26.png\") pzc26++;\r\n    if (typ==\"ic27.png\") pzc27++;\r\n    if (typ==\"ic17.png\") pzc17++;\r\n    if (typ==\"ib20.png\") pzb20++;\r\n    if (typ==\"ik14.png\") pzk++;\r\n    if (typ==\"ik20.png\") pzk++;\r\n    if (typ==\"ik25.png\") pzk++;\r\n    if (typ==\"id12.png\") pzd++;\r\n    if (typ==\"id18.png\") pzd++;\r\n    if (typ==\"id26.png\") pzd++;\r\n    if (typ==\"id33.png\") pzd++;\r\n    if (typ==\"ivie.png\") pzv++;\r\n    if (typ==\"ivie200.png\") pzv++;\r\n    if (typ==\"iset.png\") pzset++;\r\n  }\r\n  document.getElementById(\"pz\").innerHTML = i;\r\n  document.getElementById(\"pzc16\").innerHTML = pzc16;\r\n  document.getElementById(\"pzc26\").innerHTML = pzc26;\r\n  document.getElementById(\"pzc27\").innerHTML = pzc27;\r\n  document.getElementById(\"pzc17\").innerHTML = pzc17;\r\n  document.getElementById(\"pzb20\").innerHTML = pzb20;\r\n  document.getElementById(\"pzk\").innerHTML = pzk;\r\n  document.getElementById(\"pzd\").innerHTML = pzd;\r\n  document.getElementById(\"pzv\").innerHTML = pzv;\r\n  document.getElementById(\"pzset\").innerHTML = pzset;\r\n}\r\n\r\n\r\n<\/script>\r\n<script async defer\r\n  src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?key=AIzaSyDhSyn9bICBT08-Q5x2SUxgj6DstEvJZv4&callback=initMap\">\r\n<\/script>\r\n\r\n<style type=\"text\/css\">\r\n.name {\r\n  font-weight: bold;\r\n  font-size: 12px;\r\n  text-decoration: underline;\r\n}\r\n.adresa {\r\n  font-size: 10px;\r\n}\r\n.mesto {\r\n  font-size: 10px;\r\n}\r\n.tel {\r\n  font-weight: bold;\r\n  font-size: 10px;\r\n}\r\n.gps {\r\n  font-size: 10px;\r\n  color: #000000;\r\n}\r\n.uvod_text {\r\n  font-size: 14px;\r\n  color: #000000;\r\n}\r\n.comment-content img,\r\n.entry-content img,\r\n.entry-summary img,\r\n#site-header img,\r\n.widget img,\r\n.wp-caption {\r\n\tmax-width: none;\r\n}\r\n<\/style>\r\n\r\n  <span onload=\"initialize()\"><\/span><div id=\"map\" style=\"width: 800px; height: 400px\"><\/div><br><br>\r\nAdresy kotelen nejsou p\u0159esn\u011b, pokud chcete kontakt na z\u00e1kazn\u00edka, tak volejte na \u010d\u00edslo <b>606 125 533<\/b>.\r\n\r\n\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"page-templates\/full-width.php","meta":[],"_links":{"self":[{"href":"https:\/\/montazkotlu.schiedek.cz\/index.php?rest_route=\/wp\/v2\/pages\/79"}],"collection":[{"href":"https:\/\/montazkotlu.schiedek.cz\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/montazkotlu.schiedek.cz\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/montazkotlu.schiedek.cz\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/montazkotlu.schiedek.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=79"}],"version-history":[{"count":4,"href":"https:\/\/montazkotlu.schiedek.cz\/index.php?rest_route=\/wp\/v2\/pages\/79\/revisions"}],"predecessor-version":[{"id":538,"href":"https:\/\/montazkotlu.schiedek.cz\/index.php?rest_route=\/wp\/v2\/pages\/79\/revisions\/538"}],"wp:attachment":[{"href":"https:\/\/montazkotlu.schiedek.cz\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=79"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}