Learn R Programming

mapgl (version 0.1.3)

set_config_property: Set a configuration property for a Mapbox GL map

Description

Set a configuration property for a Mapbox GL map

Usage

set_config_property(map, import_id, config_name, value)

Value

The updated map object with the configuration property set.

Arguments

map

A map object created by the mapboxgl function or a proxy object defined with mapboxgl_proxy().

import_id

The name of the imported style to set the config for (e.g., 'basemap').

config_name

The name of the configuration property from the style.

value

The value to set for the configuration property.