☰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

Gmap.image_url glyphs cannot be selected?

Community Support
Johannes
Johannes

Hello,

we plotted some circles via gmap.circle and had some logic based on whether a circle has been clicked / selected. We then introduced our own custom icons and plotted them via gmap.image_url replacing gmap.circle but it seems like the click / selection doesn’t work on these. Is this expected or should it work? If it should be working I can provide a MWE.

Thanks,
Johannes

⌁   Link to post
_jm
_jm

@Johannes

Certain things like hover tools do not work for image_url objects of a plot, and as the GMap version you are using is a subclass of Plot, I suspect similar limitations exist with it and other hit-test behaviors.

In the past when I needed a feature that was not available via ImageURL, I plotted co-located images with overlaid elementary glyphs like a circle. Then set the alpha attributes of the elementary glyph to 0.0 so that they are transparent to the user but allow interactive behaviors to seem associated with the images.

⌁   Link to post

End of archived discussion · Replies are disabled