Get current gmap zoom level and long/lat?

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

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.