View source: R/style_helpers.R
set_config_property | R Documentation |
Set a configuration property for a Mapbox GL map
set_config_property(map, import_id, config_name, value)
map |
A map object created by the |
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. |
The updated map object with the configuration property set.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.