eoda-dev / py-maplibregl

Python bindings for MapLibre GL JS
https://eoda-dev.github.io/py-maplibregl/
MIT License
45 stars 5 forks source link

Get pitch and bearing of the map programmatically #89

Closed giswqs closed 4 months ago

giswqs commented 4 months ago

For now, we can get the center and zoom level of the map programmatically. It would be nice to support getting pitch and bearing. Users often want to explore the 3D map interactively and find the optimal pitch and bearing to be used for creating a new map.

crazycapivara commented 4 months ago

When #92 is merged all variables regarding the view state will be available in Map.view_state. Following variables will be removed: