Basemaps#

You can find on this page the default basemaps available in ipyleaflet, of course you can use another provider creating your own TileLayer layer.

These basemaps are coming from the xyzservices package.

from ipyleaflet import Map, basemaps

center = [38.128, 2.588]
zoom = 5

Map(basemap=basemaps.OpenStreetMap.Mapnik, center=center, zoom=zoom)
Map(basemap=basemaps.OpenStreetMap.France, center=center, zoom=zoom)
Map(basemap=basemaps.OpenStreetMap.HOT, center=center, zoom=zoom)
Map(basemap=basemaps.OpenTopoMap, center=center, zoom=zoom)
Map(basemap=basemaps.Gaode.Normal, center=center, zoom=zoom)
Map(basemap=basemaps.Gaode.Satellite, center=center, zoom=zoom)
Map(basemap=basemaps.Esri.WorldStreetMap, center=center, zoom=zoom)
Map(basemap=basemaps.Esri.DeLorme, center=center, zoom=zoom)
Map(basemap=basemaps.Esri.WorldTopoMap, center=center, zoom=zoom)
Map(basemap=basemaps.Esri.WorldImagery, center=center, zoom=zoom)
Map(basemap=basemaps.Esri.NatGeoWorldMap, center=center, zoom=zoom)
Map(basemap=basemaps.CartoDB.Positron, center=center, zoom=zoom)
Map(basemap=basemaps.CartoDB.DarkMatter, center=center, zoom=zoom)
Map(basemap=basemaps.NASAGIBS.ModisTerraTrueColorCR, center=center, zoom=zoom)
Map(basemap=basemaps.NASAGIBS.ModisTerraBands367CR, center=center, zoom=zoom)
Map(basemap=basemaps.NASAGIBS.ModisTerraBands721CR, center=center, zoom=zoom)
Map(basemap=basemaps.NASAGIBS.ModisAquaTrueColorCR, center=center, zoom=zoom)
Map(basemap=basemaps.NASAGIBS.ModisAquaBands721CR, center=center, zoom=zoom)
Map(basemap=basemaps.NASAGIBS.ViirsTrueColorCR, center=center, zoom=zoom)
Map(basemap=basemaps.NASAGIBS.ViirsEarthAtNight2012, center=center, zoom=zoom)
Map(basemap=basemaps.Strava.All, center=center, zoom=zoom)
Map(basemap=basemaps.Strava.Ride, center=center, zoom=zoom)
Map(basemap=basemaps.Strava.Run, center=center, zoom=zoom)
Map(basemap=basemaps.Strava.Water, center=center, zoom=zoom)
Map(basemap=basemaps.Strava.Winter, center=center, zoom=zoom)