get Source As
inline fun <T : Source> StyleManagerInterface.getSourceAs(sourceId: String): T?
Content copied to clipboard
Tries to cast the Source to T.
Return
T if Source is T and null otherwise
Parameters
source Id
the layer id