|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.core.client.JavaScriptObject
com.google.gwt.maps.client.streetview.Pov
public class Pov
A class representing the structure of a camera point of view used by street view.
| Constructor Summary | |
|---|---|
protected |
Pov()
Protected constructor required for JS overlay. |
| Method Summary | |
|---|---|
double |
getPitch()
Returns the camera pitch in degrees, relative to the street view vehicle. |
double |
getYaw()
Returns the camera yaw in degrees relative to true north. |
double |
getZoom()
Returns the zoom level. |
static Pov |
newInstance()
Returns a new instance of Pov class. |
Pov |
setPitch(double pitch)
Sets the camera pitch in degrees, relative to the street view vehicle. |
Pov |
setYaw(double yaw)
Sets the camera yaw in degrees relative to true north. |
Pov |
setZoom(double zoom)
Sets the zoom level. |
| Methods inherited from class com.google.gwt.core.client.JavaScriptObject |
|---|
cast, createArray, createFunction, createObject, equals, hashCode, toSource, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
protected Pov()
| Method Detail |
|---|
public static Pov newInstance()
Pov class.
By default all values are equal to 0.
public final Pov setYaw(double yaw)
yaw - the camera yaw in degrees relative to true north.
Pov object, for convenience when using the Builder
pattern.public final Pov setPitch(double pitch)
pitch - the camera pitch in degrees, relative to the street view
vehicle.
Pov object, for convenience when using the Builder
pattern.public final Pov setZoom(double zoom)
zoom - the zoom level.
Pov object, for convenience when using the Builder
pattern.public final double getYaw()
public final double getPitch()
public final double getZoom()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||