{"id":108,"date":"2013-04-13T08:26:33","date_gmt":"2013-04-13T08:26:33","guid":{"rendered":"http:\/\/bonsaished.com\/estatement\/?page_id=108"},"modified":"2013-04-13T08:26:33","modified_gmt":"2013-04-13T08:26:33","slug":"map","status":"publish","type":"page","link":"http:\/\/qualitaslettings.co.uk\/?page_id=108","title":{"rendered":"Map"},"content":{"rendered":"<p>The map shortcode lets you put a customizable Google map centered on a location you specify anywhere in a post. It comes with a variety of attributes you can use to customize the map. If you don&#8217;t know what shortcodes are we recommend you read our article on <a href=\"http:\/\/bonsaished.com\/blog\/kb\/how-to-use-shortcodes\/\">How to Use Shortcodes<\/a>. The parameters of this shortcode are:<\/p>\n<p><strong>location<\/strong><br \/>\nAdding this is necessary for the map to show up. It should be an address in plain text, something you would type into the search field in Google Maps.<\/p>\n<p><strong>type<\/strong><br \/>\nThe type of map to show. The value can be HYBRID, SATELLITE, ROADMAP, TERRAIN. The default value is ROADMAP.<\/p>\n<p><strong>zoom<\/strong><br \/>\nSet the initial zoom level for a map. If you&#8217;re adding a street level map somewhere around 14 (the default) is best. The zoom can range from 1 and up where 1 is the most zoomed out.<\/p>\n<p><strong>marker<\/strong><br \/>\nIf set to yes, a marker will be placed at the center of the map, indicating the location you specified<\/p>\n<p><strong>height<\/strong><br \/>\nThe height of the map can be set specifically if you need it. By default it is set to 400px. Don&#8217;t forget to add the &#8216;px&#8217; suffix to the amount!<\/p>\n<h2>Examples<\/h2>\n<pre>&#91;map location='New York, 6th Avenue' height='120px']<\/pre>\n<p>[map location=&#8217;New York, 6th Avenue&#8217; height=&#8217;120px&#8217;]<\/p>\n<pre>&#91;map location='New York, Broadway' type='SATELLITE']<\/pre>\n<p>[map location=&#8217;New York, Broadway&#8217; type=&#8217;SATELLITE&#8217;]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The map shortcode lets you put a customizable Google map centered on a location you specify anywhere in a post. It comes with a variety of attributes you can use to customize the map. If you don&#8217;t know what shortcodes are we recommend you read our article on How to Use Shortcodes. The parameters of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":87,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"footnotes":""},"class_list":["post-108","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"http:\/\/qualitaslettings.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/qualitaslettings.co.uk\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"http:\/\/qualitaslettings.co.uk\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"http:\/\/qualitaslettings.co.uk\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/qualitaslettings.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=108"}],"version-history":[{"count":0,"href":"http:\/\/qualitaslettings.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/108\/revisions"}],"up":[{"embeddable":true,"href":"http:\/\/qualitaslettings.co.uk\/index.php?rest_route=\/wp\/v2\/pages\/87"}],"wp:attachment":[{"href":"http:\/\/qualitaslettings.co.uk\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}