{"id":33,"date":"2016-05-05T19:28:53","date_gmt":"2016-05-05T19:28:53","guid":{"rendered":"http:\/\/armedin.am\/?page_id=33"},"modified":"2025-12-10T09:54:56","modified_gmt":"2025-12-10T05:54:56","slug":"%d5%b0%d5%a5%d5%bf%d5%a1%d5%a4%d5%a1%d6%80%d5%b1-%d5%af%d5%a1%d5%ba-2","status":"publish","type":"page","link":"http:\/\/armedin.am\/ru\/%d5%b0%d5%a5%d5%bf%d5%a1%d5%a4%d5%a1%d6%80%d5%b1-%d5%af%d5%a1%d5%ba-2\/","title":{"rendered":"\u041e\u0411\u0420\u0410\u0422\u041d\u0410\u042f \u0421\u0412\u042f\u0417\u042c"},"content":{"rendered":"<address>\u0422\u0438\u0442\u043e\u0433\u0440\u0430\u0434\u044f\u043d\u00a014 \u00a00087 \u0433.\u0415\u0440\u0435\u0432\u0430\u043d, \u0410\u0440\u043c\u0435\u043d\u0438\u044f, \u0442\u0435\u043b (+37410) 45 19 23<\/address>\n<p><a href=\"armmedin@gmail.com\">armmedin@gmail.com<\/a><br \/>\n\t\t\t\t\t<div id=\"huge_it_google_map59699_container\">\r\n\t\t\t\t\t\t<div class=\"hide\" id=\"huge_it_google_map59699\" style=\"position:relative !important;height:300px; width:100%;\r\n\t\t\t\t\t\tborder-radius:0px !important; \r\n\t\t\t\t\t\t\t\t\t\t\t\t\t\tfloat:left !important;\r\n\t\t\t\t\t\t\t\tmargin:0px 0px 0px 0px !important;\r\n\t\t\t\t\t\t\t\" >\r\n\t\t\t\t\t\t<\/div>\r\n\t\t\t\t\t<\/div>\r\n\t\t\t\t\t\t<style>\r\n\t\t\t\t\t\t\t#huge_it_google_map59699 img {\r\n\t\t\t\t\t\t\t\tmax-width: none;\r\n                                                                visibility:visible !important;\r\n\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t.hide {\r\n\t\t\t\t\t\t\t\tdisplay:none;\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t<\/style>\r\n\t\t\t\t\t<script>\r\n\t\t\t\t\t\tjQuery(document).ready(function(){\r\n\t\t\t\t\t\t\tfunction InitializeMap59699(){\r\n\t\t\t\t\t\t\tvar marker = [];\r\n\t\t\t\t\t\t\tvar polygone=[];\r\n\t\t\t\t\t\t\tvar polyline = [];\r\n\t\t\t\t\t\t\tvar polylinepoints;\r\n\t\t\t\t\t\t\tvar newpolylinecoords = [];\r\n\t\t\t\t\t\t\tvar polygonpoints;\r\n\t\t\t\t\t\t\tvar polygoncoords = [];\r\n\t\t\t\t\t\t\tvar newcircle=[];\r\n\t\t\t\t\t\t\tvar infowindow = [];\r\n\t\t\t\t\t\t\tvar newcirclemarker=[];\r\n\t\t\t\t\t\t\tvar circlepoint;\r\n\t\t\t\t\t\t\tvar width = jQuery(\"#huge_it_google_map\").width();\r\n\t\t\t\t\t\t\tvar height = jQuery(\"#huge_it_google_map\").height();\r\n\t\t\t\t\t\t\tvar div = parseInt(width)\/parseInt(height);\r\n\t\t\t\t\t\t\tvar trafficLayer = new google.maps.TrafficLayer();\r\n\t\t\t\t\t\t\tvar bikeLayer = new google.maps.BicyclingLayer();\r\n\t\t\t\t\t\t\tvar transitLayer = new google.maps.TransitLayer();\r\n\t\t\t\t\t\t\tfunction parseFromXML(str){\r\n\t\t\t\t\t\t\t\treturn str.replace(\/&amp;\/g, \"&\").replace(\/&lt;\/g,\"<\").replace(\/&gt;\/g,\">\").replace(\/&quot;\/g,'\\\"').replace(\/&#39;\/g,\"\\'\");\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tfunction bindInfoWindow(marker, map, infowindow, description, info_type){\r\n\t\t\t\t\t\t\t\t\t\tdescription=parseFromXML(description);\r\n\t\t\t\t\t\t\t\t\t\tif(info_type == \"click\")\r\n\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\tgoogle.maps.event.addListener(marker, 'click', function() {\r\n\t\t\t\t\t\t\t\t\t\t\t\tinfowindow.setContent(description);\r\n\t\t\t\t\t\t\t\t\t\t\t\tinfowindow.open(map, marker);\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif(info_type == \"hover\")\r\n\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\tgoogle.maps.event.addListener(marker, 'mouseover', function() {\r\n\t\t\t\t\t\t\t\t\t\t\t\tinfowindow.setContent(description);\r\n\t\t\t\t\t\t\t\t\t\t\t\tinfowindow.open(map, marker);\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t\tgoogle.maps.event.addListener(marker, 'mouseout', function() {\r\n\t\t\t\t\t\t\t\t\t\t\t\tinfowindow.close(map,marker);\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tjQuery(document).on(\"click tap drag scroll\",function(e){\r\n\t\t\t\t\t\t\t\tif(window.matchMedia('(max-width:768px)').matches){\r\n\t\t\t\t\t\t\t\t\tvar container = jQuery(\"#huge_it_google_map59699\");\r\n\t\t\t\t\t\t\t\t\tif (!container.is(e.target) && container.has(e.target).length === 0){\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tdraggable:false,\r\n\t\t\t\t\t\t\t\t\t\t\tscrollwheel:false,\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tdraggable:true,\r\n\t\t\t\t\t\t\t\t\t\t\tscrollwheel:true,\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\tjQuery(window).on(\"resize\",function(){\r\n\t\t\t\t\t\t\t\tvar newwidth = jQuery(\"#huge_it_google_map\").width();\r\n\t\t\t\t\t\t\t\tvar newheight = parseInt(newwidth)\/parseInt(div)+\"px\";\r\n\t\t\t\t\t\t\t\tjQuery(\"#huge_it_google_map\").height(newheight);\r\n\t\t\t\t\t\t\t\tconsole.log(jQuery(\"#huge_it_google_map\").height());\r\n\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tvar center_lat = 40.1311025;\r\n\t\t\t\t\t\t\tvar center_lng = 44.52442199999996;\r\n\t\t\t\t\t\t\tvar center_coords = new google.maps.LatLng(center_lat,center_lng);\r\n\t\t\t\t\t\t\tvar styles = [\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tstylers:[\r\n\t\t\t\t\t\t\t\t\t\t{ hue:\"#\" },\r\n\t\t\t\t\t\t\t\t\t\t{ saturation:0 },\r\n\t\t\t\t\t\t\t\t\t\t{ lightness:0 },\r\n\t\t\t\t\t\t\t\t\t\t{ gamma:1 },\r\n\t\t\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t]\r\n\t\t\t\t\t\t\tvar frontEndMapOptions = {\r\n\t\t\t\t\t\t\t\tzoom:parseInt(15),\r\n\t\t\t\t\t\t\t\tcenter: center_coords,\r\n\t\t\t\t\t\t\t\tdisableDefaultUI: true,\r\n\t\t\t\t\t\t\t\tstyles:styles,\r\n\t\t\t\t\t\t\t\tpanControl: true,\r\n\t\t\t\t\t\t\t\tzoomControl: true,\r\n\t\t\t\t\t\t\t\tmapTypeControl: true,\r\n\t\t\t\t\t\t\t\tscaleControl: true,\r\n\t\t\t\t\t\t\t\tstreetViewControl: true,\r\n\t\t\t\t\t\t\t\toverviewMapControl: true,\r\n\t\t\t\t\t\t\t\tmapTypeId: google.maps.MapTypeId.ROADMAP,\r\n\t\t\t\t\t\t\t\tminZoom:parseInt(0),\r\n\t\t\t\t\t\t\t\tmaxZoom:parseInt(22)\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tvar front_end_map = new google.maps.Map(document.getElementById('huge_it_google_map59699'),frontEndMapOptions);\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif(window.matchMedia('(max-width:768px)').matches){\r\n\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\tdraggable:false,\r\n\t\t\t\t\t\t\t\t\tscrollwheel:false,\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\tdraggable:true,\r\n\t\t\t\t\t\t\t\t\tscrollwheel:true,\r\n\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tvar huge_map_shown=0;\r\n\t\t\t\t\t\t\tfunction front_map_animations(){\r\n\t\t\t\t\t\t\t\tvar map_anim;\r\n\t\t\t\t\t\t\t\thuge_map_shown =1;\r\n\t\t\t\t\t\t\t\tvar block=jQuery(\"#huge_it_google_map59699\");\r\n\t\t\t\t\t\t\t\tif(\"none\"==\"none\"){\r\n\t\t\t\t\t\t\t\t\tmap_anim=\"\";\r\n\t\t\t\t\t\t\t\t}else{\r\n\t\t\t\t\t\t\t\t\tmap_anim=\"none\";\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\tblock.removeClass(\"hide\");\r\n\t\t\t\t\t\t\t\tblock.addClass(\"animated \"+map_anim);\r\n\t\t\t\t\t\t\t\tgoogle.maps.event.trigger(front_end_map, 'resize');\r\n\t\t\t\t\t\t\t\tfront_end_map.setCenter(center_coords);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif(jQuery(window).scrollTop() <= jQuery(\"#huge_it_google_map59699_container\").offset().top\r\n\t\t\t\t\t\t\t\t&& jQuery(window).scrollTop()+jQuery(window).height() >= jQuery(\"#huge_it_google_map59699_container\").offset().top\r\n\t\t\t\t\t\t\t\t){\r\n\t\t\t\t\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t\t\t\t\tfront_map_animations();\r\n\t\t\t\t\t\t\t\t\t},500);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tjQuery(window).scroll(function(){\r\n\t\t\t\t\t\t\t\tif(jQuery(window).scrollTop() <= jQuery(\"#huge_it_google_map59699_container\").offset().top\r\n\t\t\t\t\t\t\t\t&& jQuery(window).scrollTop()+jQuery(window).height() >= jQuery(\"#huge_it_google_map59699_container\").offset().top\r\n\t\t\t\t\t\t\t\t){\r\n\t\t\t\t\t\t\t\t\tsetTimeout(function(){\r\n\t\t\t\t\t\t\t\t\t\tfront_map_animations();\r\n\t\t\t\t\t\t\t\t\t},500);\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tif(\"false\" == \"true\"){\r\n\t\t\t\t\t\t\t\tbikeLayer.setMap(front_end_map);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif(\"false\" == \"true\"){\r\n\t\t\t\t\t\t\t\ttrafficLayer.setMap(front_end_map);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tif(\"false\" == \"true\"){\r\n\t\t\t\t\t\t\t\ttransitLayer.setMap(front_end_map);\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\/*if(pan_controller == \"true\")\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tpanControl: true,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tpanControl: false,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif(zoom_controller == \"true\")\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tzoomControl: true,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tzoomControl: false,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif(type_controller == \"true\")\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tmapTypeControl: true,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tmapTypeControl: false,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif(scale_controller == \"true\")\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tscaleControl: true,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tscaleControl: false,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif(street_view_controller == \"true\")\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tstreetViewControl: true,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\tstreetViewControl: false,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tif(overview_map_controller == \"true\")\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\toverviewMapControl: true,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\telse\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tfront_end_map.setOptions({\r\n\t\t\t\t\t\t\t\t\t\t\toverviewMapControl: false,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}*\/\r\n\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\tvar front_end_data= {\r\n\t\t\t\t\t\t\t\taction: 'g_map_options',\r\n\t\t\t\t\t\t\t\tmap_id:2,\r\n\t\t\t\t\t\t\t\ttask:'getxml'\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tjQuery.post(\"http:\/\/armedin.am\/wp-admin\/admin-ajax.php\", front_end_data, function(response){\r\n\t\t\t\t\t\t\t\tif(response.success)\r\n\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\tvar xml = jQuery.parseXML(response.success);\r\n\t\t\t\t\t\t\t\t\tconsole.log(xml);\r\n\t\t\t\t\t\t\t\t\tvar markers = xml.documentElement.getElementsByTagName(\"marker\");\r\n\t\t\t\t\t\t\t\t\tfor(var i = 0; i < markers.length; i++)\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\tvar name = markers[i].getAttribute(\"name\");\r\n\t\t\t\t\t\t\t\t\t\tvar address = markers[i].getAttribute(\"address\");\r\n\t\t\t\t\t\t\t\t\t\tvar anim = markers[i].getAttribute(\"animation\");\r\n\t\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t\t\tvar description = markers[i].getAttribute(\"description\");\r\n\t\t\t\t\t\t\t\t\t\tvar markimg = markers[i].getAttribute(\"img\");\r\n\t\t\t\t\t\t\t\t\t\tvar img = new google.maps.MarkerImage(markimg,\r\n\t\t\t\t\t\t\t\t\t\t new google.maps.Size(20, 20));\r\n\t\t\t\t\t\t\t\t\t\tvar point = new google.maps.LatLng(\r\n\t\t\t\t\t\t\t\t\t\t\tparseFloat(markers[i].getAttribute(\"lat\")),\r\n\t\t\t\t\t\t\t\t\t\t\tparseFloat(markers[i].getAttribute(\"lng\")));\r\n\t\t\t\t\t\t\t\t\t\tvar html = \"<b>\" + name + \"<\/b> <br\/>\" + address;\r\n\t\t\t\t\t\t\t\t\t\tif(anim == 'DROP'){\r\n\t\t\t\t\t\t\t\t\t\t\tmarker[i] = new google.maps.Marker({\r\n\t\t\t\t\t\t\t\t\t\t\tmap: front_end_map,\r\n\t\t\t\t\t\t\t\t\t\t\tposition: point,\r\n\t\t\t\t\t\t\t\t\t\t\ttitle: name,\r\n\t\t\t\t\t\t\t\t\t\t\ticon: markimg,\r\n\t\t\t\t\t\t\t\t\t\t\tcontent: description,\r\n\t\t\t\t\t\t\t\t\t\t\tanimation: google.maps.Animation.DROP,\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif(anim == 'BOUNCE'){\r\n\t\t\t\t\t\t\t\t\t\tmarker[i] = new google.maps.Marker({\r\n\t\t\t\t\t\t\t\t\t\t\tmap: front_end_map,\r\n\t\t\t\t\t\t\t\t\t\t\tposition: point,\r\n\t\t\t\t\t\t\t\t\t\t\ttitle: name,\r\n\t\t\t\t\t\t\t\t\t\t\tcontent: description,\r\n\t\t\t\t\t\t\t\t\t\t\ticon: markimg,\r\n\t\t\t\t\t\t\t\t\t\t\tanimation: google.maps.Animation.BOUNCE\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tif(anim == 'NONE'){\r\n\t\t\t\t\t\t\t\t\t\t\tmarker[i] = new google.maps.Marker({\r\n\t\t\t\t\t\t\t\t\t\t\t\tmap: front_end_map,\r\n\t\t\t\t\t\t\t\t\t\t\t\tposition: point,\r\n\t\t\t\t\t\t\t\t\t\t\t\ticon: markimg,\r\n\t\t\t\t\t\t\t\t\t\t\t\tcontent: description,\r\n\t\t\t\t\t\t\t\t\t\t\t\ttitle: name,\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tinfowindow[i] = new google.maps.InfoWindow;\r\n\t\t\t\t\t\t\t\t\t\tbindInfoWindow(marker[i], front_end_map, infowindow[i], description, \"click\");\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tvar polygones = xml.documentElement.getElementsByTagName(\"polygone\");\r\n\t\t\t\t\t\t\t\t\tfor(var i = 0; i < polygones.length; i++)\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvar name = polygones[i].getAttribute(\"name\");\r\n\t\t\t\t\t\t\t\t\t\tvar line_opacity = polygones[i].getAttribute(\"line_opacity\");\r\n\t\t\t\t\t\t\t\t\t\tvar line_color = \"#\"+polygones[i].getAttribute(\"line_color\");\r\n\t\t\t\t\t\t\t\t\t\tvar fill_opacity = polygones[i].getAttribute(\"fill_opacity\");\r\n\t\t\t\t\t\t\t\t\t\tvar line_width = polygones[i].getAttribute(\"line_width\");\r\n\t\t\t\t\t\t\t\t\t\tvar fill_color = \"#\"+polygones[i].getAttribute(\"fill_color\");\r\n\t\t\t\t\t\t\t\t\t\tvar latlngs = polygones[i].getElementsByTagName(\"latlng\");\r\n\t\t\t\t\t\t\t\t\t\tpolygoncoords = [];\r\n\t\t\t\t\t\t\t\t\t\tfor(var j = 0; j < latlngs.length; j++)\r\n\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\tpolygonpoints = new google.maps.LatLng(parseFloat(latlngs[j].getAttribute(\"lat\")),\r\n\t\t\t\t\t\t\t\t\t\t\t\tparseFloat(latlngs[j].getAttribute(\"lng\")))\r\n\t\t\t\t\t\t\t\t\t\t\tpolygoncoords.push(polygonpoints)\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t\/\/alert(polygoncoords);\r\n\t\t\t\t\t\t\t\t\t\tpolygone[i] = new google.maps.Polygon({\r\n\t\t\t\t\t\t\t\t\t\t\tpaths : polygoncoords,\r\n\t\t\t\t\t\t\t\t\t\t\tmap: front_end_map,\r\n\t\t\t\t\t\t\t\t\t\t\tstrokeOpacity: line_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\tstrokeColor:line_color,\r\n\t\t\t\t\t\t\t\t\t\t\tstrokeWeight:line_width,\r\n\t\t\t\t\t\t\t\t\t\t\tfillOpacity:fill_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\tfillColor:fill_color,\r\n\t\t\t\t\t\t\t\t\t\t\tdraggable:false,\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\tgoogle.maps.event.addListener(polygone[i], 'click', function(event){\r\n\t\t\t\t\t\t\t\t\t\t\tvar polygone_index = polygone.indexOf(this);\r\n\t\t\t\t\t\t\t\t\t\t\tvar polygone_url = polygones[polygone_index].getAttribute(\"url\");\r\n\t\t\t\t\t\t\t\t\t\t\tif(polygone_url != \"\")\r\n\t\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\t\twindow.open(polygone_url, '_blank');\r\n\t\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\tgoogle.maps.event.addListener(polygone[i], 'mouseover', function(event){\r\n\t\t\t\t\t\t\t\t\t\t\tvar polygone_index = polygone.indexOf(this);\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_line_opacity=polygones[polygone_index].getAttribute(\"hover_line_opacity\");\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_line_color=\"#\"+polygones[polygone_index].getAttribute(\"hover_line_color\");\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_fill_opacity=polygones[polygone_index].getAttribute(\"hover_fill_opacity\");\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_fill_color=\"#\"+polygones[polygone_index].getAttribute(\"hover_fill_color\");\r\n\t\t\t\t\t\t\t\t\t\t\tthis.setOptions({ \r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeColor:hover_new_line_color,\r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeOpacity:hover_new_line_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\t\tfillOpacity:hover_new_fill_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\t\tfillColor:hover_new_fill_color,\r\n\t\t\t\t\t\t\t\t\t\t\t}); \r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\tgoogle.maps.event.addListener(polygone[i], 'mouseout', function(event){\r\n\t\t\t\t\t\t\t\t\t\t\tpolygone_index = polygone.indexOf(this);\r\n\t\t\t\t\t\t\t\t\t\t\tnew_line_opacity = polygones[polygone_index].getAttribute(\"line_opacity\");\r\n\t\t\t\t\t\t\t\t\t\t\tnew_line_color = \"#\"+polygones[polygone_index].getAttribute(\"line_color\");\r\n\t\t\t\t\t\t\t\t\t\t\tnew_fill_opacity = polygones[polygone_index].getAttribute(\"fill_opacity\");\r\n\t\t\t\t\t\t\t\t\t\t\tnew_line_width = polygones[polygone_index].getAttribute(\"line_width\");\r\n\t\t\t\t\t\t\t\t\t\t\tnew_fill_color = \"#\"+polygones[polygone_index].getAttribute(\"fill_color\");\r\n\t\t\t\t\t\t\t\t\t\t\tthis.setOptions({ \r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeColor:new_line_color,\r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeOpacity:new_line_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\t\tfillOpacity:new_fill_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\t\tfillColor:new_fill_color,\r\n\t\t\t\t\t\t\t\t\t\t\t}); \r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tvar polylines = xml.documentElement.getElementsByTagName(\"polyline\");\r\n\t\t\t\t\t\t\t\t\tfor(var i = 0; i< polylines.length; i++)\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvar name = polylines[i].getAttribute(\"name\");\r\n\t\t\t\t\t\t\t\t\t\tvar line_opacity = polylines[i].getAttribute(\"line_opacity\");\r\n\t\t\t\t\t\t\t\t\t\tvar line_color = polylines[i].getAttribute(\"line_color\");\r\n\t\t\t\t\t\t\t\t\t\tvar line_width = polylines[i].getAttribute(\"line_width\");\r\n\t\t\t\t\t\t\t\t\t\tvar latlngs = polylines[i].getElementsByTagName(\"latlng\");\r\n\t\t\t\t\t\t\t\t\t\tnewpolylinecoords =[];\r\n\t\t\t\t\t\t\t\t\t\tfor(var j = 0; j < latlngs.length; j++)\r\n\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\tpolylinepoints = new google.maps.LatLng(parseFloat(latlngs[j].getAttribute(\"lat\")),\r\n\t\t\t\t\t\t\t\t\t\t\t\tparseFloat(latlngs[j].getAttribute(\"lng\")))\r\n\t\t\t\t\t\t\t\t\t\t\tnewpolylinecoords.push(polylinepoints)\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tpolyline[i] = new google.maps.Polyline({\r\n\t\t\t\t\t\t\t\t\t\t\tpath:newpolylinecoords,\r\n\t\t\t\t\t\t\t\t\t\t\tmap:front_end_map,\r\n\t\t\t\t\t\t\t\t\t\t\tstrokeColor:\"#\"+line_color,\r\n\t\t\t\t\t\t\t\t\t\t\tstrokeOpacity:line_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\tstrokeWeight:line_width,\r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\tgoogle.maps.event.addListener(polyline[i], 'mouseover', function(event){\r\n\t\t\t\t\t\t\t\t\t\t\tvar polyline_index = polyline.indexOf(this);\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_line_opacity=polylines[polyline_index].getAttribute(\"hover_line_opacity\");\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_line_color=\"#\"+polylines[polyline_index].getAttribute(\"hover_line_color\");\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_fill_opacity=polylines[polyline_index].getAttribute(\"hover_fill_opacity\");\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_fill_color=\"#\"+polylines[polyline_index].getAttribute(\"hover_fill_color\");\r\n\t\t\t\t\t\t\t\t\t\t\tthis.setOptions({ \r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeColor:hover_new_line_color,\r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeOpacity:hover_new_line_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\t\tfillOpacity:hover_new_fill_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\t\tfillColor:hover_new_fill_color,\r\n\t\t\t\t\t\t\t\t\t\t\t}); \r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t\tgoogle.maps.event.addListener(polyline[i], 'mouseout', function(event){\r\n\t\t\t\t\t\t\t\t\t\t\tpolyline_index = polyline.indexOf(this);\r\n\t\t\t\t\t\t\t\t\t\t\tnew_line_opacity = polylines[polyline_index].getAttribute(\"line_opacity\");\r\n\t\t\t\t\t\t\t\t\t\t\tnew_line_color = \"#\"+polylines[polyline_index].getAttribute(\"line_color\");\r\n\t\t\t\t\t\t\t\t\t\t\tnew_line_width = polylines[polyline_index].getAttribute(\"line_width\");\r\n\t\t\t\t\t\t\t\t\t\t\tthis.setOptions({ \r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeColor:new_line_color,\r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeOpacity:new_line_opacity,\r\n\r\n\t\t\t\t\t\t\t\t\t\t\t}); \r\n\t\t\t\t\t\t\t\t\t\t})\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\tvar circles = xml.documentElement.getElementsByTagName(\"circle\");\r\n\t\t\t\t\t\t\t\t\tfor(var i = 0; i< circles.length; i++)\r\n\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\tvar circle_name =circles[i].getAttribute(\"name\");\r\n\t\t\t\t\t\t\t\t\t\tvar circle_center_lat = circles[i].getAttribute(\"center_lat\");\r\n\t\t\t\t\t\t\t\t\t\tvar circle_center_lng = circles[i].getAttribute(\"center_lng\");\r\n\t\t\t\t\t\t\t\t\t\tvar circle_radius = circles[i].getAttribute(\"radius\");\r\n\t\t\t\t\t\t\t\t\t\tvar circle_line_width = circles[i].getAttribute(\"line_width\");\r\n\t\t\t\t\t\t\t\t\t\tvar circle_line_color = circles[i].getAttribute(\"line_color\");\r\n\t\t\t\t\t\t\t\t\t\tvar circle_line_opacity = circles[i].getAttribute(\"line_opacity\");\r\n\t\t\t\t\t\t\t\t\t\tvar circle_fill_color = circles[i].getAttribute(\"fill_color\");\r\n\t\t\t\t\t\t\t\t\t\tvar circle_fill_opacity = circles[i].getAttribute(\"fill_opacity\");\r\n\t\t\t\t\t\t\t\t\t\tvar circle_show_marker = parseInt(circles[i].getAttribute(\"show_marker\"));\r\n\t\t\t\t\t\t\t\t\t\tcirclepoint = new google.maps.LatLng(parseFloat(circles[i].getAttribute(\"center_lat\")),\r\n\t\t\t\t\t\t\t\t\t\tparseFloat(circles[i].getAttribute(\"center_lng\")));\r\n\t\t\t\t\t\t\t\t\t\tnewcircle[i] = new google.maps.Circle({\r\n\t\t\t\t\t\t\t\t\t\t\tmap:front_end_map,\r\n\t\t\t\t\t\t\t\t\t\t\tcenter:circlepoint,\r\n\t\t\t\t\t\t\t\t\t\t\ttitle:name,\r\n\t\t\t\t\t\t\t\t\t\t\tradius:parseInt(circle_radius),\r\n\t\t\t\t\t\t\t\t\t\t\tstrokeColor:\"#\"+circle_line_color,\r\n\t\t\t\t\t\t\t\t\t\t\tstrokeOpacity:circle_line_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\tstrokeWeight:circle_line_width,\r\n\t\t\t\t\t\t\t\t\t\t\tfillColor:\"#\"+circle_fill_color,\r\n\t\t\t\t\t\t\t\t\t\t\tfillOpacity:circle_fill_opacity\r\n\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\tif(circle_show_marker == '1')\r\n\t\t\t\t\t\t\t\t\t\t{\r\n\t\t\t\t\t\t\t\t\t\t\tnewcirclemarker[i] = new google.maps.Marker({\r\n\t\t\t\t\t\t\t\t\t\t\t\tposition:circlepoint,\r\n\t\t\t\t\t\t\t\t\t\t\t\tmap:front_end_map,\r\n\t\t\t\t\t\t\t\t\t\t\t\ttitle:circle_name,\r\n\t\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\tgoogle.maps.event.addListener(newcircle[i], 'mouseover', function(event){\r\n\t\t\t\t\t\t\t\t\t\t\tvar circle_index = newcircle.indexOf(this);\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_line_opacity=circles[circle_index].getAttribute(\"hover_line_opacity\");\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_line_color=\"#\"+circles[circle_index].getAttribute(\"hover_line_color\");\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_fill_opacity=circles[circle_index].getAttribute(\"hover_fill_opacity\");\r\n\t\t\t\t\t\t\t\t\t\t\thover_new_fill_color=\"#\"+circles[circle_index].getAttribute(\"hover_fill_color\");\r\n\t\t\t\t\t\t\t\t\t\t\tthis.setOptions({ \r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeColor:hover_new_line_color,\r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeOpacity:hover_new_line_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\t\tfillOpacity:hover_new_fill_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\t\tfillColor:hover_new_fill_color,\r\n\t\t\t\t\t\t\t\t\t\t\t}); \r\n\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t\tgoogle.maps.event.addListener(newcircle[i], 'mouseout', function(event){\r\n\t\t\t\t\t\t\t\t\t\t\tcircle_index = newcircle.indexOf(this);\r\n\t\t\t\t\t\t\t\t\t\t\tnew_line_opacity = circles[circle_index].getAttribute(\"line_opacity\");\r\n\t\t\t\t\t\t\t\t\t\t\tnew_line_color = \"#\"+circles[circle_index].getAttribute(\"line_color\");\r\n\t\t\t\t\t\t\t\t\t\t\tnew_fill_opacity = circles[circle_index].getAttribute(\"fill_opacity\");\r\n\t\t\t\t\t\t\t\t\t\t\tnew_fill_color = \"#\"+circles[circle_index].getAttribute(\"fill_color\");\r\n\t\t\t\t\t\t\t\t\t\t\tthis.setOptions({ \r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeColor:new_line_color,\r\n\t\t\t\t\t\t\t\t\t\t\t\tstrokeOpacity:new_line_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\t\tfillOpacity:new_fill_opacity,\r\n\t\t\t\t\t\t\t\t\t\t\t\tfillColor:new_fill_color,\r\n\t\t\t\t\t\t\t\t\t\t\t}); \r\n\t\t\t\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t\t\t\r\n\t\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\t},\"json\");\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tInitializeMap59699();\r\n\t\t\t\t\t\t})\r\n\t\t\t\t\t<\/script>\r\n\t\t\t\t<\/p>\n<address><strong>\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u044b:<\/strong><\/p>\n<p style=\"text-align: left;\">\u0420\u0435\u043a\u0442\u043e\u0440 &#8211; 11<br \/>\n\u0414\u0435\u043a\u0430\u043d \u043b\u0435\u0447\u0435\u0431\u043d\u043e\u0433\u043e \u0444\u0430\u043a\u0443\u043b\u044c\u0442\u0435\u0442\u0430 \u2014 24<br \/>\n\u0414\u0435\u043a\u0430\u043d \u0441\u0442\u043e\u043c\u0430\u0442\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0444\u0430\u043a\u0443\u043b\u044c\u0442\u0435\u0442\u0430- 20<br \/>\n\u041c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u0443\u0440\u0430 \u2014 25<br \/>\n\u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430- 16<br \/>\n\u0423\u0447\u0435\u0431\u043d\u043e-\u043c\u0435\u0442\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043e\u0442\u0434\u0435\u043b \u2014 22<br \/>\n\u0411\u0443\u0445\u0433\u0430\u043b\u0442\u0435\u0440\u0438\u044f- 14<br \/>\n\u041e\u0442\u0434\u0435\u043b \u043f\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430- 17<br \/>\n\u041b\u0435\u043a\u0442\u043e\u0440\u0441\u043a\u0430\u044f \u2014 23\u00a0\u0438 21<\/p>\n<p style=\"text-align: left;\">\u041e\u0442\u0434\u0435\u043b \u043a\u0430\u0434\u0440\u043e\u0432 \u2014 15<\/p>\n<\/address>\n","protected":false},"excerpt":{"rendered":"<p>\u0422\u0438\u0442\u043e\u0433\u0440\u0430\u0434\u044f\u043d\u00a014 \u00a00087 \u0433.\u0415\u0440\u0435\u0432\u0430\u043d, \u0410\u0440\u043c\u0435\u043d\u0438\u044f, \u0442\u0435\u043b (+37410) 45 19 23 armmedin@gmail.com \u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0438\u0435 \u0442\u0435\u043b\u0435\u0444\u043e\u043d\u044b: \u0420\u0435\u043a\u0442\u043e\u0440 &#8211; 11 \u0414\u0435\u043a\u0430\u043d \u043b\u0435\u0447\u0435\u0431\u043d\u043e\u0433\u043e \u0444\u0430\u043a\u0443\u043b\u044c\u0442\u0435\u0442\u0430 \u2014 24 \u0414\u0435\u043a\u0430\u043d \u0441\u0442\u043e\u043c\u0430\u0442\u043e\u043b\u043e\u0433\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0444\u0430\u043a\u0443\u043b\u044c\u0442\u0435\u0442\u0430- 20 \u041c\u0430\u0433\u0438\u0441\u0442\u0440\u0430\u0442\u0443\u0440\u0430 \u2014 25 \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430- 16 \u0423\u0447\u0435\u0431\u043d\u043e-\u043c\u0435\u0442\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438\u0439 \u043e\u0442\u0434\u0435\u043b \u2014 22 \u0411\u0443\u0445\u0433\u0430\u043b\u0442\u0435\u0440\u0438\u044f- 14 \u041e\u0442\u0434\u0435\u043b \u043f\u043e \u043e\u0431\u0435\u0441\u043f\u0435\u0447\u0435\u043d\u0438\u044e \u043a\u0430\u0447\u0435\u0441\u0442\u0432\u0430- 17 \u041b\u0435\u043a\u0442\u043e\u0440\u0441\u043a\u0430\u044f \u2014 23\u00a0\u0438 21 \u041e\u0442\u0434\u0435\u043b \u043a\u0430\u0434\u0440\u043e\u0432 \u2014 15<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"http:\/\/armedin.am\/ru\/wp-json\/wp\/v2\/pages\/33"}],"collection":[{"href":"http:\/\/armedin.am\/ru\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/armedin.am\/ru\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/armedin.am\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/armedin.am\/ru\/wp-json\/wp\/v2\/comments?post=33"}],"version-history":[{"count":11,"href":"http:\/\/armedin.am\/ru\/wp-json\/wp\/v2\/pages\/33\/revisions"}],"predecessor-version":[{"id":6112,"href":"http:\/\/armedin.am\/ru\/wp-json\/wp\/v2\/pages\/33\/revisions\/6112"}],"wp:attachment":[{"href":"http:\/\/armedin.am\/ru\/wp-json\/wp\/v2\/media?parent=33"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}