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(Key, MapName)

Arguments

Key

The optional API key to authorize the request.

MapName

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

Value

A list with the following syntax:

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

Request syntax

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