public class StreetViewPov extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
StreetViewPov.Property |
Constructor and Description |
---|
StreetViewPov()
Creates new StreetViewPov object.
|
StreetViewPov(Map map)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
double |
getHeading()
Returns value of heading property.
|
double |
getPitch()
Returns value of pitch property.
|
void |
setHeading(double heading)
Sets new value for heading property.
|
void |
setPitch(double pitch)
Sets new value for pitch property.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
public StreetViewPov()
@Deprecated public StreetViewPov(Map map)
map
- owner Map objectpublic double getHeading()
Contains the camera heading in degrees relative to true north. True north is 0°, east is 90°, south is 180°, west is 270°.
setHeading(double)
public void setHeading(double heading)
heading
- new property valuegetHeading()
public double getPitch()
Contains the camera pitch in degrees, relative to the street view vehicle. Ranges from 90° (directly upwards) to -90° (directly downwards).
setPitch(double)
public void setPitch(double pitch)
pitch
- new property valuegetPitch()