Map Overlay with Tiles#
A map overlay showing earthquake locations on top of a tile map. This example uses tiles=True
to render geographic context underneath the data.
import hvplot.pandas # noqa
df = hvplot.sampledata.earthquakes("pandas")
df.hvplot.points(
x='lon',
y='lat',
tiles=True,
tiles_opts={'alpha': 0.3},
alpha=0.6,
color='mag',
cmap='viridis_r',
title='Earthquake Map Overlay (Bokeh)',
xlabel='Longitude',
ylabel='Latitude',
)
Note
Map overlays using tiles=True
are only supported in the Bokeh backend. The Matplotlib backend does not support rendering web map tiles.
See also
This web page was generated from a Jupyter notebook and not all
interactivity will work on this website.