Basemaps
maplibre.basemaps.Carto
Bases: Enum
Carto basemap styles
Attributes:
-
DARK_MATTER
–dark-matter
-
POSITRON
–positron
-
VOYAGER
–voyager
-
POSITRON_NOLABELS
–positron-nolabels
-
DARK_MATTER_NOLABELS
–dark-matter-nolabels
-
VOYAGER_NOLABELS
–voyager-nolabels
Examples:
Source code in maplibre/basemaps.py
maplibre.basemaps.OpenFreeMap
Bases: Enum
OpenFreeMap basemap styles
Attributes:
-
POSITRON
–positron
-
LIBERTY
–liberty
-
BRIGHT
–bright
Examples:
Source code in maplibre/basemaps.py
maplibre.basemaps.MapTiler
Bases: Enum
MapTiler basemap styles
Examples:
>>> os.environ["MAPTILER_API_KEY"] = "your-api-key"
>>> m = Map(MapOptions(style=MapTiler.AQUARELLE))
Source code in maplibre/basemaps.py
maplibre.basemaps.BasemapStyle
Bases: BaseModel
Basemap style
Note
See maplibre-style-spec/root for more details.
Source code in maplibre/basemaps.py
maplibre.sky.Sky
Bases: MapLibreBaseModel
Sky configuration
Note
See maplibre-style-spec/sky for details.
Source code in maplibre/sky.py
maplibre.light.Light
Bases: MapLibreBaseModel
Light configuration
Note
See maplibre-style-spec/light for details.
Source code in maplibre/light.py
maplibre.terrain.Terrain
Bases: MapLibreBaseModel
Terrain configuration
Note
See maplibre-style-spec/terrain for details.