DOCS

Location filter

The Location filter is used to search posts by their geographical location. It uses as a source a Location field

The location filter requires a map provider enabled and configured.

Options

  • Label
  • Placeholder
  • Key
  • Data source: Requires a location field as source
  • Units: Kilometers or Miles
  • Radius default value: The default radius used when enabling proximity search
  • Min radius
  • Max radius
  • Step size: Set the step size for the slider used when adjusting radius
  • Icon

Display modes

This filter has two display mods when added to your search form

Inline input

Popup

Search methods

The location filter provides two search methods

  1. Area search: When a location is provided, the map zooms in to that location and all posts located within the map view are shown as results.
  2. Radius/Proximity search: After providing a location, the user has the ability to enable proximity. In this case, a circle is drawn on the map around the address provided and all posts within it are shown as results. The user has he ability to adjust the radius of the circle to search further away.

Default values

The filter expects different default values depending on the search mode selected

Search by radius

  • Address
  • Lattitude
  • Longitude
  • Radius

Search by area

  • Address
  • Southwest lattitude
  • Southwest longitude
  • Northeast lattitude
  • Northeast longitude

Continue reading