getMapboxMap

open override fun getMapboxMap(): MapboxMap

Returns a MapboxMap object that can be used to interact with the map.

Note: keeping the reference to an invalid MapboxMap instance introduces significant native memory leak, see MapboxMap.isValid for more details.

Return

MapboxMap object to interact with the map.