{"id":23387,"date":"2015-02-25T00:13:04","date_gmt":"2015-02-25T05:13:04","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=23387"},"modified":"2017-08-24T06:07:58","modified_gmt":"2017-08-24T10:07:58","slug":"magento-framework-how-to-edit-google-map-on-your-template","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/magento-framework-how-to-edit-google-map-on-your-template.html","title":{"rendered":"Magento. How to change Google Map location"},"content":{"rendered":"<p><br \/>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=3Oa92nmh680?width=1280&amp;height=720\" rel=\"prettyPhoto\">Magento. How to change Google Map location<\/a><\/p>\r\n<p>This tutorial will show you how to edit <strong>Google Map<\/strong> in your  Magento template: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_1-300x150.png\" alt=\"Magento_How_to_change_location_on_Google Map_1\" width=\"300\" height=\"150\" class=\"aligncenter size-medium wp-image-39068\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_1-300x150.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_1-150x75.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_1-1024x512.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_1.png 1062w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>The default code that comes with the templates runs as follows:<\/p>\r\n<pre class=\"html\">\r\n &lt;iframe  src=\"http:\/\/maps.google.com\/maps?f=q&amp;source=s_q&amp;hl=en&amp;geocode=&amp;q=Brooklyn,+New+York,+NY,+United+States&amp;aq=0&amp;sll=37.0625,-95.677068&amp;sspn=61.282355,146.513672&amp;ie=UTF8&amp;hq=&amp;hnear=Brooklyn,+Kings,+New+York&amp;ll=40.649974,-73.950005&amp;spn=0.01628,0.025663&amp;z=14&amp;iwloc=A&amp;output=embed\"&gt;&lt;\/iframe&gt;\r\n<\/pre>\r\n<ol>\r\n<li>\r\n<p>In your Magento admin panel, go to the top menu <strong>CMS<\/strong>-&gt; <strong>Static Blocks<\/strong>:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_2-300x115.png\" alt=\"Magento_How_to_change_location_on_Google Map_2\" width=\"300\" height=\"115\" class=\"aligncenter size-medium wp-image-39069\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_2-300x115.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_2-150x57.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_2.png 1000w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Locate the block called <strong>&#8216;Map Content&#8217;<\/strong>, open it. Find the code in the <strong>Content<\/strong> field;<\/p>\r\n<\/li>\r\n<li>\r\n<p>Navigate to <a href=\"http:\/\/maps.google.com\/\" target=\"_blank\">http:\/\/maps.google.com\/<\/a>;<\/p>\r\n<\/li>\r\n<li>\r\n<p>Type your location address into the <strong>Search<\/strong> field and press <strong>Enter<\/strong>;<\/p>\r\n<\/li>\r\n<li>\r\n<p>Go to <strong>Settings<\/strong> -&gt; <strong>Share and Embed map<\/strong>:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_3-300x246.png\" alt=\"Magento_How_to_change_location_on_Google Map_3\" width=\"300\" height=\"246\" class=\"aligncenter size-medium wp-image-39070\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_3-300x246.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_3-150x123.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_3.png 913w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Open <strong>&lsquo;Embed Map&rsquo;<\/strong> tab and copy the code:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_4-300x215.png\" alt=\"Magento_How_to_change_location_on_Google Map_4\" width=\"300\" height=\"215\" class=\"aligncenter size-medium wp-image-39071\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_4-300x215.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_4-150x107.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2012\/09\/Magento_How_to_change_location_on_Google-Map_4.png 735w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<\/li>\r\n<li>\r\n<p>Replace the original code you have in the <strong>Contacts<\/strong> field of the<strong> Map Content block<\/strong>;<\/p>\r\n<\/li>\r\n<li>\r\n<p>Save the changes and go to the Contacts page of your store to check the new location. <\/p>\r\n<\/li>\r\n<\/ol>\r\n<p>This is the end of the tutorial. Good luck. <\/p>\r\n<div class=\"inline-banner\">\r\n<a href=\"https:\/\/www.templatemonster.com\/service-center\/\">\r\n<img src=\"\/help\/files\/banners\/inline\/Banner-2-(835-x100).jpg\"\/>\r\n<\/a>\r\n<\/div>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=3Oa92nmh680?width=1280&amp;height=720\" rel=\"prettyPhoto\">Magento. How to change Google Map location<\/a><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This  tutorial is going to show you how to edit Google Map on your Magento template.<\/p>\n","protected":false},"author":37,"featured_media":43919,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[729],"tags":[929,801,2407,1113],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/23387"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/37"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=23387"}],"version-history":[{"count":2,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/23387\/revisions"}],"predecessor-version":[{"id":83010,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/23387\/revisions\/83010"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/43919"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=23387"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=23387"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=23387"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}