|
|||||||||
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.StreetviewPanoramaOptions
public class StreetviewPanoramaOptions
A class representing the options passed to the
StreetviewPanoramaWidget
constructor.
Constructor Summary | |
---|---|
protected |
StreetviewPanoramaOptions()
Protected constructor required for JS overlay. |
Method Summary | |
---|---|
static StreetviewPanoramaOptions |
newInstance()
Returns a new instance of StreetviewPanoramaOptions class. |
StreetviewPanoramaOptions |
setEnableFullScreen(boolean enableFullScreen)
By default, the panorama viewer features a full-screen control in the upper right corner. |
StreetviewPanoramaOptions |
setFeatures(StreetviewFeatures features)
By default, the panorama viewer will enable all major viewing modes. |
StreetviewPanoramaOptions |
setLatLng(LatLng latLng)
Sets the LatLng at which to open the flash viewer. |
StreetviewPanoramaOptions |
setPov(Pov pov)
The camera orientation with which to open the flash viewer. |
StreetviewPanoramaOptions |
setUserPhotosOptions(StreetviewUserPhotosOptions userPhotosOptions)
Specifies options for displayed user photos. |
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 StreetviewPanoramaOptions()
Method Detail |
---|
public static StreetviewPanoramaOptions newInstance()
StreetviewPanoramaOptions
class.
public final StreetviewPanoramaOptions setEnableFullScreen(boolean enableFullScreen)
false
.
enableFullScreen
- if false
full-screen control will be
disabled, it will be enabled otherwise.
StreetviewPanoramaOptions
object, for convenience when
using the Builder pattern.public final StreetviewPanoramaOptions setFeatures(StreetviewFeatures features)
features
- the StreetviewFeatures
instance to specify viewing
modes to enable.
StreetviewPanoramaOptions
object, for convenience when
using the Builder pattern.public final StreetviewPanoramaOptions setLatLng(LatLng latLng)
LatLng
at which to open the flash viewer.
latLng
- the LatLng
at which to open the flash viewer.
StreetviewPanoramaOptions
object, for convenience when
using the Builder pattern.public final StreetviewPanoramaOptions setPov(Pov pov)
pov
- the camera orientation with which to open the flash viewer.
StreetviewPanoramaOptions
object, for convenience when
using the Builder pattern.public final StreetviewPanoramaOptions setUserPhotosOptions(StreetviewUserPhotosOptions userPhotosOptions)
setFeatures(StreetviewFeatures)
method.
userPhotosOptions
- the StreetviewUserPhotosOptions
instance
to specify user photos options.
StreetviewPanoramaOptions
object, for convenience when
using the Builder pattern.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |