{"id":70931,"date":"2016-05-30T08:52:26","date_gmt":"2016-05-30T12:52:26","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=70931"},"modified":"2017-08-10T06:00:41","modified_gmt":"2017-08-10T10:00:41","slug":"cherryframework-4-how-to-apply-google-map-custom-style","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/cherryframework-4-how-to-apply-google-map-custom-style.html","title":{"rendered":"CherryFramework 4. How to apply Google map custom style"},"content":{"rendered":"<p>This tutorial is going to show you how to change the default style of the <strong>Google map<\/strong> in the <strong>CherryFramework 4<\/strong> based templates.<\/p>\r\n\r\n<div class=\"video-container\">\r\n\t<iframe src=\"https:\/\/www.youtube.com\/embed\/JJOHTp9MDfw\"><\/iframe>\r\n<\/div>\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\t<p>Google maps have various skins. Let&#8217;s check how to change the <em>Light Monochrome<\/em> map theme to the <em>Midnight Commander<\/em> theme.<\/p>\r\n\t\r\n\t<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-1.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-1-300x169.jpg\" alt=\"CherryFramework_4._How_to_apply_Google_map_custom_style-1\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-70934\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-1-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-1-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-1-1024x576.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-1.jpg 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\r\n\t<p>You&#8217;ll need to perform the following steps in order to apply Google map custom style:<\/p>\r\n\r\n\t<ol>\r\n\t\t<li>\r\n\t\t\t<p>Go to the <a href=\"https:\/\/snazzymaps.com\/\" rel=\"nofollow\" target=\"_blank\">Snazzy Maps<\/a> page and pick up any custom style, for example, <em>Midnight Commander<\/em>.<\/p>\r\n\t\t<\/li>\r\n\t\t<li>\r\n\t\t\t<p>Copy the <strong>JavaScript Style Array<\/strong>. It&#8217;s a <strong>JSON<\/strong> code that contains the style&#8217;s information.<\/p>\r\n\t\t\t\r\n\t\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-2.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-2-300x169.jpg\" alt=\"CherryFramework_4._How_to_apply_Google_map_custom_style-2\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-70935\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-2-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-2-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-2-1024x576.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-2.jpg 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t<\/li>\r\n\t\t<li>\r\n\t\t\t<p>Go to the <strong>wp-content\/themes\/themeXXXXX\/assets\/<\/strong> directory and create a new folder named <strong>googlemap<\/strong>.<\/p>\r\n\t\t<\/li>\r\n\t\t<li>\r\n\t\t\t<p>Create a new file called, e.g., <strong>midnight_commander.json<\/strong> and paste the copied <strong>JSON<\/strong> code there. You should use the same name for the file as the name of the map theme, all letters lowercase, words separated by underscores.<\/p>\r\n\t\t\t\r\n\t\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-3.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-3-300x169.jpg\" alt=\"CherryFramework_4._How_to_apply_Google_map_custom_style-3\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-70936\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-3-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-3-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-3-1024x576.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-3.jpg 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t<\/li>\r\n\t\t<li>\r\n\t\t\t<p>Open the page that includes the Google map with the <strong>WordPress editor<\/strong>, find the <strong>cherry_google_map<\/strong> shortcode and change the <strong>map_style<\/strong> attribute to the name of the <strong>JSON<\/strong> file without the <em>.json<\/em> extension.<\/p>\r\n\t\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-4.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-4-300x169.jpg\" alt=\"CherryFramework_4._How_to_apply_Google_map_custom_style-4\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-70937\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-4-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-4-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-4-1024x576.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-4.jpg 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t<\/li>\r\n\t\t<li>\r\n\t\t\t<p>Update and reload the <strong>Contacts<\/strong> page. The new <strong>Google map<\/strong> style has been successfully applied.<\/p>\r\n\t\t\t\r\n<a class=\"darkbox\" href=\"\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-5.jpg\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-5-300x169.jpg\" alt=\"CherryFramework_4._How_to_apply_Google_map_custom_style-5\" width=\"300\" height=\"169\" class=\"alignnone size-medium wp-image-70938\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-5-300x169.jpg 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-5-150x84.jpg 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-5-1024x576.jpg 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2016\/05\/CherryFramework_4._How_to_apply_Google_map_custom_style-5.jpg 1280w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t\t<\/li>\r\n\t<\/ol>\r\n\r\n\t<p>Feel free to check detailed video tutorial below.<\/p>\r\n<a href=\"http:\/\/www.youtube.com\/watch?v=JJOHTp9MDfw?width=1280&amp;height=720\" rel=\"prettyPhoto\">CherryFramework 4. How to apply Google map custom style<\/a>","protected":false},"excerpt":{"rendered":"<p>This tutorial is going to show you how to change the default style of the Google map  in the CherryFramework 4 templates.<\/p>\n","protected":false},"author":85,"featured_media":70941,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[2017,728],"tags":[2012,1113,517],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/70931"}],"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\/85"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=70931"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/70931\/revisions"}],"predecessor-version":[{"id":82629,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/70931\/revisions\/82629"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/70941"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=70931"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=70931"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=70931"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}