getStyleLayerPropertyDefaultValue

open fun getStyleLayerPropertyDefaultValue(@NonNull layerType: String, @NonNull property: String): StylePropertyValue

Gets the default value of style layer property

Return

The default `style property value` for a given `layerType` and `property` name.

Parameters

layerType

A style [layer type](https://docs.mapbox.com/mapbox-gl-js/style-spec/#layers).

property

The style layer property name.