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

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

public class StreetviewUserPhotosOptions
extends com.google.gwt.core.client.JavaScriptObject

This class represents the options available in the userPhotos viewing mode.

See Also:
"http://code.google.com/apis/maps/documentation/reference.html#GStreetviewUserPhotosOptions"

Constructor Summary
protected StreetviewUserPhotosOptions()
          Protected constructor required for JS overlay.
 
Method Summary
static StreetviewUserPhotosOptions newInstance()
          Returns a new instance of StreetviewUserPhotosOptions class.
 StreetviewUserPhotosOptions setPhotoRepositories(com.google.gwt.core.client.JsArrayString photoRepositories)
          Sets an array of strings specifying photo repositories to enable.
 StreetviewUserPhotosOptions setPhotoRepositories(java.lang.String... photoRepositories)
          Specifies photo repositories to enable.
 
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

StreetviewUserPhotosOptions

protected StreetviewUserPhotosOptions()
Protected constructor required for JS overlay.

Method Detail

newInstance

public static StreetviewUserPhotosOptions newInstance()
Returns a new instance of StreetviewUserPhotosOptions class.


setPhotoRepositories

public final StreetviewUserPhotosOptions setPhotoRepositories(java.lang.String... photoRepositories)
Specifies photo repositories to enable. By default all repositories are enabled. Each string specifies one photo repository. Valid string values are: 'panoramio', 'picasa' and 'flickr'.

Parameters:
photoRepositories - strings specifying photo repositories to enable.
Returns:
this StreetviewUserPhotosOptions object, for convenience when using the Builder pattern.

setPhotoRepositories

public final StreetviewUserPhotosOptions setPhotoRepositories(com.google.gwt.core.client.JsArrayString photoRepositories)
Sets an array of strings specifying photo repositories to enable. By default all repositories are enabled. Valid string values are: 'panoramio', 'picasa' and 'flickr'.

Parameters:
photoRepositories - an array of strings specifying photo repositories to enable.
Returns:
this StreetviewUserPhotosOptions object, for convenience when using the Builder pattern.