Hide re-center button

Documentation saying, to hide recenter button i need:
mapView.currentLocationButton.visibilityPolicy = VisibilityPolicy.Invisible

But in my code i have TomTomMap class.
How can i get mapView from TomTomMap, or some other way how i can hide re-center button.

Which SDK version are you using?


I see that MapFragment is a wrapper of MapView.
Have you tried with mapFragment.currentLocationButton.visibilityPolicy = VisibilityPolicy.Invisible ?

i just tried it. Great, its working.
Thanks a lot.