setMap

open fun setMap(map: GoogleMap)

Renders the layer on the given map. The layer on the current map is removed and added to the given map.

Parameters

map

to render the layer on, if null the layer is cleared from the current map