Add a logo to the map
This example shows how to add a logo to the map.
Uncomment the following line to install leafmap if needed.
# %pip install "leafmap[maplibre]"
import leafmap.maplibregl as leafmap
m = leafmap.Map(center=[-100, 40], zoom=3, style="positron")
image = "https://i.imgur.com/LmTETPX.png"
m.add_image(image=image, position="bottom-right")
m
m = leafmap.Map(center=[-100, 40], zoom=3, style="positron")
content = '<img src="https://i.imgur.com/LmTETPX.png">'
m.add_html(content, bg_color="transparent", position="bottom-right")
m