WP Grid Builder Map Facet Addon GPL Overview:
Create maps from Google Maps, Mapbox, or Leaflet as filterable facets. This add-on allows displaying markers (posts, terms, or users) on a map from longitude and longitude coordinates. It can optionally filter content when panning the map.
This add-on also includes a Geolocation facet that allows you to search and filter by location from Google or Mapbox APIs. It is also possible to detect the current user’s location thanks to the browser Geolocation API (the user’s location can be approximated based on the user’s IP).
WP Grid Builder Map Facet Key Features
- Google Maps API support
- Mapbox API support
- Leaflet API support (open-source)
- Geolocation field (Google & Mapbox APIs)
- Support marker clustering
- Support map panning to filter
- Compatible with Advanced Custom Fields
Create a new facet and select Facet Action > Filter and Filter Type > Map. Once selected, you will be able to select the Map Type (Google Maps, Mapbox or Leaflet) and fine-tune the behaviour of the map, markers, clusters and controls.
A Sort facet can be used to sort by the distance the results filtered by the Geolocation facet (Order By > Distance). The grid/content filtered by the Geolocation facet can also be ordered by distance by defining Order by > Included Posts (post__in). Content can only be ordered by distance when filtered by the Geolocation facet.
This add-on is compatible with Google Map – ACF field, OpenStreetMap – ACF field, Google Maps – Meta Box field and Open Street Map – Meta Box field to easily add coordinates. This add-on also offers custom fields to add lat/long coordinates for your posts, users or terms directly in preview mode in your grid settings.