perspective icon indicating copy to clipboard operation
perspective copied to clipboard

Citibike demo seems broken

Open naltmann opened this issue 1 year ago • 1 comments

Bug Report

Steps to Reproduce:

  1. 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

naltmann avatar Jul 12 '24 20:07 naltmann

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.

texodus avatar Jul 18 '24 14:07 texodus

Fixed in #2762

texodus avatar Sep 23 '24 04:09 texodus