Is there a way to limit tile sources to a subset bounding box (but the xlim/ylim is global extent)?
import geoviews as gv
gv.extension("bokeh")
gv.tile_sources.CartoLight().opts(global_extent=True).redim.range(Longitude=(-50, 50))
Is there a way to limit tile sources to a subset bounding box (but the xlim/ylim is global extent)?
import geoviews as gv
gv.extension("bokeh")
gv.tile_sources.CartoLight().opts(global_extent=True).redim.range(Longitude=(-50, 50))
Are you trying to set the initial map extent while still allowing the ability to pan/zoom outside of that initial extent?
import geoviews as gv
gv.extension("bokeh")
gv.tile_sources.CartoLight().opts(
width=700,
height=350,
xlim=(12949296, 12957908),
ylim=(4851499, 4856420)
)
I can’t make a .gif but this is the same plot zoomed out.
Not quite, but thanks for replying!
I am trying to prevent it from loading stuff outside the initiated bounds to save bandwidth and prioritize what to load so outside the bounds, it should be transparent/white.
Oh, so you don’t want to download or display tiles
outside of some range. Got it.
Aha yeah that’s a succinct way of describing what I want!