{"id":279,"date":"2014-05-24T06:29:12","date_gmt":"2014-05-24T11:29:12","guid":{"rendered":"http:\/\/theme.co\/x\/demo\/integrity\/10\/?page_id=279"},"modified":"2016-05-29T15:36:39","modified_gmt":"2016-05-29T15:36:39","slug":"map","status":"publish","type":"page","link":"https:\/\/demo.theme.co\/renew-1\/shortcodes\/map\/","title":{"rendered":"Map"},"content":{"rendered":"<h2  class=\"h-custom-headline h5 accent\" ><span>Standard Embed<\/span><\/h2>\n<div  class=\"x-map embed with-container\" ><div class=\"x-map-inner\"><iframe frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"https:\/\/maps.google.com\/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=new+york+new+york&amp;aq=&amp;sll=40.758895,-73.985131&amp;sspn=0.022202,0.045276&amp;gl=us&amp;ie=UTF8&amp;hq=&amp;hnear=New+York&amp;ll=40.714353,-74.005973&amp;spn=0.088852,0.181103&amp;t=m&amp;z=13&amp;output=embed\"><\/iframe><\/div><\/div>\n<pre  class=\"x-code\" ><code>[map]&lt;iframe frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"https:\/\/maps.google.com\/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=new+york+new+york&amp;aq=&amp;sll=40.758895,-73.985131&amp;sspn=0.022202,0.045276&amp;gl=us&amp;ie=UTF8&amp;hq=&amp;hnear=New+York&amp;ll=40.714353,-74.005973&amp;spn=0.088852,0.181103&amp;t=m&amp;z=13&amp;output=embed\"&gt;&lt;\/iframe&gt;[\/map]<\/code><\/pre>\n<h2  class=\"h-custom-headline h5 accent\" ><span>Remove Location Popup<\/span><\/h2>\n<div  class=\"x-map embed with-container\" ><div class=\"x-map-inner\"><iframe frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"https:\/\/maps.google.com\/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=new+york+new+york&amp;aq=&amp;sll=40.758895,-73.985131&amp;sspn=0.022202,0.045276&amp;gl=us&amp;ie=UTF8&amp;hq=&amp;hnear=New+York&amp;ll=40.714353,-74.005973&amp;spn=0.088852,0.181103&amp;t=m&amp;z=13&amp;iwloc=near&amp;output=embed\"><\/iframe><\/div><\/div>\n<pre  class=\"x-code\" ><code>[map]&lt;iframe frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"https:\/\/maps.google.com\/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=new+york+new+york&amp;aq=&amp;sll=40.758895,-73.985131&amp;sspn=0.022202,0.045276&amp;gl=us&amp;ie=UTF8&amp;hq=&amp;hnear=New+York&amp;ll=40.714353,-74.005973&amp;spn=0.088852,0.181103&amp;t=m&amp;z=13&amp;iwloc=near&amp;output=embed\"&gt;&lt;\/iframe&gt;[\/map]<\/code><\/pre>\n<div class=\"x-alert x-alert-info x-alert-block\" >To achieve the result above, simply add <strong>&amp;iwloc=near<\/strong> directly before <strong>&amp;output=embed<\/strong> towards the end of the iframe src URL. You can reference the code example above to see exactly where to place this snippet. Here&#8217;s to no more location popups being cut off, yay!<\/div>\n<h2  class=\"h-custom-headline h5 accent\" ><span>Map With No Container<\/span><\/h2>\n<div  class=\"x-map embed\" ><div class=\"x-map-inner\"><iframe frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"https:\/\/maps.google.com\/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=new+york+new+york&amp;aq=&amp;sll=40.758895,-73.985131&amp;sspn=0.022202,0.045276&amp;gl=us&amp;ie=UTF8&amp;hq=&amp;hnear=New+York&amp;ll=40.714353,-74.005973&amp;spn=0.088852,0.181103&amp;t=m&amp;z=13&amp;iwloc=near&amp;output=embed\"><\/iframe><\/div><\/div>\n<pre  class=\"x-code\" ><code>[map no_container=\"true\"]&lt;iframe frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" src=\"https:\/\/maps.google.com\/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=new+york+new+york&amp;aq=&amp;sll=40.758895,-73.985131&amp;sspn=0.022202,0.045276&amp;gl=us&amp;ie=UTF8&amp;hq=&amp;hnear=New+York&amp;ll=40.714353,-74.005973&amp;spn=0.088852,0.181103&amp;t=m&amp;z=13&amp;iwloc=near&amp;output=embed\"&gt;&lt;\/iframe&gt;[\/map]<\/code><\/pre>\n<h2  class=\"h-custom-headline h5 accent\" ><span>Options<\/span><\/h2>\n<ul class=\"x-ul-icons\"  >\n<li class=\"x-li-icon\"  ><i class=\"x-icon-chevron-circle-right\" aria-hidden=\"true\" data-x-icon-s=\"&#xf138;\"  ><\/i><strong>id<\/strong>: add a unique ID to the shortcode.<\/li>\n<li class=\"x-li-icon\"  ><i class=\"x-icon-chevron-circle-right\" aria-hidden=\"true\" data-x-icon-s=\"&#xf138;\"  ><\/i><strong>class<\/strong>: add a class or multiple classes to the shortcode. <\/li>\n<li class=\"x-li-icon\"  ><i class=\"x-icon-chevron-circle-right\" aria-hidden=\"true\" data-x-icon-s=\"&#xf138;\"  ><\/i><strong>style<\/strong>: add inline styles to the shortcode.<\/li>\n<li class=\"x-li-icon\"  ><i class=\"x-icon-chevron-circle-right\" aria-hidden=\"true\" data-x-icon-s=\"&#xf138;\"  ><\/i><strong>no_container<\/strong>: input &#8220;true&#8221; to remove the container styling.<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"","protected":false},"author":16,"featured_media":0,"parent":259,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0},"_links":{"self":[{"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/pages\/279"}],"collection":[{"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/comments?post=279"}],"version-history":[{"count":1,"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/pages\/279\/revisions"}],"predecessor-version":[{"id":7777,"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/pages\/279\/revisions\/7777"}],"up":[{"embeddable":true,"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/pages\/259"}],"wp:attachment":[{"href":"https:\/\/demo.theme.co\/renew-1\/wp-json\/wp\/v2\/media?parent=279"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}