{"id":3008,"date":"2023-08-09T17:47:00","date_gmt":"2023-08-09T17:47:00","guid":{"rendered":"http:\/\/meumon.synology.me\/museu\/?p=3008"},"modified":"2023-08-09T17:47:49","modified_gmt":"2023-08-09T17:47:49","slug":"3008-2","status":"publish","type":"post","link":"http:\/\/meumon.synology.me\/museu\/3008-2\/","title":{"rendered":"Mapa arquitectura"},"content":{"rendered":"<p><a href=\"http:\/\/meumon.synology.me\/museu\/4-inventari-tot\/42-cultura\/421-art\/421-arquitectura\/\">421 Arquitectura<\/a><\/p>\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:75%; height:300px; 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\t\t\t\t<link rel=\"stylesheet\" href=\"http:\/\/meumon.synology.me\/museu\/wp-content\/plugins\/osm\/js\/OL\/6.4.3\/ol.css\" type=\"text\/css\">\n\t\t\t\t<link rel=\"stylesheet\" href=\"http:\/\/meumon.synology.me\/museu\/wp-content\/plugins\/osm\/css\/osm_map_v3.css\" type=\"text\/css\">\n\t\t\t\t<link rel=\"stylesheet\" href=\"http:\/\/meumon.synology.me\/museu\/wp-content\/plugins\/osm\/css\/osm_map.css\" 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=\"http:\/\/meumon.synology.me\/museu\/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=\"http:\/\/meumon.synology.me\/museu\/wp-content\/plugins\/osm\/js\/OL\/6.4.3\/ol.js\" type=\"text\/javascript\"><\/script>\n\t\t\t\t<script src=\"http:\/\/meumon.synology.me\/museu\/wp-content\/plugins\/osm\/js\/osm-v3-plugin-lib.js\" type=\"text\/javascript\"><\/script>\n\t\t\t\t<script src=\"http:\/\/meumon.synology.me\/museu\/wp-content\/plugins\/osm\/js\/osm-metabox-events.js\" type=\"text\/javascript\"><\/script>\n\t\t\t\t<script src=\"http:\/\/meumon.synology.me\/museu\/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\t<\/script>\n\n\t\t\t  <script type=\"text\/javascript\">vectorM['map_ol3js_1'] = [];\n\n\tvar attribution = new ol.control.Attribution({\n        collapsible: false\n      });\n\n\n      \n      var raster = new ol.layer.Tile({\n        source: new ol.source.OSM({ }),\n        zIndex: 90\n      });\n      var Controls = ol.control.defaults({ attribution: false }).extend([\n          attribution\n      ]); \n\t\t\t  map_ol3js_1 = new ol.Map({\n\t\tcontrols: Controls,\n\t\t\n\t\t\t\tinteractions: ol.interaction.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([23.51,52.795], \"EPSG:4326\", \"EPSG:3857\"),\n\t\t\t\t  zoom: 2\n\t\t\t\t})\n\t\t\t  });\n\t\t\t  \n\t\t\t  var vectorMarkerSource = new ol.source.Vector({});\n\t\t\t  var vectorMarkerLayer = new ol.layer.Vector({\n\t\t\t\tsource: vectorMarkerSource,\n\t\t\t\tzIndex: 92\n\t\t\t   });\n\t\t\t\n\t\t\t\tvar iconStyle0 = new ol.style.Style({\n\t\t\t\t  image: new ol.style.Icon(\/** @type {olx.style.IconOptions} *\/({\n\t\t\t\t\tanchor: [(-16*-1),(-41*-1)],\n\t\t\t\t\tanchorXUnits: \"pixels\",\n\t\t\t\t\tanchorYUnits: \"pixels\",\n\t\t\t\t\topacity: 0.9,\n\t\t\t\t\tsrc: \"http:\/\/meumon.synology.me\/museu\/wp-content\/plugins\/osm\/icons\/mic_green_pinother_02.png\"\n\t\t\t\t  }))\n\t\t\t\t});\n\t\t\t\tvar iconFeature0 = new ol.Feature({\n\t\t\t\t  geometry: new ol.geom.Point(\n\t\t\t\t  ol.proj.transform([135.53717,34.81872], \"EPSG:4326\", \"EPSG:3857\")),\n\t\t\t\t  name: \"<a href=\\\"http:\/\/meumon.synology.me\/museu\/lesglesia-de-la-llum-tadao-ando-1989\/\\\">L&#8217;esgl\u00e9sia de la llum. Tadao Ando. 1989  <\/a><br>\"\n\t\t\t\t});\n\t\t\t\ticonFeature0.setStyle(iconStyle0);\n\t\t\t\tvectorMarkerSource.addFeature(iconFeature0);\n\t\t\t   \n\t\t\t\tvar iconStyle1 = new ol.style.Style({\n\t\t\t\t  image: new ol.style.Icon(\/** @type {olx.style.IconOptions} *\/({\n\t\t\t\t\tanchor: [(-16*-1),(-41*-1)],\n\t\t\t\t\tanchorXUnits: \"pixels\",\n\t\t\t\t\tanchorYUnits: \"pixels\",\n\t\t\t\t\topacity: 0.9,\n\t\t\t\t\tsrc: \"http:\/\/meumon.synology.me\/museu\/wp-content\/plugins\/osm\/icons\/mic_green_pinother_02.png\"\n\t\t\t\t  }))\n\t\t\t\t});\n\t\t\t\tvar iconFeature1 = new ol.Feature({\n\t\t\t\t  geometry: new ol.geom.Point(\n\t\t\t\t  ol.proj.transform([133.19081,33.91865], \"EPSG:4326\", \"EPSG:3857\")),\n\t\t\t\t  name: \"<a href=\\\"http:\/\/meumon.synology.me\/museu\/temple-komyo-ji-tadao-ando-1999\/\\\">Temple Komyo-ji. Tadao Ando. 1999  <\/a><br>\"\n\t\t\t\t});\n\t\t\t\ticonFeature1.setStyle(iconStyle1);\n\t\t\t\tvectorMarkerSource.addFeature(iconFeature1);\n\t\t\t   \n\t\t\t\tvar iconStyle2 = new ol.style.Style({\n\t\t\t\t  image: new ol.style.Icon(\/** @type {olx.style.IconOptions} *\/({\n\t\t\t\t\tanchor: [(-16*-1),(-41*-1)],\n\t\t\t\t\tanchorXUnits: \"pixels\",\n\t\t\t\t\tanchorYUnits: \"pixels\",\n\t\t\t\t\topacity: 0.9,\n\t\t\t\t\tsrc: \"http:\/\/meumon.synology.me\/museu\/wp-content\/plugins\/osm\/icons\/mic_green_pinother_02.png\"\n\t\t\t\t  }))\n\t\t\t\t});\n\t\t\t\tvar iconFeature2 = new ol.Feature({\n\t\t\t\t  geometry: new ol.geom.Point(\n\t\t\t\t  ol.proj.transform([78.04183105858999,27.173579462799044], \"EPSG:4326\", \"EPSG:3857\")),\n\t\t\t\t  name: \"<a href=\\\"http:\/\/meumon.synology.me\/museu\/taj-mahal\/\\\">Taj Mahal  <\/a><br>\"\n\t\t\t\t});\n\t\t\t\ticonFeature2.setStyle(iconStyle2);\n\t\t\t\tvectorMarkerSource.addFeature(iconFeature2);\n\t\t\t   map_ol3js_1.addLayer(vectorMarkerLayer);\n\t\t  var osm_controls = [\n\t\t\tnew ol.control.Attribution(),\n\t\t\tnew ol.control.MousePosition({\n\t\t\t  undefinedHTML: \"outside\",\n\t\t\t  projection: \"EPSG:4326\",\n\t\t\t  coordinateFormat: function(coordinate) {\n\t\t\t\t return ol.coordinate.format(coordinate, \"{y}, {x}\", 5);\n\t\t\t  }\n\t\t\t}),\n\t\t\tnew ol.control.OverviewMap({\n\t\t\t  collapsed: false\n\t\t\t}),\n\t\t\tnew ol.control.Rotate({\n\t\t\t  autoHide: false\n\t\t\t}),\n\t\t\tnew ol.control.ScaleLine(),\n\t\t\tnew ol.control.Zoom(),\n\t\t\tnew ol.control.ZoomSlider(),\n\t\t\tnew ol.control.ZoomToExtent({\n      extent: [-11243808.051695308, 1.202710291, 9561377.290892059, 6852382.107835932]\n    }),\n\t\t\tnew ol.control.FullScreen()\n\t\t  ]; \nosm_addPopupClickhandler(map_ol3js_1,  \"map_ol3js_1\"); \nosm_addMouseHover(map_ol3js_1); <\/script>\n","protected":false},"excerpt":{"rendered":"<p>421 Arquitectura<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[181],"tags":[],"anotacio":[],"civilitzacio":[],"spec":[],"aspecies":[],"Tema poesia":[],"_links":{"self":[{"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/posts\/3008"}],"collection":[{"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/comments?post=3008"}],"version-history":[{"count":0,"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/posts\/3008\/revisions"}],"wp:attachment":[{"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/media?parent=3008"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/categories?post=3008"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/tags?post=3008"},{"taxonomy":"anotacio","embeddable":true,"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/anotacio?post=3008"},{"taxonomy":"civilitzacio","embeddable":true,"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/civilitzacio?post=3008"},{"taxonomy":"spec","embeddable":true,"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/spec?post=3008"},{"taxonomy":"aspecies","embeddable":true,"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/aspecies?post=3008"},{"taxonomy":"Tema poesia","embeddable":true,"href":"http:\/\/meumon.synology.me\/museu\/wp-json\/wp\/v2\/Tema poesia?post=3008"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}