New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to wheel zoom on a world map #389
Comments
I think this is a twofold bug, geoviews sets the maximum map extent to be the extent of the coordinate system. The tile source adjusts that and then bokeh does not allow any zooming because you've gone past the maximum extent. We should probably disable the maximum extent setting in geoviews until bokeh allows zooming in when you've gone beyond it. |
Thank! Is there a workaround for now? |
I assume you can explicitly set an extent that is the minimum of the coordinate system and the tile source's extents. |
Thanks! Yes OK, the zoom in and out is actually working once one zoomed in with box zoom. But then still, the zoom out is bloked when one of the edges touches the global map borders, making it not super intuitive. But that's not a big deal, I'll just disable it for now and what for a fix upstream. Thanks for all your help! |
I'll probably just push a new release today. |
Software version info
bokeh 1.4.0
geoviews 1.6.5
holoviews 1.12.6
datashader 0.8.0
Description of expected behavior and the observed behavior
Creating a map with the mwe below leads to a plot that cannot be zoomed with the wheel
Complete, minimal, self-contained example code that reproduces the issue
I believe this must be a relatively new bug, as I think this did not affect us earlier. (the app where it doesn't work is our glacier explorer app
The text was updated successfully, but these errors were encountered: