Note
This is a beta add-on. Access to the beta add-on is available to all Pro Pack bundle customers.
Prerequisites
Installation
- Install the WP Go Maps Connector add-on.
- Install and activate the WP Google Maps plugin:
- Install and activate the WP Google Maps Pro plugin:
- https://www.wpgmaps.com/purchase-professional-version/
- The Pro version is required because that is the version that has the ability to integrate with third-party data sources such as this Connections Connector add-on.
- If you do not have a Google Maps API key setup for your site, you’ll have to now. You’ll need the following API’s activated for the API key:
- JS Maps (not sure if that is the exact name)
- Geocoding
- Places
- Add the Google Maps API key to the WP Google Maps settings.
- Create a new WP Google Map
- Under the Advanced Settings tab, choose the “Connections Business Directory” Integration.
- Enable the store locator under the Store Locator tab.
- Save the Map.
- Create a new page, place the WP Google Maps shortcode for the map on the page, and publish the page.
Known Limitations
Important
WP Go Maps can not scale to the extent Connections can. For example, our test Connections database has over 10K of addresses. To display the markers on a map, we had to set a hard limit of 1,000 markers. If Connections Entries are imported as native WPGM map markers, we could get about 1,500 map markers. Depending on your web host server resources for your site, you may get fewer map markers.
Demo Map
Live third-party sites:
Import Markers
If you want to import the directory entry data as native WP Go Maps markers, as opposed to dynamically integrating the markers, please navigate to the WP Go MAPS → Tools → Import admin page.
Choose the Connections Business Directory option and click the Import button.
Hooks
Actions
- Currently, there are no available action hooks.
Filters
Connections_Directory/WP_Go_Maps/Marker_Limit
Connections_Directory/WP_Go_Maps/Category_Tree/Category_Parent
Connections_Directory/WP_Go_Maps/Marker_Source/Query
Connections_Directory/WP_Go_Maps/Marker_Source/Permalink_Base
Connections_Directory/WP_Go_Maps/Marker_Source/Import_Limit