WP Grid Builder’s Map Facet add-on enhances your website’s interactivity by allowing you to create filterable maps with markers for posts, terms, or users. This feature supports Google Maps, Mapbox, and Leaflet, offering various customization and filtering options based on geographic locations.
Key Features:
Multiple Map API Support:
- Google Maps API:
Integrate Google Maps seamlessly for robust map functionalities. - Mapbox API:
Utilize the flexibility and customization options of Mapbox. - Leaflet API (Open-Source):
An open-source option for adding lightweight and customizable maps to your website.
Geolocation Features:
- Geolocation Field (Google & Mapbox APIs):
Enable users to search and filter content based on their location using Google or Mapbox APIs. - Browser Geolocation API:
Automatically detect the user’s approximate location based on their IP for personalized filtering and search experiences.
Advanced Filtering:
- Filter by Map Panning:
Users can filter content by simply panning the map, providing an intuitive way to explore location-based posts, terms, or users. - Marker Clustering:
For areas with dense content, markers can be clustered together, reducing map clutter and improving the user experience.
Advanced Custom Fields (ACF) Support:
- ACF & Meta Box Integration:
Compatible with the Google Maps and OpenStreetMap fields of ACF and Meta Box plugins, making it easy to add coordinates (latitude/longitude) to posts, users, or terms.
Customizable Map Facet:
- Map Type Selection:
Choose between Google Maps, Mapbox, or Leaflet to display your map facets. - Control Map and Marker Behavior:
Customize how maps, markers, and clusters behave, offering full control over the user experience.
Sort By Distance:
- Geolocation Sorting:
Add a sort facet that allows users to sort content by distance from their current location or any custom location entered through the geolocation facet.
Usage:
- Create a New Facet:
Select Facet Action as Filter and Filter Type as Map. - Select Map Type:
Choose your preferred map provider: Google Maps, Mapbox, or Leaflet. - Fine-tune the Behavior:
Customize how markers, clusters, and controls function within your map, ensuring an optimized experience. - Sort by Distance:
You can sort filtered results by distance using the Geolocation facet.
Compatibility:
- Works with Google Map – ACF Field, OpenStreetMap – ACF Field, Google Maps – Meta Box Field, and OpenStreetMap – Meta Box Field.
This compatibility allows for seamless integration of lat/long coordinates into your grid settings.
The WP Grid Builder – Map Facet add-on is a powerful tool for creating interactive, location-based content grids that enhance user engagement and navigation on your WordPress site.