maptiler_style: Get MapTiler Style URL

View source: R/style_helpers.R

maptiler_styleR Documentation

Get MapTiler Style URL

Description

Get MapTiler Style URL

Usage

maptiler_style(style_name, variant = NULL, api_key = NULL)

Arguments

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)

Value

The style URL corresponding to the given style name and variant.


mapgl documentation built on June 16, 2025, 5:09 p.m.