When I have multiple train stops with the same name on a map with a lot of other train stops, this would make it a lot easier to see at a glance where the ones with a specific name were, which is especially handy if I need to visit all of them to make some sort of change, or just see what's going on.
I think a convenient UI would be that if the train stop name toggle button was enabled, then the search box would be visible in the area under the toggle buttons, and if the train stop name toggle were disabled, then the search box wouldn't be visible.
Like this maybe:

Also I think it should honor the fuzzy text search game setting if possible.
Those are my preferences for the UI but other options could be:
- If you had to type then press a button to search, that also works. Search-as-you-type is consistent with the recipe title bar search boxes though, and is more convenient I think.
- Instead of being always visible when train stop names are on, it could just be collapsible into a magnifying glass button, like the recipe title bar searches. Or it could pop up when you right-click on the train stop name toggle button.