Follow us on GitHub

com.google.gwt.maps.client.streetview
Class StreetViewPanoramaOptions

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.streetview.StreetViewPanoramaOptions

public class StreetViewPanoramaOptions
extends JavaScriptObject

Options defining the properties of a StreetViewPanorama object.

See StreetViewPanoramaOptions API Doc


Constructor Summary
protected StreetViewPanoramaOptions()
          Options defining the properties of a StreetViewPanorama object.
 
Method Summary
 boolean getAddressControl()
          gets The enabled/disabled state of the address control.
 StreetViewAddressControlOptions getAddressControlOptions()
          gets The display options for the address control.
 boolean getDisableDoubleClickZoom()
          gets Enables/disables zoom on double click.
 boolean getEnableCloseButton()
          gets If true, the close button is displayed.
 boolean getLinksControl()
          gets The enabled/disabled state of the links control.
 boolean getPanControl()
          gets The enabled/disabled state of the pan control.
 PanControlOptions getPanControlOptions()
          gets The display options for the pan control.
 String getPano()
          gets The panorama ID, which should be set when specifying a custom panorama.
 StreetViewPanoramaProvider getPanoProvider()
          gets Custom panorama provider, which takes a string pano id and returns an object defining the panorama given that id.
 LatLng getPosition()
          gets The LatLng position of the Street View panorama.
 boolean getsScrollWheel()
          gets If false, disables scrollwheel zooming in Street View.
 StreetViewPov getStreetViewPov()
          gets The camera orientation, specified as heading, pitch, and zoom, for the panorama.
 boolean getVisible()
          gets If true, the Street View panorama is visible on load.
 boolean getZoomControl()
          gets The enabled/disabled state of the zoom control.
 ZoomControlOptions getZoomControlOptions()
          gets The display options for the zoom control.
static StreetViewPanoramaOptions newInstance()
          creates Options defining the properties of a StreetViewPanorama object.
 void setAddressControl(boolean addressControl)
          sets The enabled/disabled state of the address control.
 void setAddressControlOptions(StreetViewAddressControlOptions addressControlOptions)
          sets The display options for the address control.
 void setDisableDoubleClickZoom(boolean disableDoubleClickZoom)
          sets Enables/disables zoom on double click.
 void setEnableCloseButton(boolean enableCloseButton)
          sets If true, the close button is displayed.
 void setLinksControl(boolean linksControl)
          sets The enabled/disabled state of the links control.
 void setPanControl(boolean panControl)
          sets The enabled/disabled state of the pan control.
 void setPanControlOptions(PanControlOptions panControlOptions)
          sets The display options for the pan control.
 void setPano(String pano)
          sets The panorama ID, which should be set when specifying a custom panorama.
 void setPanoProvider(StreetViewPanoramaProvider provider)
          sets Custom panorama provider, which takes a string pano id and returns an object defining the panorama given that id.
 void setPosition(LatLng position)
          sets The LatLng position of the Street View panorama.
 void setScrollWheel(boolean scrollwheel)
          sets If false, disables scrollwheel zooming in Street View.
 void setStreeViewPov(StreetViewPov pov)
          The camera orientation, specified as heading, pitch, and zoom, for the panorama.
 void setVisibile(boolean visible)
          sets If true, the Street View panorama is visible on load.
 void setZoomControl(boolean zoomControl)
          sets The enabled/disabled state of the zoom control.
 void setZoomControlOptions(ZoomControlOptions zoomControlOptions)
          sets The display options for the zoom control.
 
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

StreetViewPanoramaOptions

protected StreetViewPanoramaOptions()
Options defining the properties of a StreetViewPanorama object. use newInstance();

Method Detail

newInstance

public static final StreetViewPanoramaOptions newInstance()
creates Options defining the properties of a StreetViewPanorama object.

Returns:
StreetViewPanoramaOptions

setAddressControl

public final void setAddressControl(boolean addressControl)
sets The enabled/disabled state of the address control.

Parameters:
addressControl -

getAddressControl

public final boolean getAddressControl()
gets The enabled/disabled state of the address control.


setAddressControlOptions

public final void setAddressControlOptions(StreetViewAddressControlOptions addressControlOptions)
sets The display options for the address control.

Parameters:
addressControlOptions - StreetViewAddressControlOptions

getAddressControlOptions

public final StreetViewAddressControlOptions getAddressControlOptions()
gets The display options for the address control.

Returns:
StreetViewAddressControlOptions

setDisableDoubleClickZoom

public final void setDisableDoubleClickZoom(boolean disableDoubleClickZoom)
sets Enables/disables zoom on double click. Enabled by default.

Parameters:
disableDoubleClickZoom -

getDisableDoubleClickZoom

public final boolean getDisableDoubleClickZoom()
gets Enables/disables zoom on double click. Enabled by default.


setEnableCloseButton

public final void setEnableCloseButton(boolean enableCloseButton)
sets If true, the close button is displayed. Disabled by default.

Parameters:
enableCloseButton -

getEnableCloseButton

public final boolean getEnableCloseButton()
gets If true, the close button is displayed. Disabled by default.


setLinksControl

public final void setLinksControl(boolean linksControl)
sets The enabled/disabled state of the links control.

Parameters:
linksControl -

getLinksControl

public final boolean getLinksControl()
gets The enabled/disabled state of the links control.


setPanControl

public final void setPanControl(boolean panControl)
sets The enabled/disabled state of the pan control.

Parameters:
panControl -

getPanControl

public final boolean getPanControl()
gets The enabled/disabled state of the pan control.


setPanControlOptions

public final void setPanControlOptions(PanControlOptions panControlOptions)
sets The display options for the pan control.

Parameters:
panControlOptions - PanControlOptions

getPanControlOptions

public final PanControlOptions getPanControlOptions()
gets The display options for the pan control.

Returns:
PanControlOptions

setPano

public final void setPano(String pano)
sets The panorama ID, which should be set when specifying a custom panorama.

Parameters:
pano -

getPano

public final String getPano()
gets The panorama ID, which should be set when specifying a custom panorama.


setPanoProvider

public final void setPanoProvider(StreetViewPanoramaProvider provider)
sets Custom panorama provider, which takes a string pano id and returns an object defining the panorama given that id. This function must be defined to specify custom panorama imagery.

Parameters:
provider -

getPanoProvider

public final StreetViewPanoramaProvider getPanoProvider()
gets Custom panorama provider, which takes a string pano id and returns an object defining the panorama given that id. This function must be defined to specify custom panorama imagery.


setPosition

public final void setPosition(LatLng position)
sets The LatLng position of the Street View panorama.

Parameters:
position - LatLng

getPosition

public final LatLng getPosition()
gets The LatLng position of the Street View panorama.

Returns:
LatLng

setStreeViewPov

public final void setStreeViewPov(StreetViewPov pov)
The camera orientation, specified as heading, pitch, and zoom, for the panorama.

Parameters:
pov - StreetViewPov

getStreetViewPov

public final StreetViewPov getStreetViewPov()
gets The camera orientation, specified as heading, pitch, and zoom, for the panorama.


setScrollWheel

public final void setScrollWheel(boolean scrollwheel)
sets If false, disables scrollwheel zooming in Street View. The scrollwheel is enabled by default.

Parameters:
scrollwheel -

getsScrollWheel

public final boolean getsScrollWheel()
gets If false, disables scrollwheel zooming in Street View. The scrollwheel is enabled by default.


setVisibile

public final void setVisibile(boolean visible)
sets If true, the Street View panorama is visible on load.

Parameters:
visible -

getVisible

public final boolean getVisible()
gets If true, the Street View panorama is visible on load.


setZoomControl

public final void setZoomControl(boolean zoomControl)
sets The enabled/disabled state of the zoom control.

Parameters:
zoomControl -

getZoomControl

public final boolean getZoomControl()
gets The enabled/disabled state of the zoom control.


setZoomControlOptions

public final void setZoomControlOptions(ZoomControlOptions zoomControlOptions)
sets The display options for the zoom control.

Parameters:
zoomControlOptions -

getZoomControlOptions

public final ZoomControlOptions getZoomControlOptions()
gets The display options for the zoom control.



Follow us on GitHub

Copyright © 2011-2012 Gone Vertical LLC. All Rights Reserved.