{"id":164,"date":"2009-04-30T21:28:04","date_gmt":"2009-04-30T19:28:04","guid":{"rendered":"http:\/\/peppoweb.com\/submarinoc3\/?page_id=164"},"modified":"2023-05-31T12:48:12","modified_gmt":"2023-05-31T10:48:12","slug":"el-c3-en-google-mapsc3-in-google-maps","status":"publish","type":"page","link":"https:\/\/peppoweb.com\/submarinoc3\/?page_id=164","title":{"rendered":"El C3 en Google Maps"},"content":{"rendered":"<p><div class=\"leaflet-map WPLeafletMap\" style=\"height:250px; width:100%;\"><\/div><script>\nwindow.WPLeafletMapPlugin = window.WPLeafletMapPlugin || [];\nwindow.WPLeafletMapPlugin.push(function WPLeafletMapShortcode() {\/*<script>*\/\nvar baseUrl = atob('aHR0cHM6Ly97c30udGlsZS5vcGVuc3RyZWV0bWFwLm9yZy97en0ve3h9L3t5fS5wbmc=');\nvar base = (!baseUrl && window.MQ) ?\n    window.MQ.mapLayer() : L.tileLayer(baseUrl,\n        L.Util.extend({}, {\n            detectRetina: 0,\n        },\n        {\"subdomains\":\"abc\",\"noWrap\":false,\"maxZoom\":19}        )\n    );\n    var options = L.Util.extend({}, {\n        layers: [base],\n        attributionControl: false\n    },\n    {\"zoomControl\":true,\"scrollWheelZoom\":true,\"doubleClickZoom\":false,\"fitBounds\":false,\"minZoom\":6,\"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([36.658767,-4.355583],10);});<\/script><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({\"iconUrl\":\"https:\\\/\\\/peppoweb.com\\\/submarinoc3\\\/wp-content\\\/uploads\\\/2009\\\/04\\\/dibujoc3.png\",\"iconSize\":\"50,14\",\"iconAnchor\":\"15,-2\"});\nvar marker = L.marker(\n    [0,0],\n    marker_options\n);\nvar is_image = map.is_image_map;\n    marker.setLatLng( map.getCenter() );\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 );\nwindow.WPLeafletMapPlugin.markers.push( marker );\n        });<\/script><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({});\nvar marker = L.marker(\n    [36.658767,-4.355583],\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 );\nwindow.WPLeafletMapPlugin.markers.push( marker );\n        });<\/script>","protected":false},"excerpt":{"rendered":"<p> window.WPLeafletMapPlugin = window.WPLeafletMapPlugin || []; window.WPLeafletMapPlugin.push(function WPLeafletMapShortcode() {\/**\/ var baseUrl = atob(&#8216;aHR0cHM6Ly97c30udGlsZS5vcGVuc3RyZWV0bWFwLm9yZy97en0ve3h9L3t5fS5wbmc=&#8217;); var base = (!baseUrl &#038;&#038; window.MQ) ? window.MQ.mapLayer() : L.tileLayer(baseUrl, L.Util.extend({}, { detectRetina: 0, }, {&#8220;subdomains&#8221;:&#8221;abc&#8221;,&#8221;noWrap&#8221;:false,&#8221;maxZoom&#8221;:19} ) ); var options = L.Util.extend({}, { layers: [base], attributionControl: false }, {&#8220;zoomControl&#8221;:true,&#8221;scrollWheelZoom&#8221;:true,&#8221;doubleClickZoom&#8221;:false,&#8221;fitBounds&#8221;:false,&#8221;minZoom&#8221;:6,&#8221;maxZoom&#8221;:19,&#8221;maxBounds&#8221;:null,&#8221;attribution&#8221;:&#8221;Leaflet; \\u00a9 OpenStreetMap colaboradores&#8221;}, {}); window.WPLeafletMapPlugin.createMap(options).setView([36.658767,-4.355583],10);}); window.WPLeafletMapPlugin = window.WPLeafletMapPlugin || []; window.WPLeafletMapPlugin.push(function WPLeafletMarkerShortcode() {\/**\/ var map = window.WPLeafletMapPlugin.getCurrentMap(); var group = window.WPLeafletMapPlugin.getCurrentGroup(); var marker_options = window.WPLeafletMapPlugin.getIconOptions({&#8220;iconUrl&#8221;:&#8221;https:\\\/\\\/peppoweb.com\\\/submarinoc3\\\/wp-content\\\/uploads\\\/2009\\\/04\\\/dibujoc3.png&#8221;,&#8221;iconSize&#8221;:&#8221;50,14&#8243;,&#8221;iconAnchor&#8221;:&#8221;15,-2&#8243;}); var marker = L.marker( [0,0], marker_options ); var is_image = map.is_image_map; marker.setLatLng( map.getCenter() ); if (marker_options.draggable) { marker.on(&#8216;dragend&#8217;, function () { var latlng = this.getLatLng(); var lat = latlng.lat; var lng = latlng.lng; if (is_image) {<br \/>\n            console.log(&#8216;leaflet-marker y=&#8217; + lat + &#8216; x=&#8217; + lng);<br \/>\n        } else {<br \/>\n            console.log(&#8216;leaflet-marker lat=&#8217; + lat + &#8216; lng=&#8217; + lng);<br \/>\n        }<br \/>\n    });<br \/>\n}<br \/>\nmarker.addTo( group );<br \/>\nwindow.WPLeafletMapPlugin.markers.push( marker );<br \/>\n        });<br \/>\nwindow.WPLeafletMapPlugin = window.WPLeafletMapPlugin || [];<br \/>\nwindow.WPLeafletMapPlugin.push(function WPLeafletMarkerShortcode() {\/**\/<br \/>\nvar map = window.WPLeafletMapPlugin.getCurrentMap();<br \/>\nvar group = window.WPLeafletMapPlugin.getCurrentGroup();<br \/>\nvar marker_options = window.WPLeafletMapPlugin.getIconOptions({});<br \/>\nvar marker = L.marker(<br \/>\n    [36.658767,-4.355583],<br \/>\n    marker_options<br \/>\n);<br \/>\nvar is_image = map.is_image_map;<br \/>\nif (marker_options.draggable) {<br \/>\n    marker.on(&#8216;dragend&#8217;, function () {<br \/>\n        var latlng = this.getLatLng();<br \/>\n        var lat = latlng.lat;<br \/>\n        var lng = latlng.lng;<br \/>\n        if (is_image) {<br \/>\n            console.log(&#8216;leaflet-marker y=&#8217; + lat + &#8216; x=&#8217; + lng);<br \/>\n        } else {<br \/>\n            console.log(&#8216;leaflet-marker lat=&#8217; + lat + &#8216; lng=&#8217; + lng);<br \/>\n        }<br \/>\n    });<br \/>\n}<br \/>\nmarker.addTo( group );<br \/>\nwindow.WPLeafletMapPlugin.markers.push( marker );<br \/>\n        });<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":15,"menu_order":6,"comment_status":"closed","ping_status":"closed","template":"","meta":{"ngg_post_thumbnail":0,"footnotes":""},"class_list":["post-164","page","type-page","status-publish","hentry","odd"],"_links":{"self":[{"href":"https:\/\/peppoweb.com\/submarinoc3\/index.php?rest_route=\/wp\/v2\/pages\/164","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/peppoweb.com\/submarinoc3\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/peppoweb.com\/submarinoc3\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/peppoweb.com\/submarinoc3\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/peppoweb.com\/submarinoc3\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=164"}],"version-history":[{"count":11,"href":"https:\/\/peppoweb.com\/submarinoc3\/index.php?rest_route=\/wp\/v2\/pages\/164\/revisions"}],"predecessor-version":[{"id":3089,"href":"https:\/\/peppoweb.com\/submarinoc3\/index.php?rest_route=\/wp\/v2\/pages\/164\/revisions\/3089"}],"up":[{"embeddable":true,"href":"https:\/\/peppoweb.com\/submarinoc3\/index.php?rest_route=\/wp\/v2\/pages\/15"}],"wp:attachment":[{"href":"https:\/\/peppoweb.com\/submarinoc3\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}