Mapbox Maps Android
/
com.mapbox.maps.extension.style.sources
/
getSourceAs
get
Source
As
Tries to cast the Source to T, throws ClassCastException if it's another type.
Return
T
Parameters
sourceId
the layer id
fun <
T
:
Source
>
StyleManagerInterface
.
getSourceAs
(sourceId:
String
):
T
Content copied to clipboard