View source: R/style_helpers.R
maptiler_style | R Documentation |
Get MapTiler Style URL
maptiler_style(style_name, variant = NULL, api_key = NULL)
style_name |
The name of the style (e.g., "basic", "streets", "toner", etc.). |
variant |
The color variant of the style. Options are "dark", "light", or "pastel". Default is NULL (standard variant). Not all styles support all variants. |
api_key |
Your MapTiler API key (required) |
The style URL corresponding to the given style name and variant.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.