Reputation: 9804
I'm searching the way to adjust the opacity of the mapbox map. In the following example, layers[0]
refers to the background layer.
mapboxMap.style!!.layers[0]?.setProperties(rasterOpacity(0.3f))
Applying this code has no effect. What is wrong ?
Upvotes: 4
Views: 451