FacetWP – Map Facet
Show a filterable Google map of FacetWP listing results, with optional filtering by map viewport.
Version
Last updated
Works on
About This Plugin
This add-on for FacetWP adds the Legacy Map facet, which displays a Google map on the page. The map shows a marker for each geocoded result in a FacetWP-enabled listing on the same page. Other facets filter those markers, and the map updates its zoom and pan to the filtered posts.
When enabled, the map viewport itself acts as a facet. Panning or zooming the map refreshes the listing to the posts inside the current view. Pair the map with a Proximity facet to show the results within a chosen radius of a location. You can show all matching markers or only the current page of results, which works with a Pager facet of type Page numbers.
The data source is a custom field holding a comma-separated latitude and longitude, or separate latitude and longitude fields. In FacetWP 4.4 and newer, a new Map facet is built into FacetWP itself, and this add-on is the legacy version.