public class StreetViewPanorama extends MapObject
Modifier and Type | Class and Description |
---|---|
protected static class |
StreetViewPanorama.Property |
Modifier and Type | Method and Description |
---|---|
StreetViewLink[] |
getLinks()
Returns the set of navigation links for the Street View panorama.
|
StreetViewLocation |
getLocation()
Returns the StreetViewLocation of the current panorama.
|
boolean |
getMotionTracking()
Returns the state of motion tracker.
|
java.lang.String |
getPano()
Returns the current panorama ID for the Street View panorama.
|
StreetViewPov |
getPhotographerPov()
Returns the heading and pitch of the photographer when this panorama was taken.
|
LatLng |
getPosition()
Returns the Position of the current panorama.
|
StreetViewPov |
getPov()
Returns the current point of view for the Street View panorama.
|
StreetViewStatus |
getStatus()
Returns the status of the panorama on completion of the setPosition() or setPano() request.
|
boolean |
getVisible()
Returns true if the panorama is visible.
|
double |
getZoom()
Returns the zoom level of the panorama.
|
void |
setLinks(StreetViewLink[] links)
Sets the set of navigation links for the Street View panorama.
|
void |
setMotionTracking(boolean flag)
Sets the state of motion tracker.
|
void |
setOptions(StreetViewPanoramaOptions options)
Sets a collection of key-value pairs.
|
void |
setPano(java.lang.String pano)
Sets the current panorama ID for the Street View panorama.
|
void |
setPosition(LatLng latLng)
Sets the current LatLng position for the Street View panorama.
|
void |
setPov(StreetViewPov pov)
Sets the point of view for the Street View panorama.
|
void |
setVisible(boolean flag)
Sets to true to make the panorama visible.
|
void |
setZoom(double zoom)
Sets the zoom level of the panorama.
|
addEventListener, attachObject, cacheProperties, cacheProperties, clone, createJSValue, dispose, fromJSValue, getJSObject, getMap, getProperties, invokeMethod, propertyChanged, removeEventListener, updateProperty
@Nullable public StreetViewLink[] getLinks()
@Nullable public StreetViewLocation getLocation()
@Nullable public LatLng getPosition()
public java.lang.String getPano()
@Nullable public StreetViewPov getPhotographerPov()
@Nullable public StreetViewPov getPov()
@Nullable public StreetViewStatus getStatus()
public boolean getVisible()
public boolean getMotionTracking()
public double getZoom()
public void setLinks(StreetViewLink[] links)
links
- list of linkspublic void setOptions(StreetViewPanoramaOptions options)
options
- instance of options objectpublic void setPosition(LatLng latLng)
latLng
- new positionpublic void setPov(StreetViewPov pov)
pov
- new point of viewpublic void setMotionTracking(boolean flag)
flag
- visibility valuepublic void setVisible(boolean flag)
flag
- visibility valuepublic void setZoom(double zoom)
zoom
- new zoompublic void setPano(java.lang.String pano)
pano
- new panarama id value