{"id":2338,"date":"2015-05-13T07:01:49","date_gmt":"2015-05-13T07:01:49","guid":{"rendered":"https:\/\/docs.wpgeodirectory.com\/?p=2338"},"modified":"2018-08-16T10:36:46","modified_gmt":"2018-08-16T10:36:46","slug":"custom-google-maps","status":"publish","type":"post","link":"https:\/\/wpgeodirectory.com\/docs\/custom-google-maps\/","title":{"rendered":"Custom Maps Addon"},"content":{"rendered":"<table>\n<tbody>\n<tr>\n<td colspan=\"2\"><a href=\"#intro\">Introduction<\/a><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\"><a href=\"#installation\">Installation<\/a><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\"><a href=\"#snazzy\">Snazzy Maps<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"#settings\">Settings<\/a><\/td>\n<td><a href=\"#general\">General<\/a> &#8211; <a href=\"#manage\">Manage Styles<\/a>\u00a0&#8211;\u00a0<a href=\"#featuretype\">featureType<\/a> &#8211; <a href=\"#elementtype\">elementType<\/a>\u00a0&#8211;\u00a0<a href=\"#stylers\">stylers<\/a><\/td>\n<\/tr>\n<tr>\n<td><a href=\"#example\">Example<\/a><\/td>\n<td><a href=\"#poi\">Removing Google&#8217;s points of interest<\/a><\/td>\n<\/tr>\n<tr>\n<td colspan=\"2\"><a href=\"#more\">More information<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><a href=\"#osm\">Open Street Map Base Layers<\/a><\/p>\n<h3><a id=\"intro\"><\/a>Introduction<\/h3>\n<p><em><strong>Custom Google Maps<\/strong><\/em> for GeoDirectory allows you to modify the look and feel of all Google Maps on your GD website, through an easy user interface with color pickers and simple to use options.<\/p>\n<p>This way you can make the maps of your website look totally personalized and unique.<\/p>\n<h3><a id=\"installation\"><\/a>Installation<\/h3>\n<p>After <a href=\"\/docs\/installing-addons\/\">uploading and activating the Addon<\/a>, you will find the settings in your <em><strong>WP admin area<\/strong><\/em> &gt; <em><strong>GeoDirectory<\/strong><\/em> &gt; <em><strong>Custom Google Maps.<\/strong><\/em><\/p>\n<h3><a id=\"snazzy\"><\/a>Snazzy Maps<\/h3>\n<ol>\n<li><a href=\"https:\/\/snazzymaps.com\" target=\"_blank\"><em>Snazzy Maps<\/em><\/a> is a repository of different color schemes for Google Maps aimed towards web designers and developers.<\/li>\n<li>You can browse all the different map styles contributed by users, and then export that style and import it into your GD website.<\/li>\n<li><a href=\"https:\/\/wpgeodirectory.com\/snazzy-maps-support-for-geodirectory\/\"><i class=\"fa fa-folder-open fa-lg\"> <\/i>This blog post explains how to import the Snazzy Maps styles.\u00a0<\/a><\/li>\n<\/ol>\n<h3><a id=\"settings\"><\/a>Settings<\/h3>\n<h4><a id=\"general\"><\/a>General<\/h4>\n<p>Here you can choose which map you want to show as a customized map.<\/p>\n<p>Choose from your location map, listings map, and the detail page map.<\/p>\n<h4><a id=\"manage\"><\/a>Manage Styles<\/h4>\n<p>The settings allow you to customize the presentation of the standard Google maps, changing the visual display of such elements as roads, parks, and built-up areas etc.<\/p>\n<p><strong><a id=\"featuretype\"><\/a>featureType<\/strong>: Every map is composed by adding different features, like roads, points of interest, waterways etc.<\/p>\n<p><img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/gmap1.png\" alt=\"\" width=\"546\" height=\"195\" \/><\/p>\n<p><a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/reference#MapTypeStyleFeatureType\" target=\"_blank\"><i class=\"fa fa-folder-open fa-lg\"><\/i> Read more about the different map features on the Google Developers website.<\/a><\/p>\n<p><strong><a id=\"elementtype\"><\/a>elementType<\/strong>: Every feature like a road, or a country border etc, are a combination of different elements, like the color of a waterway, or the color of the river&#8217;s edge.<\/p>\n<p><img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/gmap2.png\" alt=\"\" width=\"469\" height=\"175\" \/><\/p>\n<p><a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/reference?csw=1#MapTypeStyleElementType\" target=\"_blank\"><i class=\"fa fa-folder-open fa-lg\"><\/i> Read more about the different elements on the Google Developers website.<\/a><\/p>\n<p><strong><a id=\"stylers\"><\/a>stylers<\/strong>: Every element of a feature can be styled.<\/p>\n<p><a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/styling#stylers\" target=\"_blank\"><i class=\"fa fa-folder-open fa-lg\"><\/i> Read more about the different stylers on the Google Developers website.<\/a><\/p>\n<h3><a id=\"example\"><\/a>Example<\/h3>\n<h4><a id=\"poi\"><\/a>Removing Google&#8217;s points of interest<\/h4>\n<ol>\n<li>A default Google map has &#8220;points of interest&#8221;, like restaurants, cinemas etc.<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/gmap3.png\" alt=\"\" width=\"700\" height=\"188\" \/><\/li>\n<li>So let&#8217;s remove them so you can add your own GD listings to the map:\n<ol>\n<li>Select\u00a0featureType <em><strong>poi<\/strong><\/em><\/li>\n<li>Select <em><strong>all<\/strong><\/em> elementTypes<\/li>\n<li>Turn <em><strong>visibility off<\/strong><\/em><\/li>\n<\/ol>\n<\/li>\n<li>Then click <em><strong>Add<\/strong><\/em>:<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/gmap4.png\" alt=\"\" width=\"665\" height=\"136\" \/><\/li>\n<li>Now click <em><strong>Preview<\/strong><\/em> below the map, and you will see all <em><strong>points of interest<\/strong><\/em> will be invisible:<br \/>\n<img loading=\"lazy\" class=\"greenborder\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/gmap5.png\" alt=\"\" width=\"703\" height=\"222\" \/><\/li>\n<li>Once you are happy with the styles you added, click <em><strong>Save Styles<\/strong><\/em>.<\/li>\n<\/ol>\n<h3><a id=\"more\"><\/a>More information<\/h3>\n<p><a href=\"https:\/\/developers.google.com\/maps\/documentation\/javascript\/reference#MapTypeStyleFeatureType\" target=\"_blank\"><i class=\"fa fa-folder-open fa-lg\"><\/i> Styled Maps &#8211; Google website<\/a><\/p>\n<h3><a name=\"osm\" id=\"osm\"><\/a>Open Street Map Base Layers<\/h3>\n<p>The Custom Maps Addon also enables your maps to show different Open Street Map Baselayers. Choose an Open Street Map setting first, then adjust the baselayer.<\/p>\n<p><a href=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/Screenshot-2018-08-16-at-12.31.44-PM.png\"><img loading=\"lazy\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/Screenshot-2018-08-16-at-12.31.44-PM.png\" alt=\"\" width=\"693\" height=\"222\" class=\"alignnone size-full wp-image-23724\" srcset=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/Screenshot-2018-08-16-at-12.31.44-PM.png 693w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/Screenshot-2018-08-16-at-12.31.44-PM-300x96.png 300w\" sizes=\"(max-width: 693px) 100vw, 693px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/Screenshot-2018-08-16-at-12.32.03-PM.png\"><img loading=\"lazy\" src=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/Screenshot-2018-08-16-at-12.32.03-PM.png\" alt=\"\" width=\"689\" height=\"577\" class=\"alignnone size-full wp-image-23723\" srcset=\"https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/Screenshot-2018-08-16-at-12.32.03-PM.png 689w, https:\/\/wpgeodirectory.com\/docs\/wp-content\/uploads\/sites\/3\/2015\/05\/Screenshot-2018-08-16-at-12.32.03-PM-300x251.png 300w\" sizes=\"(max-width: 689px) 100vw, 689px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Custom Google Maps for GeoDirectory allows you to modify the look and feel of all Google Maps Widgets through an easy user interface with color pickers and simple to use options. This way you can make the maps of your website look totally personalized and unique.<\/p>\n","protected":false},"author":1676,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,54],"tags":[],"amp_validity":null,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/2338"}],"collection":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/users\/1676"}],"replies":[{"embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/comments?post=2338"}],"version-history":[{"count":0,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/posts\/2338\/revisions"}],"wp:attachment":[{"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/media?parent=2338"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/categories?post=2338"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpgeodirectory.com\/docs\/wp-json\/wp\/v2\/tags?post=2338"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}