In the web version of Google Maps, you can either search for a route and display the resulting routes, or you can search for locations. When you are searching for routes, the normal search box for locations disappears, and when you switch back to searching for locations, the discovered routes disappear.