{"id":4463,"date":"2013-08-19T13:03:04","date_gmt":"2013-08-19T13:03:04","guid":{"rendered":"http:\/\/192.168.1.121\/wordpress.mu\/wordspace\/?page_id=4463"},"modified":"2013-08-19T13:03:04","modified_gmt":"2013-08-19T13:03:04","slug":"contact-template","status":"publish","type":"page","link":"https:\/\/www.dam-dahl.dk\/forum\/contact\/contact-template\/","title":{"rendered":"Contact template"},"content":{"rendered":"\n    <div class=\"googlemaps\" id=\"map\"><\/div>\n\t\n    \n\t<style type=\"text\/css\">\n\t\t.googlemaps { width: 1000px;}\n\t\t.googlemaps { height: 400px;}\n\t\t.googlemaps {max-width:100%;font-weight: bold; color: #000;}\n        .googlemaps img {max-width: 100000%; \/* override *\/}\n    <\/style>\n    <script type=\"text\/javascript\">\n    \/\/<![CDATA[\n\tjQuery(document).ready(function(){\n\t\tvar latlng = new google.maps.LatLng(57.7973333, 12.0502107);\n\t\tvar myOptions = {\n\t\t\tzoom: 10,\n\t\t\tcenter: latlng,\n\t\t\tscrollwheel: true,\n\t\t\tscaleControl: false,\n\t\t\tdisableDefaultUI: true,\n\t\t\tmapTypeId: google.maps.MapTypeId.ROADMAP\n\t\t};\n\t\tvar map = new google.maps.Map(document.getElementById(\"map\"),\n\t\tmyOptions);\n\t\t\n\t\t\t\tvar marker = new google.maps.Marker({\n\t\t\t\tmap: map, \n\t\t\t\t\n\t\t\t\tposition: map.getCenter()\n\t\t\t});\n\t\t\t\n\t\t\t\tvar contentString = 'Marker Text';\n\t\t\t\tvar infowindow = new google.maps.InfoWindow({\n\t\t\t\t\tcontent: contentString\n\t\t\t\t});\n\t\t\t\t\t\t\t\n\t\t\t\tgoogle.maps.event.addListener(marker, 'click', function() {\n\t\t\t\t  infowindow.open(map,marker);\n\t\t\t\t});\n\t\t\t\t\n\t\t\t\t\t\tinfowindow.open(map,marker);\n\t\t\t\t\t});\/\/]]><\/script>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":1,"featured_media":0,"parent":4459,"menu_order":0,"comment_status":"open","ping_status":"open","template":"template-contact.php","meta":{"footnotes":""},"class_list":["post-4463","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.dam-dahl.dk\/forum\/wp-json\/wp\/v2\/pages\/4463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.dam-dahl.dk\/forum\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.dam-dahl.dk\/forum\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.dam-dahl.dk\/forum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dam-dahl.dk\/forum\/wp-json\/wp\/v2\/comments?post=4463"}],"version-history":[{"count":0,"href":"https:\/\/www.dam-dahl.dk\/forum\/wp-json\/wp\/v2\/pages\/4463\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.dam-dahl.dk\/forum\/wp-json\/wp\/v2\/pages\/4459"}],"wp:attachment":[{"href":"https:\/\/www.dam-dahl.dk\/forum\/wp-json\/wp\/v2\/media?parent=4463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}