FacetWP Map Facet Addon

1.0
Sale!

$19.80$59.40

SKU WT17960 Category Tags ,

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

NameDescription
Other data sourceChoose a longitude field if stored separately from the latitude
Map DesignChoose a design/color scheme for the map
Marker clusteringThis 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 / heightWidth and height of map. Use unitless for px, ex. 300, or with %, ex. 100%
Zoom min / maxSet the zoom bounds between 1 (minimum zoom) and 20 (maximum zoom)
Default lat / lng / zoomCenters map to this location when there’s no map results

Changelog

0.8

  • Changed: use `FWP()->filtered_post_ids` if available
  • Fix: prevent infinite refresh when “Enable map filtering” is on

0.7.1

  • Fix: only load posts if the “Marker Content” box is filled (performance boost)

0.7

  • New: `facetwp_map/fit_bounds` JS hook to disable fitBounds and manually center the map
  • Improved: immediately trigger a refresh when the “Enable filtering” button is clicked
  • Improved: replaced GMaps “scrollWheel” setting with “gestureHandling”

0.6

  • Better support for ACF repeater Google Map fields. When combined with a proximity facet, only markers within the correct radius will remain!

0.5.2

  • Fixed issue where map wouldn’t load when there are no initial results

0.5.1

  • Added support for multiple locations per post (e.g. ACF repeater sub-fields)
  • Added logic to tie a map marker to its associated result
  • Changed “Enable filtering” to “Enable map filtering”
  • Updated Markerclusterer.js

0.4.5

  • Changed `wp.hooks` to `FWP.hooks` due to conflict with WP 5.0

0.4.4

  • Map facet now requires FacetWP 3.2.0+
  • Fixed issue saving the “Other data source” setting

0.4.3

  • Fixed issue involving filtering across the Prime Meridian

0.4.2

  • Fixed issues with FWP.reset()
  • Compatibility fix for FacetWP 3.1.2+

0.4

  • Improved: skip map refreshes when not needed
  • Improved: re-center map on window.resize

0.3.3

  • New: added `facetwp_map_proximity_marker_args` filter
  • Improved: support marker cluster image extensions (props Roy Lodder)

0.3.2

  • Improved: removed unnecessary query
  • Fix: map width / height settings weren’t being respected
  • Fix: limit results to the active map

Reviews

There are no reviews yet.

Be the first to review “FacetWP Map Facet Addon”
Shopping Cart
X

New item(s) have been added to your cart.

Quantity: 1
Total $19.80

Frequently bought with FacetWP Map Facet Addon


Clear
View more
Clear
View more
WPForms Drip $79.80$239.40
Clear
View more
Clear
View more
Clear
View more
Clear
View more
Gravity Forms Help Scout $39.80$119.40
Clear
View more
GravityView $13.80$41.40
Clear
View more
Scroll to Top

don't miss it!

$1 off