mtotov03
(Mtotov03)
#1
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.
Thanks.
maloleps
(Przemek Malolepszy)
#2
Which SDK version are you using?
mtotov03
(Mtotov03)
#3
com.tomtom.sdk.maps:map-display:0.12.0
maloleps
(Przemek Malolepszy)
#4
I see that MapFragment is a wrapper of MapView.
Have you tried with mapFragment.currentLocationButton.visibilityPolicy = VisibilityPolicy.Invisible
?
mtotov03
(Mtotov03)
#5
i just tried it. Great, its working.
Thanks a lot.