Hide

StreetViewPanoramaOrientation.Builder

public static final class StreetViewPanoramaOrientation.Builder extends Object
java.lang.Object
   ↳ com.google.android.gms.maps.model.StreetViewPanoramaOrientation.Builder

Builds Street View panorama orientations.

Fields

public float bearing

public float tilt

Public Constructors

public StreetViewPanoramaOrientation.Builder ()

Creates an empty builder.

public StreetViewPanoramaOrientation.Builder (StreetViewPanoramaOrientation previous)

Public Methods

public StreetViewPanoramaOrientation.Builder bearing (float bearing)

Sets the direction of the orientation, in degrees clockwise from north.

public StreetViewPanoramaOrientation.Builder tilt (float tilt)

Sets the angle, in degrees, of the orientation This value is restricted to being between -90 (directly down) and 90 (directly up).