-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Labels
bugSomething isn't workingSomething isn't working
Description
After updating to 0.13, map.set_view_state() calls no longer update the bearing or pitch. I looked for the breaking commit and found that it was 2ac3d52
Environment
- OS: Windows 11
- Browser: Edge
- Lonboard Version: 0.13.0
Steps to reproduce the bug
from lonboard import viz
from lonboard.basemap import MaplibreBasemap
m = viz(data=[])
m.set_view_state(longitude=-80, latitude=50, zoom=2, pitch=45, bearing=90)
mThis should produce a map that is 1) at significant pitch and 2) rotated 90 degrees. Instead, it produces
Additionally, changing the pitch/bearing manually and then calling m.view_state does not show the changes to the map.
I have tested this using all MaplibreBasemap modes (except it is difficult to manually change the pitch/bearing using reverse-controlled without getting a context menu lol).
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working