{"id":40384,"date":"2020-01-14T18:46:30","date_gmt":"2020-01-14T18:46:30","guid":{"rendered":"https:\/\/s.b\/oikcom\/block\/google-maps-oik-googlemap\/"},"modified":"2020-01-31T15:29:43","modified_gmt":"2020-01-31T15:29:43","slug":"google-maps-oik-googlemap","status":"publish","type":"block","link":"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/","title":{"rendered":"Google Maps <span class=\"summary\">&#8211; oik\/googlemap<\/span>"},"content":{"rendered":"\n<div class=\"wp-block-oik-block-blockinfo svg64\"><div><span class=\"block-editor-block-icon\"><svg aria-hidden=\"true\" role=\"img\" focusable=\"false\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" viewbox=\"0 0 20 20\" class=\"dashicon dashicons-location\"><path d=\"M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z\"><\/path><\/svg><\/span><\/div><div>Displays a Google Maps map using oik options<\/div><\/div>\n\n\n\n<!--more-->\n\n\n\n<p class=\"has-background has-very-light-gray-background-color\">Use the Google Maps block to display a Google Maps map centered on the address specified in oik options.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Screenshot<\/h2>\n\n\n<div class=\"bw_metadata featured\"><span class=\"value\"><img decoding=\"async\" class=\"featured\" src=\"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2020\/01\/oik-googlemap-block-example.jpg\"  \/><\/span><\/div>\n\n\n<h2 class=\"wp-block-heading\">Example<\/h2>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p> <\/p>\n\n\n\n<div class=\"wp-block-oik-googlemap\"><h3>Map<\/h3><p>Find vsgloik<\/p><script type=\"text\/javascript\" src=\"https:\/\/maps.googleapis.com\/maps\/api\/js?&amp;region=GB&amp;key=AIzaSyBU6GyrIrVZZ0auvDzz_x0Xl1TzbcYrPJU\"><\/script><script type=\"text\/javascript\">function initialize0() {var latlng = new google.maps.LatLng(50.8879316,-0.9653249);var myOptions = { zoom: 12, center: latlng, mapTypeId: google.maps.MapTypeId.ROADMAP };var map = new google.maps.Map(document.getElementById(\"bw_map_canvas0\"), myOptions); var marker = new google.maps.Marker({ position: latlng, title:\"PO9&nbsp;6DE\"});marker.setMap( map );var contentString = 'bobbing wide PO9&nbsp;6DE';var infowindow = new google.maps.InfoWindow({ content: contentString });infowindow.open( map, marker );}window.addEventListener( 'load', initialize0 ); <\/script><div class=\"bw_map_canvas\" id=\"bw_map_canvas0\" style=\"min-height: 200px; width:100%; height:400px;\"><\/div><\/div>\n\n\n\n<div style=\"height:100px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator\"\/>\n\n\n\n<h2 class=\"wp-block-heading\">Notes<\/h2>\n\n\n\n<ul class=\"wp-block-list\"><li>This block is dynamically rendered on the front-end. <\/li><li>Due to the legacy JavaScript it uses it is not server side rendered in the editor.<\/li><li>This block replaces <span class=\"bw_list\"><a class=\"bw_post\" id=\"id-39945\" href=\"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-block-googlemap\/\">Google Maps <span class=\"summary\">&#8211; oik-block\/googlemap<\/span><\/a><\/span>.<\/li><li>Use Transform To: to switch blocks.<\/li><li>The <a class=\"bw_code bw_show_googlemap\" href=\"https:\/\/www.oik-plugins.com\/oik-shortcodes\/bw_show_googlemap\/bw_show_googlemap\" title=\"Link to help for shortcode: bw_show_googlemap\"><span>[<\/span>bw_show_googlemap]<\/a> shortcode transforms to a Google Maps block.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p><!-- wp:oik-block\/blockinfo {\"blockicon\":\"oik\/googlemap\",\"showBlockTypeName\":false,\"showTitle\":false,\"showCategory\":false,\"showKeywords\":false,\"className\":\"svg64\"} --><\/p>\n<div class=\"wp-block-oik-block-blockinfo svg64\">\n<div><span class=\"block-editor-block-icon\"><svg aria-hidden=\"true\" role=\"img\" focusable=\"false\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"20\" height=\"20\" viewbox=\"0 0 20 20\" class=\"dashicon dashicons-location\"><path d=\"M10 2C6.69 2 4 4.69 4 8c0 2.02 1.17 3.71 2.53 4.89.43.37 1.18.96 1.85 1.83.74.97 1.41 2.01 1.62 2.71.21-.7.88-1.74 1.62-2.71.67-.87 1.42-1.46 1.85-1.83C14.83 11.71 16 10.02 16 8c0-3.31-2.69-6-6-6zm0 2.56c1.9 0 3.44 1.54 3.44 3.44S11.9 11.44 10 11.44 6.56 9.9 6.56 8 8.1 4.56 10 4.56z\"><\/path><\/svg><\/span><\/div>\n<div>Displays a Google Maps map using oik options<\/div>\n<\/div>\n<p><!-- \/wp:oik-block\/blockinfo --><\/p>\n<p><!-- wp:more --><\/p>\n","protected":false},"author":1,"featured_media":40379,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","block_category":[634],"block_keyword":[633,623],"block_classification":[596],"block_letters":[614,607],"class_list":{"0":"post-40384","1":"block","2":"type-block","3":"status-publish","4":"has-post-thumbnail","6":"block_category-common","7":"block_keyword-google-maps","8":"block_keyword-oik","9":"block_classification-dynamic","10":"block_letters-g","11":"block_letters-m","12":"entry"},"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Google Maps - oik\/googlemap - [oik] plugins.com<\/title>\n<meta name=\"description\" content=\"Google Maps - oik\/googlemap Google Maps,oik\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Google Maps - oik\/googlemap - [oik] plugins.com\" \/>\n<meta property=\"og:description\" content=\"Google Maps - oik\/googlemap Google Maps,oik\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/\" \/>\n<meta property=\"og:site_name\" content=\"[oik] plugins.com\" \/>\n<meta property=\"article:modified_time\" content=\"2020-01-31T15:29:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2020\/01\/oik-googlemap-block-example.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"807\" \/>\n\t<meta property=\"og:image:height\" content=\"196\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/\",\"url\":\"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/\",\"name\":\"Google Maps - oik\/googlemap - [oik] plugins.com\",\"isPartOf\":{\"@id\":\"https:\/\/www.oik-plugins.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2020\/01\/oik-googlemap-block-example.jpg\",\"datePublished\":\"2020-01-14T18:46:30+00:00\",\"dateModified\":\"2020-01-31T15:29:43+00:00\",\"description\":\"Google Maps - oik\/googlemap Google Maps,oik\",\"breadcrumb\":{\"@id\":\"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/#primaryimage\",\"url\":\"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2020\/01\/oik-googlemap-block-example.jpg\",\"contentUrl\":\"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2020\/01\/oik-googlemap-block-example.jpg\",\"width\":807,\"height\":196},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blocks\",\"item\":\"https:\/\/www.oik-plugins.com\/block\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Google Maps &#8211; oik\/googlemap\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.oik-plugins.com\/#website\",\"url\":\"https:\/\/www.oik-plugins.com\/\",\"name\":\"[oik] plugins.com\",\"description\":\"WordPress plugins and themes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.oik-plugins.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Google Maps - oik\/googlemap - [oik] plugins.com","description":"Google Maps - oik\/googlemap Google Maps,oik","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/","og_locale":"en_US","og_type":"article","og_title":"Google Maps - oik\/googlemap - [oik] plugins.com","og_description":"Google Maps - oik\/googlemap Google Maps,oik","og_url":"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/","og_site_name":"[oik] plugins.com","article_modified_time":"2020-01-31T15:29:43+00:00","og_image":[{"width":807,"height":196,"url":"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2020\/01\/oik-googlemap-block-example.jpg","type":"image\/jpeg"}],"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/","url":"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/","name":"Google Maps - oik\/googlemap - [oik] plugins.com","isPartOf":{"@id":"https:\/\/www.oik-plugins.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/#primaryimage"},"image":{"@id":"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/#primaryimage"},"thumbnailUrl":"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2020\/01\/oik-googlemap-block-example.jpg","datePublished":"2020-01-14T18:46:30+00:00","dateModified":"2020-01-31T15:29:43+00:00","description":"Google Maps - oik\/googlemap Google Maps,oik","breadcrumb":{"@id":"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/#primaryimage","url":"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2020\/01\/oik-googlemap-block-example.jpg","contentUrl":"https:\/\/www.oik-plugins.com\/wp-content\/uploads\/2020\/01\/oik-googlemap-block-example.jpg","width":807,"height":196},{"@type":"BreadcrumbList","@id":"https:\/\/www.oik-plugins.com\/block\/google-maps-oik-googlemap\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blocks","item":"https:\/\/www.oik-plugins.com\/block\/"},{"@type":"ListItem","position":2,"name":"Google Maps &#8211; oik\/googlemap"}]},{"@type":"WebSite","@id":"https:\/\/www.oik-plugins.com\/#website","url":"https:\/\/www.oik-plugins.com\/","name":"[oik] plugins.com","description":"WordPress plugins and themes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.oik-plugins.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"}]}},"_links":{"self":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block\/40384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block"}],"about":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/types\/block"}],"author":[{"embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/comments?post=40384"}],"version-history":[{"count":0,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block\/40384\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/media\/40379"}],"wp:attachment":[{"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/media?parent=40384"}],"wp:term":[{"taxonomy":"block_category","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block_category?post=40384"},{"taxonomy":"block_keyword","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block_keyword?post=40384"},{"taxonomy":"block_classification","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block_classification?post=40384"},{"taxonomy":"block_letters","embeddable":true,"href":"https:\/\/www.oik-plugins.com\/wp-json\/wp\/v2\/block_letters?post=40384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}