cartoframes.maps module¶
Utilities for creating map templates for CARTO’s Named Maps API
-
cartoframes.maps.
get_map_name
(layers, has_zoom)¶ Creates a map named based on supplied parameters
-
cartoframes.maps.
get_map_template
(layers, has_zoom)¶ Creates a map template based on custom parameters supplied
-
cartoframes.maps.
has_time_layer
(layers)¶ Returns True if there is a time/torque layer in layers. Returns `False otherwise
-
cartoframes.maps.
non_basemap_layers
(layers)¶ Retrieve all map layers which are not basemaps
-
cartoframes.maps.
top_basemap_layer_url
(layers)¶ Returns the URL of the top map layer if it exists