mapbox-maps-android
mapbox-maps-android
/
com.mapbox.maps.extension.style.layers
/
getLayerAs
get
Layer
As
inline
fun
<
T
:
Layer
>
MapboxStyleManager
.
getLayerAs
(
layerId
:
String
)
:
T
?
Tries to cast the Layer to T.
Return
T if layer is T, otherwise null
Parameters
layer
Id
the layer id