Set either 2D map perspective for typical map view mode, or 2.5D map perspective for custom scenarios such as
moving the map.
Sample use case: You want to switch from 2D to 2.5D modes to support following the moving location in your app.
Use the code snippets below in your app to switch between perspectives.
Note, that switching between 2D and 3D mode only changes the perspective. The zoom level and map orientation are
set with the methods described in the "Map centering" example.
In order to change the map mode to 2-dimensional, you need to call the
To change it back to 3D simply apply the other option setting:
3D map perspective
2D map perspective