Description
@fpurcell has recently added the ability to get routes to be searchable from within the PELIAS geocoder and is very useful in general cases, but in some contexts we want to be able to prevent that "layer" from being a part of the search results. An example where this can cause buggy/unwanted behavior is when planning a trip. A user may unintentionally plan a trip using a "route" layer item and the trip planner will plan a confusing trip based on that.
We were thinking it would be good to have a generic way to pass the "layers" we want to filter out before being presented in the locationField results. We are open to talking more about this feature, but ultimately think it is necessary in order to fulfill our requirements on the trimet.org site