

{"id":31,"date":"2022-12-10T13:08:48","date_gmt":"2022-12-10T11:08:48","guid":{"rendered":"https:\/\/kog.es\/?page_id=31"},"modified":"2022-12-10T14:01:38","modified_gmt":"2022-12-10T12:01:38","slug":"mapa-r","status":"publish","type":"page","link":"https:\/\/kog.es\/index.php\/mapa-r\/","title":{"rendered":"Mapa R"},"content":{"rendered":"\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:2px solid grey; background-image: url(https:\/\/kog.es\/wp-content\/plugins\/osm\/GDPR_bckgrnd.png); background-repeat: no-repeat; background-position: center; position: relative;\" >\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\t\t\t\t<link rel=\"stylesheet\" href=\"https:\/\/kog.es\/wp-content\/plugins\/osm\/js\/OL\/7.1.0\/ol.css?ver=7.1.0\" type=\"text\/css\">\n\t\t\t\t<link rel=\"stylesheet\" href=\"https:\/\/kog.es\/wp-content\/plugins\/osm\/css\/osm_map_v3.css?ver=1.0.0\" type=\"text\/css\">\n\t\t\t\t<link rel=\"stylesheet\" href=\"https:\/\/kog.es\/wp-content\/plugins\/osm\/css\/osm_map.css?ver=1.0.0\" type=\"text\/css\">\n\t\t\t\t<!-- The line below is only needed for old environments like Internet Explorer and Android 4.x -->\n                                <script src=\"https:\/\/kog.es\/wp-content\/plugins\/osm\/js\/polyfill\/v2\/polyfill.min.js?features=requestAnimationFrame,Element.prototype.classList,URL\"><\/script>\n\n\t\t\t\t<script src=\"https:\/\/kog.es\/wp-content\/plugins\/osm\/js\/OL\/7.1.0\/ol.js?ver=7.1.0\" type=\"text\/javascript\"><\/script>\n\t\t\t\t<script src=\"https:\/\/kog.es\/wp-content\/plugins\/osm\/js\/osm-v3-plugin-lib.js?ver=1.0.0\" type=\"text\/javascript\"><\/script>\n\t\t\t\t<script src=\"https:\/\/kog.es\/wp-content\/plugins\/osm\/js\/osm-metabox-events.js?ver=1.0.0\" type=\"text\/javascript\"><\/script>\n\t\t\t\t<script src=\"https:\/\/kog.es\/wp-content\/plugins\/osm\/js\/osm-startup-lib.js\" type=\"text\/javascript\"><\/script>\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(\"opentopomap\",\"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.9242,43.7586], \"EPSG:4326\", \"EPSG:3857\"),\n\t\t\t\t  zoom: 11.0\n\t\t\t\t})\n\t\t\t  });\n\t\t\t  osm_addMarkerLayer(map_ol3js_1,6.9010,43.8684,\"https:\/\/kog.es\/wp-content\/plugins\/osm\/icons\/mic_black_diver_10.png\",-16,-41,\"<p><\/p>\") ; \naddControls2Map(map_ol3js_1,1,1,3,1,5,6,7,1,1);\nosm_addPopupClickhandler(map_ol3js_1,  \"map_ol3js_1\"); \nosm_addMouseHover(map_ol3js_1); <\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":-5,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-31","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/kog.es\/index.php\/wp-json\/wp\/v2\/pages\/31","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kog.es\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/kog.es\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/kog.es\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kog.es\/index.php\/wp-json\/wp\/v2\/comments?post=31"}],"version-history":[{"count":7,"href":"https:\/\/kog.es\/index.php\/wp-json\/wp\/v2\/pages\/31\/revisions"}],"predecessor-version":[{"id":41,"href":"https:\/\/kog.es\/index.php\/wp-json\/wp\/v2\/pages\/31\/revisions\/41"}],"wp:attachment":[{"href":"https:\/\/kog.es\/index.php\/wp-json\/wp\/v2\/media?parent=31"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}