




Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/e97.ch/httpdocs/WordPress/wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3_backend.php:1) in /home/httpd/vhosts/e97.ch/httpdocs/WordPress/wp-includes/rest-api/class-wp-rest-server.php on line 1831

Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/e97.ch/httpdocs/WordPress/wp-content/plugins/osm/osm_map_v3/osm-sc-osm_map_v3_backend.php:1) in /home/httpd/vhosts/e97.ch/httpdocs/WordPress/wp-includes/rest-api/class-wp-rest-server.php on line 1831
{"id":520,"date":"2022-08-19T16:15:42","date_gmt":"2022-08-19T15:15:42","guid":{"rendered":"https:\/\/e97.ch\/?page_id=520"},"modified":"2022-08-19T16:21:55","modified_gmt":"2022-08-19T15:21:55","slug":"bike-routen-lenzerheide-2","status":"publish","type":"page","link":"https:\/\/e97.ch\/WordPress\/weekends\/bike-weekend-2021\/bike-routen-lenzerheide-2\/","title":{"rendered":"Bike-Routen Lenzerheide"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">Route: Scharmoin, Prapan<\/h2>\n\n\n\n<p>Valbella &#8211; Scharmoin &#8211; Foppa &#8211; Parpan &#8211; Valbella<\/p>\n\n\n\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:450px; display:block; overflow:hidden;border:thin solid green;\" >\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([6.378,58.213], \"EPSG:4326\", \"EPSG:3857\"),\n\t\t\t\t  zoom: 9\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: \"https:\/\/e97.ch\/WordPress\/wp-content\/plugins\/osm\/icons\/mic_red_pinother_02.png\"\n          })\n      })],\n\n      \"LineString\": [new ol.style.Style({\n        stroke: new ol.style.Stroke({\n          color: \"red\",\n          width: 8\n        })\n      })],\n      \"MultiLineString\": [new ol.style.Style({\n        stroke: new ol.style.Stroke({\n          color: \"red\",\n          width: 4\n        })\n      })]\n    };\n\t\t  var vectorL0 = new ol.layer.Vector({\n\t\t\t\tsource: new ol.source.Vector({\n\t\t\t\turl:\"\/WordPress\/wp-content\/uploads\/gpx\/scharmoin-foppa-parpan.gpx\",\n\t\t\t\tformat: new ol.format.GPX({\n\t\t\t\t\textractStyles: false\n\t\t\t\t})\n\t\t\t}),\n\t\t\tzIndex: 92,\n\t\t\tstyle: function(feature, resolution) {return style0[feature.getGeometry().getType()];}\n\t\t  });\n\t\t  map_ol3js_1.addLayer(vectorL0);\n      var extension1 = ol.extent.createEmpty();\n      var curZoom1 = map_ol3js_1.getView().getZoom();\n\n      map_ol3js_1.getLayers().forEach(function(layer){\n         if(!layer.get(\"id\")) {     \n            layer.once(\"change\", function(e){\n               ol.extent.extend(extension1, (layer.getSource().getExtent()));\n               map_ol3js_1.getView().fit(extension1, {padding: [50, 50, 50, 50]});\n            });\n         }\n      });\n\n    \naddControls2Map(map_ol3js_1,0,0,3,0,5,6,7,1,1);\nosm_addPopupClickhandler(map_ol3js_1,  \"map_ol3js_1\"); \nosm_addMouseHover(map_ol3js_1); <\/script>\n\n\n\n<p>GPX-Datei: <a href=\"\/WordPress\/wp-content\/uploads\/gpx\/scharmoin-foppa-parpan.gpx\" data-type=\"URL\" data-id=\"\/WordPress\/wp-content\/uploads\/gpx\/scharmoin-foppa-parpan.gpx\">scharmoin-foppa-parpan.gpxtgantieni-lavoz.gpx<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Route: Lain, Lavoz<\/h2>\n\n\n\n<p>Valbella &#8211; Lenz &#8211; Lain &#8211; Tgantieni &#8211; Lavoz &#8211; Valbella<\/p>\n\n\n\n\n\t\t\t\t<div id=\"map_ol3js_2\" class=\"map undefined\" data-map_name=\"undefined\" data-map=\"map_ol3js_2\" style=\"width:100%; max-width:100%; height:450px; display:block; overflow:hidden;border:thin solid green;\" >\n\t\t\t\t  <div id=\"map_ol3js_2_popup\" class=\"ol-popup\" >\n\t\t\t\t\t<a href=\"#\" id=\"map_ol3js_2_popup-closer\" class=\"ol-popup-closer\"><\/a>\n\t\t\t\t\t<div id=\"map_ol3js_2_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_2'] = [];\n\t        \n        var raster = getTileLayer(\"osm\",\"NoKey\");\t\t\t\n\n\t\t\t  var map_ol3js_2 = 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_2\",\n\t\t\t\tview: new ol.View({\n\t\t\t\t  center: ol.proj.transform([6.378,58.213], \"EPSG:4326\", \"EPSG:3857\"),\n\t\t\t\t  zoom: 9\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: \"https:\/\/e97.ch\/WordPress\/wp-content\/plugins\/osm\/icons\/mic_red_pinother_02.png\"\n          })\n      })],\n\n      \"LineString\": [new ol.style.Style({\n        stroke: new ol.style.Stroke({\n          color: \"red\",\n          width: 8\n        })\n      })],\n      \"MultiLineString\": [new ol.style.Style({\n        stroke: new ol.style.Stroke({\n          color: \"red\",\n          width: 4\n        })\n      })]\n    };\n\t\t  var vectorL0 = new ol.layer.Vector({\n\t\t\t\tsource: new ol.source.Vector({\n\t\t\t\turl:\"\/WordPress\/wp-content\/uploads\/gpx\/lain-tgantieni-lavoz.gpx\",\n\t\t\t\tformat: new ol.format.GPX({\n\t\t\t\t\textractStyles: false\n\t\t\t\t})\n\t\t\t}),\n\t\t\tzIndex: 92,\n\t\t\tstyle: function(feature, resolution) {return style0[feature.getGeometry().getType()];}\n\t\t  });\n\t\t  map_ol3js_2.addLayer(vectorL0);\n      var extension2 = ol.extent.createEmpty();\n      var curZoom2 = map_ol3js_2.getView().getZoom();\n\n      map_ol3js_2.getLayers().forEach(function(layer){\n         if(!layer.get(\"id\")) {     \n            layer.once(\"change\", function(e){\n               ol.extent.extend(extension2, (layer.getSource().getExtent()));\n               map_ol3js_2.getView().fit(extension2, {padding: [50, 50, 50, 50]});\n            });\n         }\n      });\n\n    \naddControls2Map(map_ol3js_2,0,0,3,0,5,6,7,1,1);\nosm_addPopupClickhandler(map_ol3js_2,  \"map_ol3js_2\"); \nosm_addMouseHover(map_ol3js_2); <\/script>\n\n\n\n<p>GPX-Datei: <a href=\"\/WordPress\/wp-content\/uploads\/gpx\/lain-tgantieni-lavoz.gpx\" data-type=\"URL\" data-id=\"\/WordPress\/wp-content\/uploads\/gpx\/lain-tgantieni-lavoz.gpx\">lain-tgantieni-lavoz.gpx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Route: Scharmoin, Prapan Valbella &#8211; Scharmoin &#8211; Foppa &#8211; Parpan &#8211; Valbella GPX-Datei: scharmoin-foppa-parpan.gpxtgantieni-lavoz.gpx Route: Lain, Lavoz Valbella &#8211; Lenz &#8211; Lain &#8211; Tgantieni &#8211; Lavoz &#8211; Valbella GPX-Datei: lain-tgantieni-lavoz.gpx<\/p>\n","protected":false},"author":2,"featured_media":0,"parent":442,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-520","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/e97.ch\/WordPress\/wp-json\/wp\/v2\/pages\/520"}],"collection":[{"href":"https:\/\/e97.ch\/WordPress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/e97.ch\/WordPress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/e97.ch\/WordPress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/e97.ch\/WordPress\/wp-json\/wp\/v2\/comments?post=520"}],"version-history":[{"count":2,"href":"https:\/\/e97.ch\/WordPress\/wp-json\/wp\/v2\/pages\/520\/revisions"}],"predecessor-version":[{"id":524,"href":"https:\/\/e97.ch\/WordPress\/wp-json\/wp\/v2\/pages\/520\/revisions\/524"}],"up":[{"embeddable":true,"href":"https:\/\/e97.ch\/WordPress\/wp-json\/wp\/v2\/pages\/442"}],"wp:attachment":[{"href":"https:\/\/e97.ch\/WordPress\/wp-json\/wp\/v2\/media?parent=520"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}