Comments (3)
Hey Paul ... in the short term, it might be best to remove the routes from the geocoder. There isn't a good way to exclude a layer in Pelias atm. It's on the Pelias roadmap, but not quite yet available: pelias/pelias#844
from otp-ui.
That said, we could / should add to otp-ui a prop to define the 'layers' param being sent down to geocoder (Pelias) requests. In terms of trimet.org, you'd set layers=-routes whenever you don't want any routes to show up in the results. But until Pelias is ready to accept the exclusive layers values, we'd have to filter sources as a param on the geocoder service, else we'd have problems, ala: https://ws-st.trimet.org/pelias/v1/autocomplete?text=20%20burnside%20stark&sources=-routes
from otp-ui.
Hey thanks for the information Frank. For a short term fix, until pelias has the feature available, would we be able to still pass in the layers we want so that the geocoder can filter after the pelias service comes back with results?
from otp-ui.
Related Issues (20)
- ItineraryBody layout issues
- Park/Ride overlay: Popup is not shown on Safari
- Modernize OTP UI components
- Remove `endpoints-overlay` `endpoint.tsx` bloat
- Refactor all GeoJSON vector tile layers into one GeoJSON layer
- Route Viewer fails to pan to flex-only route
- Park and Ride Overlay Type Issues
- webpack build failure - otp-ui should be SSR compliant (i.e., rid the code of 'window' and 'document') HOT 1
- Bring back old transitive customization params
- Mobile view / UX: Clicking Mapillary does not have a visible effect
- Render TNC legs as arcs
- Improve `base-map` layer selector tabbing order
- TripOptions dropdowns require more clicks to open in iOS environments. HOT 1
- WALK + BIKE: add distance to turn instruction
- Context popup should not appear while pinching map for zoom.
- Display "No fare info" when cents = -1.
- Location-Field: SR-only text is shown when other error occurs. HOT 2
- OTP2 Tile Overlay story not working HOT 1
- Missing itinerary route numbers and headsigns
- Location Field loses typed text when focus is taken away
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from otp-ui.