{"id":56218,"date":"2015-10-22T04:20:05","date_gmt":"2015-10-22T08:20:05","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=56218"},"modified":"2017-07-27T06:46:47","modified_gmt":"2017-07-27T10:46:47","slug":"cherryframework-3-how-to-change-google-map-location-api-based","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/cherryframework-3-how-to-change-google-map-location-api-based.html","title":{"rendered":"CherryFramework 3. How to change Google map location (API based)"},"content":{"rendered":"<p>\r\n<p>This tutorial will show you how to change <strong>Google map <\/strong>location (<strong>API based<\/strong>) in <strong>CherryFramework 3.x WordPress<\/strong> templates.<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=DEfMasyydr4?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 3. How to change Google map location (API based)<\/a><\/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-3-(835-x100).jpg\" \/>\r\n<\/a>\r\n<\/div>\r\n<ol>\r\n<li>\r\n<p><strong>The Google map on the Home page<\/strong>. This map is usually located in the bottom of the home page (front page). To change its location, follow the steps listed below:<\/p>\r\n<ol>\r\n<li>\r\n<p>Go to <strong>Pages\/Home<\/strong> to check if there is a shortcode for the map. In case you don&#8217;t see any map shortcode, you can check some other pages from the list. Usually, the page name is <strong>Footer Map<\/strong>.<\/p>\r\n<\/li>\r\n<li>\r\n<p>Open <strong>Footer Map<\/strong> page from <strong>Pages<\/strong> to edit, you will see the shortcode for the <strong>API map<\/strong>: <\/p>\r\n<pre>[google_map_api lat_value=\"25.9497946\" lng_value=\"-80.1215123\" zoom_value=\"14\" custom_class=\"google-map-api__style-1\"]<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-1-300x118.png\" alt=\"CherryFramework3-How_to_change_Google_map_location_API_based-1\" width=\"300\" height=\"118\" class=\"aligncenter size-medium wp-image-56219\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-1-300x118.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-1-150x59.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-1-1024x402.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-1.png 1254w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>You just need to change the <strong>latitude<\/strong> and <strong>longitude<\/strong> value from the above shortcode to change the google map location. <\/p>\r\n<\/li>\r\n<li>\r\n<p>Open <a href=\"https:\/\/www.google.com\/maps\">https:\/\/www.google.com\/maps<\/a> and find your location. On the address bar, you will see the <strong>coordinates<\/strong> to copy:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-2-300x120.png\" alt=\"CherryFramework3-How_to_change_Google_map_location_API_based-2\" width=\"300\" height=\"120\" class=\"aligncenter size-medium wp-image-56220\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-2-300x120.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-2-150x60.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-2-1024x410.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-2.png 1716w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n   <\/li>\r\n<li>\r\n<p>Paste the <strong>latitude<\/strong> and <strong>longitude<\/strong> to the shortcode. <strong>Update<\/strong> the page. Then refresh the home page to check the map:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-3-300x93.png\" alt=\"CherryFramework3-How_to_change_Google_map_location_API_based-3\" width=\"300\" height=\"93\" class=\"aligncenter size-medium wp-image-56221\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-3-300x93.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-3-150x46.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-3-1024x316.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-3.png 1257w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-4-300x113.png\" alt=\"CherryFramework3-How_to_change_Google_map_location_API_based-4\" width=\"300\" height=\"113\" class=\"aligncenter size-medium wp-image-56222\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-4-300x113.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-4-150x56.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-4-1024x384.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-4.png 1263w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n   <\/li>\r\n<\/ol>\r\n<\/li>\r\n<li>\r\n<p>For the <strong>API<\/strong> based google map for other pages, the <strong>coordinates<\/strong> can be replaced directly in shortcode. For example, the map on <strong>Contact<\/strong> page:<\/p>\r\n<ol>\r\n<li>\r\n<p>Open <strong>WordPress admin panel<\/strong>, go to the page which has the map. In this case, it&#8217;s <strong>Contact<\/strong> page.<\/p>\r\n<\/li>\r\n<li>\r\n<p>You will see the <strong>shortcode<\/strong> for the map with coordinates: <\/p>\r\n<pre>\r\n[google_map_api lat_value=\"40.649974\" lng_value=\"-73.949919\" zoom_value=\"14\" zoom_wheel=\"no\"]\r\n\t<\/pre>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-5-300x75.png\" alt=\"CherryFramework3-How_to_change_Google_map_location_API_based-5\" width=\"300\" height=\"75\" class=\"aligncenter size-medium wp-image-56223\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-5-300x75.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-5-150x37.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-5-1024x255.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-5.png 1239w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>You should change <strong>latitude<\/strong> and <strong>longitude<\/strong>. Click on <strong>Update<\/strong> to save the page:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-6-300x110.png\" alt=\"CherryFramework3-How_to_change_Google_map_location_API_based-6\" width=\"300\" height=\"110\" class=\"aligncenter size-medium wp-image-56224\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-6-300x110.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-6-150x55.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-6-1024x375.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-6.png 1090w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\r\n<p>Refresh the page to check the result:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-7.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-7-300x118.png\" alt=\"CherryFramework3-How_to_change_Google_map_location_API_based-7\" width=\"300\" height=\"118\" class=\"aligncenter size-medium wp-image-56225\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-7-300x118.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-7-150x59.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-7-1024x404.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2015\/10\/CherryFramework3-How_to_change_Google_map_location_API_based-7.png 1185w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=DEfMasyydr4?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 3. How to change Google map location (API based)<\/a><\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>This tutorial will show you how to change <strong>Google map <\/strong>location (<strong>API based<\/strong>) in <strong>CherryFramework 3.x WordPress<\/strong> templates.<\/p>\n","protected":false},"author":69,"featured_media":56228,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[728],"tags":[1102,2094,2093,1415,2405],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/56218"}],"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\/69"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=56218"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/56218\/revisions"}],"predecessor-version":[{"id":82291,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/56218\/revisions\/82291"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/56228"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=56218"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=56218"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=56218"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}