Custom Search Filter
Let users search through your features in a list dropdown.
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.
Limit results by country code (use 2-letter country codes)
Modify the search placeholder text
Number of Results [Pro]
Adjust how many results are returned maximum
Search Type [Pro]
Adjust whether search results must find an exact match, match any term, or match all terms entered. You can see examples here.
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
Last updated
Was this helpful?