StyleDescriptor

fun StyleDescriptor(uri: Uri, darkUri: Uri? = null, layerMappingUri: Uri? = null, darkLayerMappingUri: Uri? = null)

Allows creating StyleDescriptor using android Uri.

Parameters

uri

RFC 2396-compliant URI to the main map style file.

darkUri

RFC 2396-compliant URI to the dark version of the map style file.

layerMappingUri

RFC 2396-compliant URI to the layer mapping file used for the main style. If not supplied, the default mapping file is used.

darkLayerMappingUri

RFC 2396-compliant URI to the layer mapping file used for the dark style variant. If not supplied, the default mapping file will be used.


fun StyleDescriptor(uri: URI, darkUri: URI? = null, layerMappingUri: URI? = null, darkLayerMappingUri: URI? = null)

Parameters

uri

RFC 2396-compliant URI to the main map style file.

darkUri

RFC 2396-compliant URI to the dark version of the map style file.

layerMappingUri

RFC 2396-compliant URI to the layer mapping file used for the main style. If not supplied, the default mapping file is used.

darkLayerMappingUri

RFC 2396-compliant URI to the layer mapping file used for the dark style variant. If not supplied, the default mapping file will be used.