



{"id":56,"date":"2016-09-22T10:14:57","date_gmt":"2016-09-22T08:14:57","guid":{"rendered":"http:\/\/www.rv37.fr\/?page_id=56"},"modified":"2017-10-27T07:18:37","modified_gmt":"2017-10-27T05:18:37","slug":"grands-voyages","status":"publish","type":"page","link":"http:\/\/www.rv37.fr\/?page_id=56","title":{"rendered":"Grands voyages"},"content":{"rendered":"<div style=\"background-repeat: no-repeat;\"><p>les randonn\u00e9es annuelles<\/p>\n<p><!--%subpages%--><\/p>\n<p>Cliquer sur la trace pour acc\u00e9der \u00e0 la page du parcours. <span style=\"background-color: #ff0000;\">En rouge randos r\u00e9alis\u00e9es<\/span>, <span style=\"background-color: #00ff00;\">en vert en projet.<\/span><\/p>\n<div id=\"ShortCode_Div\">\n\n\t\t\t\t<div id=\"map_ol3js_1\" class=\"map undefined\" data-map_name=\"undefined\" data-map=\"map_ol3js_1\" style=\"width:100%; max-width:100%; height:600px; display:block; overflow:hidden;border:2px solid grey;\" >\n\t\t\t\t  <div id=\"map_ol3js_1_popup\" class=\"ol-popup\" >\n\t\t\t\t\t<a href=\"#\" id=\"map_ol3js_1_popup-closer\" class=\"ol-popup-closer\"><\/a>\n\t\t\t\t\t<div id=\"map_ol3js_1_popup-content\" ><\/div>\n\t\t\t\t  <\/div>\n\t\t\t\t<\/div>\n\t\t\t\n\n\t\t\t\t<script type=\"text\/javascript\">\n\t\t\t\t\ttranslations['openlayer'] = \"open layer\";\n\t\t\t\t\ttranslations['openlayerAtStartup'] = \"open layer at startup\";\n\t\t\t\t\ttranslations['generateLink'] = \"link to this map with opened layers\";\n\t\t\t\t\ttranslations['shortDescription'] = \"short description\";\n\t\t\t\t\ttranslations['generatedShortCode'] = \"to get a text control link paste this code in your wordpress editor\";\n\t\t\t\t\ttranslations['closeLayer'] = \"close layer\";\n\t\t\t\t\ttranslations['cantGenerateLink'] = \"put this string in the existing map short code to control this map\";\n\t\t\t  <\/script>\n\n\n\t\t\t  <script type=\"text\/javascript\">\n\t\t\t  vectorM['map_ol3js_1'] = [];\n\t        \n        var raster = getTileLayer(\"osm\",\"NoKey\");\t\t\t\n\n\t\t\t  var map_ol3js_1 = new ol.Map({\n\t\t\t\tinteractions: ol.interaction.defaults.defaults({mouseWheelZoom:false}),\n\t\t\t\tlayers: [raster],\n\t\t\t\ttarget: \"map_ol3js_1\",\n\t\t\t\tview: new ol.View({\n\t\t\t\t  center: ol.proj.transform([2.856,47.063], \"EPSG:4326\", \"EPSG:3857\"),\n\t\t\t\t  zoom: 6\n\t\t\t\t})\n\t\t\t  });\n\t\t\t  \n    var style0 = {\n      \"Point\": [new ol.style.Style({\n\n          image: new ol.style.Icon({\n            anchor: [0.5, 41],\n            anchorXUnits: \"fraction\",\n            anchorYUnits: \"pixels\",\n            opacity: 0.75,\n            src: \"http:\/\/www.rv37.fr\/wp-content\/plugins\/osm\/icons\/mic_blue_pinother_02.png\"\n          })\n      })],\n\n      \"LineString\": [new ol.style.Style({\n        stroke: new ol.style.Stroke({\n          color: \"blue\",\n          width: 8\n        })\n      })],\n      \"MultiLineString\": [new ol.style.Style({\n        stroke: new ol.style.Stroke({\n          color: \"blue\",\n          width: 4\n        })\n      })]\n    };\n\t\t  vectorL0 = new ol.layer.Vector({\n\n\t\t\tsource: new ol.source.Vector({\n\t\t  url:\"..\/..\/..\/..\/wp-content\/gpstraces\/Voyages.kml\",\n\t\t\t  format: new ol.format.KML({ showPointNames: false})\n\t\t\t}),\n         zIndex: 92\n\t\t  });map_ol3js_1.addLayer(vectorL0);addControls2Map(map_ol3js_1,0,0,3,0,5,6,7,0,1);\nosm_addPopupClickhandler(map_ol3js_1,  \"map_ol3js_1\"); \nosm_addMouseHover(map_ol3js_1); <\/script><\/div>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>les randonn\u00e9es annuelles<\/p>\n<\/p>\n<p>Cliquer sur la trace pour acc\u00e9der \u00e0 la page du parcours. En rouge randos r\u00e9alis\u00e9es, en vert en projet.<\/p>\n<p> translations[&#8216;openlayer&#8217;] = &#8220;open layer&#8221;; translations[&#8216;openlayerAtStartup&#8217;] = &#8220;open layer at startup&#8221;; translations[&#8216;generateLink&#8217;] = &#8220;link to this map with opened layers&#8221;; translations[&#8216;shortDescription&#8217;] = &#8220;short description&#8221;; translations[&#8216;generatedShortCode&#8217;] = &#8220;to get a text control link paste this code in your wordpress editor&#8221;;<br \/>\n\t\t\t\t\ttranslations[&#8216;closeLayer&#8217;] = &#8220;close layer&#8221;;<br \/>\n\t\t\t\t\ttranslations[&#8216;cantGenerateLink&#8217;] = &#8220;put this string in the existing map short code to control this map&#8221;;<\/p>\n<p>\t\t\t  vectorM[&#8216;map_ol3js_2&#8217;] = [];<\/p>\n<p>        var raster = getTileLayer(&#8220;osm&#8221;,&#8221;NoKey&#8221;);\t\t\t<\/p>\n<p>\t\t\t  var map_ol3js_2 = new ol.Map({<br \/>\n\t\t\t\tinteractions: ol.interaction.defaults.defaults({mouseWheelZoom:false}),<br \/>\n\t\t\t\tlayers: [raster],<br \/>\n\t\t\t\ttarget: &#8220;map_ol3js_2&#8221;,<br \/>\n\t\t\t\tview: new ol.View({<br \/>\n\t\t\t\t  center: ol.proj.transform([2.856,47.063], &#8220;EPSG:4326&#8221;, &#8220;EPSG:3857&#8221;),<br \/>\n\t\t\t\t  zoom: 6<br \/>\n\t\t\t\t})<br \/>\n\t\t\t  });<\/p>\n<p>    var style0 = {<br \/>\n      &#8220;Point&#8221;: [new ol.style.Style({<\/p>\n<p>          image: new ol.style.Icon({<br \/>\n            anchor: [0.5, 41],<br \/>\n            anchorXUnits: &#8220;fraction&#8221;,<br \/>\n            anchorYUnits: &#8220;pixels&#8221;,<br \/>\n            opacity: 0.75,<br \/>\n            src: &#8220;http:\/\/www.rv37.fr\/wp-content\/plugins\/osm\/icons\/mic_blue_pinother_02.png&#8221;<br \/>\n          })<br \/>\n      })],<\/p>\n<p>      &#8220;LineString&#8221;: [new ol.style.Style({<br \/>\n        stroke: new ol.style.Stroke({<br \/>\n          color: &#8220;blue&#8221;,<br \/>\n          width: 8<br \/>\n        })<br \/>\n      })],<br \/>\n      &#8220;MultiLineString&#8221;: [new ol.style.Style({<br \/>\n        stroke: new ol.style.Stroke({<br \/>\n          color: &#8220;blue&#8221;,<br \/>\n          width: 4<br \/>\n        })<br \/>\n      })]<br \/>\n    };<br \/>\n\t\t  vectorL0 = new ol.layer.Vector({<\/p>\n<p>\t\t\tsource: new ol.source.Vector({<br \/>\n\t\t  url:&#8221;..\/..\/..\/..\/wp-content\/gpstraces\/Voyages.kml&#8221;,<br \/>\n\t\t\t  format: new ol.format.KML({ showPointNames: false})<br \/>\n\t\t\t}),<br \/>\n         zIndex: 92<br \/>\n\t\t  });map_ol3js_2.addLayer(vectorL0);addControls2Map(map_ol3js_2,0,0,3,0,5,6,7,0,1);<br \/>\nosm_addPopupClickhandler(map_ol3js_2,  &#8220;map_ol3js_2&#8221;);<br \/>\nosm_addMouseHover(map_ol3js_2); <\/p>\n","protected":false},"author":1,"featured_media":0,"parent":25,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-56","page","type-page","status-publish","hentry","odd"],"_links":{"self":[{"href":"http:\/\/www.rv37.fr\/index.php?rest_route=\/wp\/v2\/pages\/56","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.rv37.fr\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/www.rv37.fr\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/www.rv37.fr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.rv37.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=56"}],"version-history":[{"count":18,"href":"http:\/\/www.rv37.fr\/index.php?rest_route=\/wp\/v2\/pages\/56\/revisions"}],"predecessor-version":[{"id":2310,"href":"http:\/\/www.rv37.fr\/index.php?rest_route=\/wp\/v2\/pages\/56\/revisions\/2310"}],"up":[{"embeddable":true,"href":"http:\/\/www.rv37.fr\/index.php?rest_route=\/wp\/v2\/pages\/25"}],"wp:attachment":[{"href":"http:\/\/www.rv37.fr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}