Directorist Getting Started Directorist Overview with Setup Wizard Installation Setting Up the Required Pages Managing Categories Managing Location Terms and Conditions Setup CSV Import/Export Listings Management Adding a listing from the frontend & backend Guest listing submission Listings Sidebar Category Archive Location Archive General Listing Settings Multiple Directories All Listings Management Monetization Monetization Overview General Configurations Test your configuration Managing Orders Currency Settings Gateway Settings Search and Filter Settings Search Listing Page Setup Advanced Filter in Search Result Page Advanced Search and Filter Advanced Filter in Search Listings Form Search Result Page Setup Advanced Filter in All Listings Page Advanced Filter Widget Customization Registration and Login Customization Single Listing Page Customization All Listings Page Customization Badges Styling Adding Widgets Email Template Customize Color settings Custom Fields On Add Listing Page Shortcodes Add Listing Page All Listings Page Single Category Page Tags Page All Locations Page Search Results Login and Registration Payment & Checkout Page All Categories Page Single Location Page Search Listings User Dashboard Author Profile All Authors Advanced Settings Search Engine Optimization (SEO) Configuring Maps Review Management Translating Directorist Map View Help and Support Sending Announcements Developers Guide Action Hooks Filter Hooks Template Override Articles How to perform a plugin conflict test How to Fix Export Issues in Directorist Default Import/Export Tool Directory Builder Form and Layout Builder Single Listings Layout Multiple Directories All Listing Card Layout Search Form Layout Custom Single Listing Page Configuring Maps Directorist supports two types of maps out of the box by default. Google Maps and OpenStreetMap. However, you can use only one map at a time on your site. You can either use Google Maps or OpenStreetMap. You may already know it is free to use OpenStreetMap. However, you may also use Google Maps for free with a limited quota provided by Google. You can use Google Maps by buying a premium plan in case you exceed the free quota. Now it is up to you which map you would like to use on your site. It is good to know that the Map View Layout of Directorist listings works with Google Maps at the moment. However, we will try our best to add the support for the map view layout to OpenStreetMap in a coming release. Open Street Map OpenStreetMap is free to use. It is supported by Directorist out of the box. You do not need to use any API key unlike Google Map if you choose to use OpenStreetMap. Now visit the Dashboard → Directory Listings → Settings → Listings → Map. You can customize all options related to maps on that page. Maps Settings Select the OpenStreetMap from the Select Map option. You may also optionally set the default latitude and longitude for the map and adjust the zoom level of the map. You also adjust the height of the map on this page. Disabling Map Optionally, you may also disable the map on your site completely. If you want to disable the map completely. Please follow the following steps. Visit Directory Listings → Directory Settings → Listing Settings → Single Listing page. Set the Disable Google Map option to ‘YES‘ and save the changes. Visit Directory Listings → Directory Settings → Listing Settings → Form Fields page. Set the Enable Map option to ‘NO‘ and save the changes. Google Map You need an API key to use Google Maps on your directory website. You can find your API key for Google Maps in this link. Please follow the instruction there and copy your API key. Now visit the Dashboard → Directory Listings → Settings → Listings → Map. You can customize all options related to maps on that page. Maps Settings Select the Google Map from the Select Map option. Then paste the Google Maps API key that you copied in the beginning in the Google Map API Key option field. You may also optionally set the default latitude and longitude for the map and adjust the zoom level of the map. You also adjust the height of the map on this page. Map API not working properly? You need to follow the below steps to make the API work. Step 1: Make sure, you have set the Javascript Google Map API key correctly. [You must need the JAVASCRIPT API to make it work, any other will not work] Step 2: In this stage, you need to enable the Maps JavaScript API under APIs in the Google Cloud Platform Console. Go to the https://console.developers.google.com/apis/library and look for the Javascript Map API and enable it. Step 3: Enable Billing on the Google Cloud Project at https://console.cloud.google.com/project/_/billing/enable Step 4: After enabling it, make sure you have the following API enabled. 1. Places API 2. Geocoding API These don't require any keys, just enabling it will get the job done. Just go to API in the left side panel here https://console.developers.google.com/google/maps-apis/api-list and you will notice a list of APIs. Enable the 2 APIs above. Please check the screenshot below That's all about configuring maps for Directorist. Last Updated: July 26th, 2021 Related Article Sending Announcements Help and Support Map View