Open kylebarron opened 4 years ago
If zoom < minTripLayerZoom, say that you need to zoom in more to see trip schedules.
Otherwise, use onViewportLoad to tell if there's no data in the viewport. If no data, say something like "schedule data not available here"
onViewportLoad
As with https://github.com/kylebarron/all-transit/issues/17, I tried this, but the data input always had data. Maybe it included cached data?
Make reproducible example to make deck.gl issue
If zoom < minTripLayerZoom, say that you need to zoom in more to see trip schedules.
Otherwise, use
onViewportLoad
to tell if there's no data in the viewport. If no data, say something like "schedule data not available here"