com.google.maps.gwt.client.panoramio
Class PanoramioLayer

java.lang.Object
  extended by JavaScriptObject
      extended by com.google.maps.gwt.client.MVCObject
          extended by com.google.maps.gwt.client.panoramio.PanoramioLayer

public class PanoramioLayer
extends MVCObject

A PanoramioLayer displays photos from Panoramio as a rendered layer. THIS SOURCE CODE IS GENERATED, DO NOT MODIFY


Nested Class Summary
static interface PanoramioLayer.ClickHandler
          This event is fired when a feature in the layer is clicked.
 
Constructor Summary
protected PanoramioLayer()
          Protected constructor avoids default public constructor.
 
Method Summary
 void addClickListener(PanoramioLayer.ClickHandler handler)
          Adds the given listener function to the given event name for the given object instance.
 void addClickListenerOnce(PanoramioLayer.ClickHandler handler)
          Like addListener, but the handler removes itself after handling the first event.
 void clearClickListeners()
          Removes all listeners for the given event for the given instance.
 void clearInstanceListeners()
          Removes all listeners for all events for the given instance.
static PanoramioLayer create()
          A layer that displays data from Panoramio.
static PanoramioLayer create(PanoramioLayerOptions opts)
          A layer that displays data from Panoramio.
 GoogleMap getMap()
          Returns the map on which this layer is displayed.
 java.lang.String getTag()
           
 java.lang.String getUserId()
           
 void setMap(GoogleMap map)
          Renders the layer on the specified map.
 void setOptions(PanoramioLayerOptions options)
           
 void setTag(java.lang.String tag)
           
 void setUserId(java.lang.String userId)
           
 void triggerClick(JavaScriptObject... varargs)
          Triggers the given event.
 
Methods inherited from class com.google.maps.gwt.client.MVCObject
bindTo, bindTo, bindTo, bindTo, changed, get, notify, set, setValues, setValues, unbind, unbindAll
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PanoramioLayer

protected PanoramioLayer()
Protected constructor avoids default public constructor.

Method Detail

create

public static PanoramioLayer create(PanoramioLayerOptions opts)
A layer that displays data from Panoramio.


create

public static PanoramioLayer create()
A layer that displays data from Panoramio.


addClickListener

public final void addClickListener(PanoramioLayer.ClickHandler handler)
Adds the given listener function to the given event name for the given object instance. Returns an identifier for this listener that can be used with removeListener().


addClickListenerOnce

public final void addClickListenerOnce(PanoramioLayer.ClickHandler handler)
Like addListener, but the handler removes itself after handling the first event.


clearClickListeners

public final void clearClickListeners()
Removes all listeners for the given event for the given instance.


clearInstanceListeners

public final void clearInstanceListeners()
Removes all listeners for all events for the given instance.


getMap

public final GoogleMap getMap()
Returns the map on which this layer is displayed.


getTag

public final java.lang.String getTag()

getUserId

public final java.lang.String getUserId()

setMap

public final void setMap(GoogleMap map)
Renders the layer on the specified map. If map is set to null, the layer will be removed.


setOptions

public final void setOptions(PanoramioLayerOptions options)

setTag

public final void setTag(java.lang.String tag)

setUserId

public final void setUserId(java.lang.String userId)

triggerClick

public final void triggerClick(JavaScriptObject... varargs)
Triggers the given event. All arguments after eventName are passed as arguments to the listeners.