getLayer

open fun getLayer(layerIdx: Int): MapLayer

Call this function to get a specific MapLayer based on its index.

Return

The MapLayer of interest or null