Skip to content

Get Map Style Descriptor

locationservice_get_map_style_descriptor R Documentation

Retrieves the map style descriptor from a map resource

Description

Retrieves the map style descriptor from a map resource.

The style descriptor contains specifications on how features render on a map. For example, what data to display, what order to display the data in, and the style for the data. Style descriptors follow the Mapbox Style Specification.

Usage

locationservice_get_map_style_descriptor(MapName, Key)

Arguments

MapName

[required] The map resource to retrieve the style descriptor from.

Key

The optional API key to authorize the request.

Value

A list with the following syntax:

list(
  Blob = raw,
  ContentType = "string",
  CacheControl = "string"
)

Request syntax

svc$get_map_style_descriptor(
  MapName = "string",
  Key = "string"
)