kylebarron / all-transit

Interactive visualization of all transit in the Transitland database
https://all-transit.com
MIT License
26 stars 2 forks source link

Add notice about schedule data not available in area #14

Open kylebarron opened 4 years ago

kylebarron commented 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"

kylebarron commented 4 years ago

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?

kylebarron commented 4 years ago

Make reproducible example to make deck.gl issue