setMyLocationEnabled

@RequiresPermission(anyOf = ["android.permission.ACCESS_COARSE_LOCATION", "android.permission.ACCESS_FINE_LOCATION"])
abstract fun setMyLocationEnabled(enable: Boolean)

Enables or disables the my location layer.

Parameters

enable

true enables the my location layer, false disables the my location layer.