Skip to content

31 search basemaps

image image image

Uncomment the following line to install leafmap if needed.

1
# !pip install leafmap
1
import leafmap

Search xyz tiles from xyzservices.

1
leafmap.search_xyz_services(keyword="esri")

Add an xyz tile to the map.

1
2
3
m = leafmap.Map()
m.add_xyz_service("xyz.Esri.NatGeoWorldMap")
m

Search xyz tiles from Quick Map Services.

1
leafmap.search_qms(keyword="google")

Add xyz tile to the map.

1
2
3
m = leafmap.Map()
m.add_xyz_service("qms.Google Satellite Hybrid")
m

Search basemaps interactively without coding.