31 search basemaps
Uncomment the following line to install leafmap if needed.
In [1]:
Copied!
# !pip install leafmap
# !pip install leafmap
In [2]:
Copied!
import leafmap
import leafmap
Search xyz tiles from xyzservices.
In [3]:
Copied!
leafmap.search_xyz_services(keyword="esri")
leafmap.search_xyz_services(keyword="esri")
Out[3]:
['xyz.Esri.WorldStreetMap', 'xyz.Esri.WorldTopoMap', 'xyz.Esri.WorldImagery', 'xyz.Esri.WorldTerrain', 'xyz.Esri.WorldShadedRelief', 'xyz.Esri.WorldPhysical', 'xyz.Esri.OceanBasemap', 'xyz.Esri.NatGeoWorldMap', 'xyz.Esri.WorldGrayCanvas', 'xyz.Esri.ArcticImagery', 'xyz.Esri.ArcticOceanBase', 'xyz.Esri.ArcticOceanReference', 'xyz.Esri.AntarcticImagery', 'xyz.Esri.AntarcticBasemap']
Add an xyz tile to the map.
In [4]:
Copied!
m = leafmap.Map()
m.add_xyz_service("xyz.Esri.NatGeoWorldMap")
m
m = leafmap.Map()
m.add_xyz_service("xyz.Esri.NatGeoWorldMap")
m
Out[4]:
Search xyz tiles from Quick Map Services.
In [5]:
Copied!
leafmap.search_qms(keyword="google")
leafmap.search_qms(keyword="google")
Out[5]:
['qms.EOX::Maps - Sentinel-2 cloudless', 'qms.Geoland Basemap', 'qms.Geoland Basemap Gelände', 'qms.Geoland Basemap Grau', 'qms.Geoland Basemap High DPI', 'qms.Geoland Basemap Oberfläche', 'qms.Geoland Basemap Orthofoto', 'qms.Geoland Basemap Overlay', 'qms.GLAD FOREST LOSS 2000-2021', 'qms.GLAD FOREST LOSS 2018']
Add xyz tile to the map.
In [6]:
Copied!
m = leafmap.Map()
m.add_xyz_service("qms.Google Satellite Hybrid")
m
m = leafmap.Map()
m.add_xyz_service("qms.Google Satellite Hybrid")
m
Out[6]:
Search basemaps interactively without coding.