mapbox-maps-android
mapbox-maps-android
/
com.mapbox.maps.extension.style.sources
/
getSourceAs
get
Source
As
inline
fun
<
T
:
Source
>
MapboxStyleManager
.
getSourceAs
(
sourceId
:
String
)
:
T
?
Tries to cast the Source to T.
Return
T if Source is T and null otherwise
Parameters
source
Id
the layer id