Android - Map View Controller
I am first time implementing Google Map in Android and troubling to show "View Controller" in Android.
Let me clear about my problem: I want to display the "View Controller" which shows different view button, such as Satellite, street View, Hybrid,开发者_运维技巧 etc.
So how do i show the "View controller" in Google map with Android.
You can set the following options to your MapView to define which mode to display.
mapView.setSatellite(true);
mapView.setStreetView(true);
But there are no buttons by default as part of the MapView that you can display to the user. This you could implement with embedding the MapView and the buttons into a FrameLayout
, so that the buttons are floating on top of the map.
精彩评论