{"id":848,"date":"2026-10-29T20:58:41","date_gmt":"2026-10-29T20:58:41","guid":{"rendered":"https:\/\/otiopia.com\/?page_id=848"},"modified":"2026-10-29T21:56:38","modified_gmt":"2026-10-29T21:56:38","slug":"map","status":"publish","type":"page","link":"https:\/\/otiopia.com\/?page_id=848","title":{"rendered":"Map"},"content":{"rendered":"<p><div class=\"leaflet-map WPLeafletMap\" style=\"height:700px; width:100%;\"><\/div><script>\nwindow.WPLeafletMapPlugin = window.WPLeafletMapPlugin || [];\nwindow.WPLeafletMapPlugin.push(function WPLeafletMapShortcode() {\/*<script>*\/\nvar baseUrl = atob('aHR0cHM6Ly90aWxlLm9wZW5zdHJlZXRtYXAub3JnL3t6fS97eH0ve3l9LnBuZw==');\nvar base = (!baseUrl && window.MQ) ?\n    window.MQ.mapLayer() : L.tileLayer(baseUrl,\n        L.Util.extend({}, {\n            detectRetina: 0,\n        },\n        {\"noWrap\":false,\"maxZoom\":19}        )\n    );\n    var options = L.Util.extend({}, {\n        layers: [base],\n        attributionControl: false\n    },\n    {\"dragging\":true,\"zoomControl\":true,\"scrollWheelZoom\":false,\"doubleClickZoom\":true,\"fitBounds\":false,\"minZoom\":0,\"maxZoom\":19,\"maxBounds\":null,\"attribution\":\"<a href=\\\"http:\\\/\\\/leafletjs.com\\\" title=\\\"Una biblioteca JS para mapas interactivos\\\">Leaflet<\\\/a>; \\u00a9 <a href=\\\"http:\\\/\\\/www.openstreetmap.org\\\/copyright\\\">OpenStreetMap<\\\/a> colaboradores\"},\n    {});\nwindow.WPLeafletMapPlugin.createMap(options).setView([34,10],4);});<\/script><br \/>\n<script>\nwindow.WPLeafletMapPlugin = window.WPLeafletMapPlugin || [];\nwindow.WPLeafletMapPlugin.push(function WPLeafletMarkerShortcode() {\/*<script>*\/\nvar map = window.WPLeafletMapPlugin.getCurrentMap();\nvar group = window.WPLeafletMapPlugin.getCurrentGroup();\nvar marker_options = window.WPLeafletMapPlugin.getIconOptions({\"title\":\"TEN-BEL\"});\nvar marker = L.marker(\n    [28.007232,-16.653974],\n    marker_options\n);\nvar is_image = map.is_image_map;\nif (marker_options.draggable) {\n    marker.on('dragend', function () {\n        var latlng = this.getLatLng();\n        var lat = latlng.lat;\n        var lng = latlng.lng;\n        if (is_image) {\n            console.log('leaflet-marker y=' + lat + ' x=' + lng);\n        } else {\n            console.log('leaflet-marker lat=' + lat + ' lng=' + lng);\n        }\n    });\n}\nmarker.addTo( group );\nmarker.bindPopup(window.WPLeafletMapPlugin.unescape('&lt;a href=&quot;https:\/\/otiopia.com\/?p=527&quot;&gt;TEN-BEL \u00b7 Ver proyecto&lt;\/a&gt;'));window.WPLeafletMapPlugin.markers.push( marker );\n        });<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":4,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-848","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/otiopia.com\/index.php?rest_route=\/wp\/v2\/pages\/848","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/otiopia.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/otiopia.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/otiopia.com\/index.php?rest_route=\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/otiopia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=848"}],"version-history":[{"count":14,"href":"https:\/\/otiopia.com\/index.php?rest_route=\/wp\/v2\/pages\/848\/revisions"}],"predecessor-version":[{"id":881,"href":"https:\/\/otiopia.com\/index.php?rest_route=\/wp\/v2\/pages\/848\/revisions\/881"}],"wp:attachment":[{"href":"https:\/\/otiopia.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=848"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}