How to show tilt map in Android?

Hi, I am developing an android application with google maps.

Display maps in android I followed the documentation on Android. Successfully received a map in my application. But I need to show the map in Tilt View . I did not find any example of the map using the " Tilt View ". Please suggest how to get a tilt view in Android.

I added an image of the tilt view map. left side map - normal view. The right side map is a tilt view. enter image description here

+7
source share
3 answers

https://developers.google.com/maps/documentation/android/views?hl=en

CameraPosition cameraPosition = new CameraPosition.Builder(). target(YourLocationPoint). tilt(60). zoom(15). bearing(0). build(); myMap.animateCamera(CameraUpdateFactory.newCameraPosition(cameraPosition)); 
+6
source

This is not yet available in the Google Maps API.

The best thing you can do is use the intention to run the Google Maps app yourself, but I don’t know if you can ask it to capsize.

0
source

You do not need to write any code, just write one line in your xml part

 map:cameraTilt="60" 

adjust the value as desired

0
source

All Articles