lineDepthOcclusionFactor

fun lineDepthOcclusionFactor(@FloatRange(from = 0.0, to = 1.0) lineDepthOcclusionFactor: Double): MapboxRouteLineOptions.Builder

Decrease line layer opacity based on occlusion from 3D objects. Value 0 disables occlusion, value 1 means fully occluded.

Return

the builder

Parameters

lineDepthOcclusionFactor

occlusion factor, the value should be from 0.0 to 1.0; 0.0 by default