Documentation‎ > ‎

Configuring Street View Position

By default, Street View is displayed to the right of the map. When you enable the Street View on the map it will look as is shown below:
 

This layout can be simply changed using the MapViewOptions class. In order to change its position, the map should be initialized in the following way:

MapViewOptions options = new MapViewOptions();
options.streetViewLayout().setPosition(StreetViewLayout.Position.BOTTOM);
MapView view = new MapView(options);
In this case, the window will look as follows:


It is also possible to change the size (in percentage to the total window height) of the Street View. In this case, it should be initialized in the following way:
MapViewOptions options = new MapViewOptions();
options.streetViewLayout().setPosition(StreetViewLayout.Position.BOTTOM);
options.streetViewLayout().setSize(70);
MapView view = new MapView(options);