☰Read-only archive⌕
Looking for help with Bokeh?

This is a read-only archive. Ask questions and join the conversation on GitHub.

Visit Community Support on GitHub →
Archived discussions · Captured October 28, 2026

Get current gmap zoom level and long/lat?

Community Support
Johannes
Johannes

Hello,

is it possible to get the current zoom level from a gmap object? I can do ‘my_gmap.map_options.zoom’ but this is the zoom level that was initially passed. When the user zooms using e.g. ‘wheel_zoom’ the zoom level change isn’t reflected in map_options.zoom. Same for long/lat, is there a way to access the current lat/long which the map is centered on?

Johannes

⌁   Link to post
Bryan
Bryan

These are not currently exposed anywhere. When gmap was originally added, Bokeh did not have a concept of read-only properties. Now that read-only properties exist, it would be feasible to expose this information using read-only properties. But no one has asked about it until now, so it has never been done. Making a GitHub issue would be the next appropriate step.

⌁   Link to post

End of archived discussion · Replies are disabled