set_config_property: Set a configuration property for a Mapbox GL map

View source: R/style_helpers.R

set_config_propertyR Documentation

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)

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.

Value

The updated map object with the configuration property set.


mapgl documentation built on Nov. 1, 2024, 5:08 p.m.