cartoframes.viz.basemaps module

class cartoframes.viz.basemaps.Basemaps

Bases: object

Supported CARTO basemaps. Read more about the styles in the CARTO Basemaps repository.

darkmatter

CARTO’s “Dark Matter” style basemap

Type:str
positron

CARTO’s “Positron” style basemap

Type:str
voyager

CARTO’s “Voyager” style basemap

Type:str

Example

Create an embedded map using CARTO’s Positron style with no data layers

from cartoframes.viz import Map, basemaps

Map(basemap=basemaps.positron)
darkmatter = 'DarkMatter'
positron = 'Positron'
voyager = 'Voyager'