lineMetrics

Whether to calculate line distance metrics. This is required for line layers that specify line-gradient values.

fun lineMetrics(value: Boolean): GeoJsonSource.Builder
fun lineMetrics(value: Expression): GeoJsonSource.Builder