{"id":8022,"date":"2011-04-22T06:39:30","date_gmt":"2011-04-22T10:39:30","guid":{"rendered":"http:\/\/info.template-help.com\/?p=8022"},"modified":"2017-02-22T04:07:34","modified_gmt":"2017-02-22T09:07:34","slug":"how-to-change-google-map-location-in-joomla","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/how-to-change-google-map-location-in-joomla.html","title":{"rendered":"How to change Google Map location in Joomla 1.6.x-1.7.x"},"content":{"rendered":"<p>\r\n<p>This tutorial will show you how to change the Google Map coordinates in Joomla<\/p>\r\n<p>&nbsp;<\/p>\r\n<h3>Locating Google Map <\/h3>\r\n<p>1. Open your Joomla installation directory and open <strong>templates\/theme###\/html\/com_contact folder<\/strong><\/p>\r\n<p>2. The Google Map code could be found in the <strong>default.php<\/strong>, <strong>default_address.php<\/strong> or <strong>default_form.php<\/strong> (depends on the template design)<\/p>\r\n<p>3. Open the php files with your HTML\/PHP editor<\/p>\r\n<p>4. Use the search tool (CTRL+F) and search for the word &quot;<strong>iframe<\/strong>&quot;<\/p>\r\n<p>&nbsp;<\/p>\r\n<p>The google map code looks like this:<\/p>\r\n<pre class=\"brush:html\">\r\n&lt;iframe width=\"200\" height=\"200\" frameborder=\"0\" scrolling=\"no\" marginheight=\"0\" marginwidth=\"0\" \r\nsrc=\"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\r\n&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\r\n&amp;spn=0.01628,0.025663&amp;z=14&amp;iwloc=A&amp;output=embed\">&lt;\/iframe>\r\n<\/pre>\r\n<p>This is the code you need to modify or replace. <\/p>\r\n<p>&nbsp;<\/p>\r\n<h3>Changing the Google Map location<\/h3>\r\n<p>1. As soon as you found the google map code go to<strong> http:\/\/maps.google.com<\/strong><\/p>\r\n<p>2. Using your mouse and the map controls choose the desired location and zoom. <\/p>\r\n<p>3. Click the <strong>Link<\/strong> button in the top right menu.<\/p>\r\n<p>4. Copy the code from the &quot;<strong>Pages HTML to embed&#8230;<\/strong>&quot; field. <\/p>\r\n<p align=\"center\">\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2011\/03\/wp-google-map-2.jpg\"><img src=\"\/help\/wp-content\/uploads\/2011\/03\/wp-google-map-2.jpg\" alt=\"WP Google Maps 2\" title=\"wp-google-map-2\" width=\"400\" class=\"aligncenter size-full wp-image-7870\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/03\/wp-google-map-2.jpg 666w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/03\/wp-google-map-2-150x106.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2011\/03\/wp-google-map-2-300x213.jpg 300w\" sizes=\"(max-width: 666px) 100vw, 666px\" \/><br \/>\r\n<span class=\"enlarge\">(click to enlarge)<\/span><\/a>\r\n<\/p>\r\n<p>5. Paste the code to the php file. <\/p>\r\n<p>&nbsp;<\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n<p><\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to change the Google Map coordinates in Joomla &nbsp; Locating Google Map 1. Open your Joomla installation directory and open templates\/theme###\/html\/com_contact folder 2. The Google Map code could be found in the default.php, default_address.php or default_form.php (depends on the template design) 3. Open the php files with your HTML\/PHP [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[724],"tags":[2564,912,800,2410,801,911],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8022"}],"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\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=8022"}],"version-history":[{"count":0,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/8022\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=8022"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=8022"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=8022"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}