🗺️
Mapster WP Maps
HomeProExamplesContact
  • Getting Started
    • About
    • Installation
    • Key Concepts
    • Importing/Exporting
    • Guides
      • Your First Map
      • Creating a Crowdsourced Map
      • Set Up Recurring Import
      • Adding a Custom Style
      • Building a Custom Popup
  • Creating Shapes
  • Displaying Maps
  • Maps
    • Map Tiles
    • Initial View
      • Fit to Features
      • Manual Values
      • User Location
    • Map Size
    • Points, Lines, Polygons
    • Clustering
    • Interactivity
    • Controls
      • Basic Controls
      • Geocoding & Geolocation
      • Togglers
      • Other Controls
      • Control Render Order
    • Filters
      • Category Filter
      • Custom Search Filter
      • Filter Dropdown
    • Lists
      • Store Locator
    • Specialty Maps
      • Map Comparer
      • Heatmaps
      • Elevation Profile
      • User Submission
      • Listing Page Map
    • Preloader
    • Developer
      • Javascript
      • Embedding Maps
      • Faster Loading (Cache)
      • Caching
      • Progressive Loading
  • Locations
    • Markers
    • Circles
    • Labels
    • Icons
    • 3D Models
  • Lines
    • Lines
  • Multi Lines
  • Polygons
    • Flat Polygons
    • 3D Polygons
    • Image Polygons
  • Multi Polygons
  • Popups
    • Popup Templates
      • Introduction
      • Layout, Colors, Text, CSS
      • HTML
      • Options
    • Popup Content
  • Pro Sections
    • User Submission
      • Overview
      • Submission Interface
      • Adding Custom Fields
      • Submission Admin
  • Mass Edit
  • Settings
    • General
    • Account Management
  • Advanced
  • Import
  • Tileset Management
  • Developer
    • Mapster Map ACF Field
    • Mapster Map Gravity Forms Field
    • Custom Scripts
    • Hooks
    • Spatial DB & API
    • Internationalization
Powered by GitBook
On this page
  • Include Geocoder [Requires Mapbox access token]
  • Number of Results [Pro]
  • Search Type [Pro]

Was this helpful?

  1. Maps
  2. Filters

Custom Search Filter

Let users search through your features in a list dropdown.

PreviousCategory FilterNextFilter Dropdown

Last updated 4 days ago

Was this helpful?

The Custom Search Filter will give the user an input box to type into, and using their text, it will search through the post titles and popup text you've added in order to present clickable results that will zoom to the relevant feature.

If you want, you can include a geocoder with this -- meaning that users will be able to search both the features you've added and real-world locations together. Your features will always appear first in the list if any match is found.

Include Geocoder [Requires Mapbox access token]

Allow users to search both general address and your feature information at the same time.

  • Modify the search placeholder text

Number of Results [Pro]

Adjust how many results are returned maximum

Search Type [Pro]

For instance, if you have three points, and they have the titles:

  • Bear Lake Station

  • Station Grudge Bear

  • Lake Bear Station

And someone searches "Bear Lake", then:

  • With Exact Matching, "Bear Lake Station" will show up

  • With Any Term, all three will show up (all match "Bear")

  • With All Terms, "Bear Lake Station" and "Lake Bear Station" will show up

Limit results by country code (use )

Adjust whether search results must find an exact match, match any term, or match all terms entered. .

2-letter country codes
You can see examples here