@@ -35,22 +35,22 @@ def create_map(
3535 title: The title to be used for the map. Defaults to "Untitled Map"
3636 description: A description to display in the map legend
3737 public_access: The level of access to grant to the map.
38- Options are "private", "view_only", "view_and_comment",
39- or "view_comment_and_edit". Defaults to "view_only".
38+ Options are "private", "view_only", "view_and_comment",
39+ or "view_comment_and_edit". Defaults to "view_only".
4040 basemap: The basemap to use for the new map. Defaults to "default".
41- Valid values are "default", "light", "dark", "satellite",
42- a valid raster tile URL with {x}, {y}, and {z} parameters,
43- or a hex color string like #ff0000.
41+ Valid values are "default", "light", "dark", "satellite",
42+ a valid raster tile URL with {x}, {y}, and {z} parameters,
43+ or a hex color string like #ff0000.
4444 lat: If no data has been uploaded to the map, the initial latitude
4545 to center the map display on.
4646 lon: If no data has been uploaded to the map, the initial longitude
4747 to center the map display on.
4848 zoom: If no data has been uploaded to the map, the initial zoom level
49- for the map to display.
49+ for the map to display.
5050 layer_urls: An array of urls to use to create layers in the map.
51- Only tile URLs for raster layers are supported at the moment.
51+ Only tile URLs for raster layers are supported at the moment.
5252 workspace_id: The workspace to create the map in.
53- Defaults to the latest used workspace.
53+ Defaults to the latest used workspace.
5454 api_token: Optional API token
5555
5656 Returns:
@@ -215,8 +215,8 @@ def create_embed_token(
215215 Args:
216216 map_id: The ID of the map to create an embed token for
217217 user_email: Optionally assign the token to a user email address.
218- Providing an email will enable the viewer to export data
219- if the Map allows it.
218+ Providing an email will enable the viewer to export data
219+ if the Map allows it.
220220 api_token: Optional API token
221221
222222 Returns:
@@ -241,11 +241,11 @@ def add_source_layer(
241241
242242 Args:
243243 map_id: The ID of the map to add the layer to
244- source_layer_params: Parameters defining the source layer to add
245- Must include "from" key with one of these values:
246- - "dataset": requires "dataset_id"
247- - "sql": requires "source_id" and "query"
248- - "stac": requires "source_id" and "stac_asset_url"
244+ source_layer_params: Parameters defining the source layer to add.
245+ Must include "from" key with one of these values:
246+ - "dataset": requires "dataset_id"
247+ - "sql": requires "source_id" and "query"
248+ - "stac": requires "source_id" and "stac_asset_url"
249249 api_token: Optional API token
250250
251251 Returns:
@@ -273,9 +273,9 @@ def duplicate_map(
273273 map_id: The ID of the map to duplicate
274274 title: Optional title for the duplicated map
275275 project_id: The ID of the project to place the duplicated map in
276- (mutually exclusive with folder_id)
276+ (mutually exclusive with folder_id)
277277 folder_id: The ID of the folder to place the duplicated map in
278- (mutually exclusive with project_id)
278+ (mutually exclusive with project_id)
279279 api_token: Optional API token
280280
281281 Returns:
0 commit comments