FacetWP Map Facet Addon This add-on generates a map to display geocoded results. It can also filter results by showing only results within the map bounds.
This add-on generates a Map facet type, which works just like any other facet type. The Data Source should be a custom field containing a comma-separated latitude, longitude. Common data sources:
-
- Advanced Custom Fields has a Google Maps field type that provides geolocation. For the facet’s Data Source, choose the field name underneath the “Advanced Custom Fields” header.
- WP Job Manager plugin automatically stores geolocation data. Set the facet’s Data Source to geolocation_lat.
Marker content
Enter display code for the content that displays when a marker is selected. The following example outputs the title, link, and excerpt.
Available options
Name | Description |
---|---|
Other data source | Choose a longitude field if stored separately from the latitude |
Map Design | Choose a design/color scheme for the map |
Marker clustering | This option will group markers into clusters |
Marker limit | “Show all results” will show all markers that match the results, “Show current page results” will only display markers matching the results on the current page of paginated results |
Map width / height | Width and height of map. Use unitless for px, ex. 300, or with %, ex. 100% |
Zoom min / max | Set the zoom bounds between 1 (minimum zoom) and 20 (maximum zoom) |
Default lat / lng / zoom | Centers map to this location when there’s no map results
Changelog0.8
0.7.1
0.7
0.6
0.5.2
0.5.1
0.4.5
0.4.4
0.4.3
0.4.2
0.4
0.3.3
0.3.2
|