StyleImport

fun StyleImport(importId: String, style: String, configs: ImportConfigs? = null)

Add a Style Import to the current style.

Parameters

importId

the id of the style import.

style

the style uri or style json of the style import.

configs

the optional ImportConfigs for the imported style.