Citibike demo seems broken
Bug Report
Steps to Reproduce:
- Open https://perspective.finos.org/blocks/citibike/index.html in browser
Expected Result:
Map (I assume) displayed in left pane
Actual Result:
Left pane is empty
Environment:
Chrome 126 or Firefox on Windows
Thanks for the report. The maps is just zoomed to the wrong spot, try zooming out and refocusing where you see data appear.
The perspective-viewer-openlayers plugin sets its zoom level from the initial state, but does not re-zooom when data updates. When this demo was written, the citibike feed ticked the entire dataset as its first tick, and the demo docused on NYC as a result. Now, it appears this feed has changed and the first tick is un-parseable, resulting in the zoom level being set elsewhere.
This is IMO a legit issue in our UX. I would like to address this by adding an explicit zoom reset button to this plugin, allowing you to correct the zoom level when the data shifts, or switch to an "auto-zoom" mode which re-runs the initialization logic on every tick.
Apologies, but for now I'm locking this issue - it is attracting ChatGPT responses and I am tired of deleting them.
Fixed in #2762