{"id":2043,"date":"2011-07-19T14:47:48","date_gmt":"2011-07-19T10:47:48","guid":{"rendered":"http:\/\/www.off-road-team.ru\/?page_id=2043"},"modified":"2011-07-19T14:47:48","modified_gmt":"2011-07-19T10:47:48","slug":"osm-map","status":"publish","type":"page","link":"https:\/\/www.off-road-team.ru\/?page_id=2043","title":{"rendered":"OSM Map"},"content":{"rendered":"<style type=\"text\/css\">#map_1 {clear: both; padding: 0px; margin: 0px; border: 0px; width: 100%; height: 100%; margin-top:0px; margin-right:0px;margin-left:0px; margin-bottom:0px; left: 0px; border-radius:0px;\nbox-shadow: none;}#map_1 img{clear: both; padding: 0px; margin: 0px; border: 0px; width: 100%; height: 100%; position: absolute; margin-top:0px; margin-right:0px;margin-left:0px; margin-bottom:0px; border-radius:0px;\nbox-shadow: none;}<\/style><div id=\"map_1\" class=\"OSM_Map\" style=\"width:600px; height:450px; overflow:hidden;padding:0px;border:thin solid green;\"><script type=\"text\/javascript\">\/* <![CDATA[ *\/(function($) { OpenLayers.ImgPath = \"https:\/\/www.off-road-team.ru\/wp-content\/plugins\/osm\/themes\/ol\/\"; map_1 = new OpenLayers.Map (\"map_1\", {            controls:[              new OpenLayers.Control.Navigation(),              new OpenLayers.Control.PanZoom(),              new OpenLayers.Control.Attribution()              ],          maxExtent: new OpenLayers.Bounds(-20037508.34,-20037508.34,20037508.34,20037508.34),          maxResolution: 156543.0399,          numZoomLevels: 19,          units: \"m\",          projection: new OpenLayers.Projection(\"EPSG:900913\"),          displayProjection: new OpenLayers.Projection(\"EPSG:4326\")      } );var lmap = new OpenLayers.Layer.OSM.Mapnik(\"Mapnik\");map_1.addLayers([lmap]);map_1.addControl(new OpenLayers.Control.ScaleLine({geodesic: true}));var lonLat = new OpenLayers.LonLat(49.745,63.874).transform(map_1.displayProjection, map_1.projection);map_1.setCenter (lonLat,5);var MarkerLayer = new OpenLayers.Layer.Markers(\"Marker\");map_1.addLayer(MarkerLayer);\n      function osm_map_1MarkerPopUpClick(a_evt){\n        if (this.popup == null){\n          this.popup = this.createPopup(this.closeBox);\n          map_1.addPopup(this.popup);\n          this.popup.show();\n        }\n        else{\n          for (var i = 0; i < map_1.popups.length; i++){\n          map_1.popups[i].hide();\n          }\n          this.popup.toggle();\n        }\n        OpenLayers.Event.stop(a_evt);\n      }\n    var map_1IconArray = [];var Mdata = {};\n        Mdata.icon = new OpenLayers.Icon(\"https:\/\/www.off-road-team.ru\/wp-content\/plugins\/osm\/icons\/wpttemp-green.png\",\n          new OpenLayers.Size(24,24),\n          new OpenLayers.Pixel(0, -24));map_1IconArray.push(Mdata);var ll = new OpenLayers.LonLat(49.042,65.307).transform(map_1.displayProjection, map_1.projection);var feature = new OpenLayers.Feature(MarkerLayer, ll, map_1IconArray[0]);feature.closeBox = true;feature.popupClass = OpenLayers.Class(OpenLayers.Popup.FramedCloud, {\"autoSize\": true, minSize: new OpenLayers.Size(150,150),\"keepInMap\": true } );feature.data.popupContentHTML = \"\";feature.data.overflow = \"hidden\";var marker = new OpenLayers.Marker(ll,map_1IconArray[0].icon.clone());marker.feature = feature;MarkerLayer.addMarker(marker);var lonLat = new OpenLayers.LonLat(49.745,63.874).transform(map_1.displayProjection, map_1.projection);map_1.setCenter (lonLat,5);})(jQuery)\/* ]]> *\/ <\/script><\/div>\n","protected":false},"excerpt":{"rendered":"<p><a href=\"https:\/\/www.off-road-team.ru\/?page_id=2043\">\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0434\u043b\u044f \u043f\u0440\u043e\u0447\u0442\u0435\u043d\u0438\u044f.<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":397,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":"","_links_to":"","_links_to_target":""},"class_list":["post-2043","page","type-page","status-publish","hentry","odd"],"_links":{"self":[{"href":"https:\/\/www.off-road-team.ru\/index.php?rest_route=\/wp\/v2\/pages\/2043","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.off-road-team.ru\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.off-road-team.ru\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.off-road-team.ru\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.off-road-team.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2043"}],"version-history":[{"count":0,"href":"https:\/\/www.off-road-team.ru\/index.php?rest_route=\/wp\/v2\/pages\/2043\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.off-road-team.ru\/index.php?rest_route=\/wp\/v2\/pages\/397"}],"wp:attachment":[{"href":"https:\/\/www.off-road-team.ru\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2043"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}