Skip to content

Add ability to filter layers from geocoder result sets in LocationFieldComponent #99

Open
@PaulIvanov

Description

@PaulIvanov

@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

Metadata

Metadata

Labels

AS2BLOCKERSBlockers exist outside of otp-ui (e.g., backend, service, etc...)MEDIUMMedium PriorityenhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions