Hi,
I am trying to build a map from scratch using a map image.
I used the fig.add_layout_image function to add the base map, but the image I used is too big and the function plots all its pixels in one shot, which makes the plot lag a lot.
What I am aiming for is plotting the image with a different resolution based on how much the user zooms in the map.
Is there a way to do this?
My first thought was to have a callback function that returns the axes ranges after zooming and updates the plot with more pixels of the image. Although I havenβt found a method to return the axes ranges yet.
Any help would be appreciated a lot.