MapTilerSDK
setStyle
Sets the current style by reference style and optional variant. Changing the style resets sources and layers.
Parameters
reference
Reference style.
variant
Optional style variant.