Follow us on GitHub

com.google.gwt.maps.client.panoramiolib
Class PanoramioLayerOptions

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.panoramiolib.PanoramioLayerOptions

public class PanoramioLayerOptions
extends JavaScriptObject

This object defines the properties that can be set on a PanoramioLayer object.

See PanoramioLayerOptions API Doc


Constructor Summary
protected PanoramioLayerOptions()
          use newInstance();
 
Method Summary
 boolean getClickable()
          If true, the layer receives mouse events.
 MapWidget getMap()
          The map on which to display the layer.
 boolean getSuppressInfoWindows()
          Suppress the rendering of info windows when layer features are clicked.
 String getTag()
          A panoramio tag used to filter the photos which are displayed.
 String getUserId()
          A Panoramio user ID.
static PanoramioLayerOptions newInstance()
          This object defines the properties that can be set on a PanoramioLayer object.
 void setClickable(boolean clickable)
          If true, the layer receives mouse events.
 void setMap(MapWidget mapWidget)
          The map on which to display the layer.
 void setSuppressInfoWindows(boolean suppressInfoWindows)
          Suppress the rendering of info windows when layer features are clicked.
 void setTag(String tag)
          A panoramio tag used to filter the photos which are displayed.
 void setUserId(String userId)
          A Panoramio user ID.
 
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

PanoramioLayerOptions

protected PanoramioLayerOptions()
use newInstance();

Method Detail

newInstance

public static final PanoramioLayerOptions newInstance()
This object defines the properties that can be set on a PanoramioLayer object.


getClickable

public final boolean getClickable()
If true, the layer receives mouse events. Default value is true.


getMap

public final MapWidget getMap()
The map on which to display the layer.


getSuppressInfoWindows

public final boolean getSuppressInfoWindows()
Suppress the rendering of info windows when layer features are clicked.


getTag

public final String getTag()
A panoramio tag used to filter the photos which are displayed. Only photos which have been tagged with the supplied string will be shown.


getUserId

public final String getUserId()
A Panoramio user ID. If provided, only photos by this user will be displayed on the map. If both a tag and user ID are provided, the tag will take precedence.


setClickable

public final void setClickable(boolean clickable)
If true, the layer receives mouse events. Default value is true.

Parameters:
clickable -

setMap

public final void setMap(MapWidget mapWidget)
The map on which to display the layer.

Parameters:
mapWidget -

setSuppressInfoWindows

public final void setSuppressInfoWindows(boolean suppressInfoWindows)
Suppress the rendering of info windows when layer features are clicked.

Parameters:
suppressInfoWindows -

setTag

public final void setTag(String tag)
A panoramio tag used to filter the photos which are displayed. Only photos which have been tagged with the supplied string will be shown.

Parameters:
tag -

setUserId

public final void setUserId(String userId)
A Panoramio user ID. If provided, only photos by this user will be displayed on the map. If both a tag and user ID are provided, the tag will take precedence.

Parameters:
userId -


Follow us on GitHub

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