Follow us on GitHub

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

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.google.gwt.maps.client.mvc.MVCObject<PanoramioLayer>
          extended by com.google.gwt.maps.client.panoramiolib.PanoramioLayer

public class PanoramioLayer
extends MVCObject<PanoramioLayer>

A PanoramioLayer displays photos from Panoramio as a rendered layer. This class extends MVCObject.

See PanoramioLayer API Doc


Constructor Summary
protected PanoramioLayer()
          use newInstance();
 
Method Summary
 HandlerRegistration addClickHandler(PanoramioMouseMapHandler handler)
          This event is fired when a feature in the layer is clicked.
 MapWidget getMap()
          The map on which to display the layer.
 String getTag()
          A panoramio tag used to filter the photos which are displayed.
 String getUserId()
          A Panoramio user ID.
static PanoramioLayer newInstance(PanoramioLayerOptions options)
          A PanoramioLayer displays photos from Panoramio as a rendered layer.
 void setMap(MapWidget mapWidget)
          The map on which to display the layer.
 void setOption(PanoramioLayerOptions options)
          This object defines the properties that can be set on a PanoramioLayer object.
 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.maps.client.mvc.MVCObject
bindTo, bindTo, bindTo, changed, createInstanceOfMVCObject, get, notify, set, setValues, unbind, unbindAll
 
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

PanoramioLayer

protected PanoramioLayer()
use newInstance();

Method Detail

newInstance

public static final PanoramioLayer newInstance(PanoramioLayerOptions options)
A PanoramioLayer displays photos from Panoramio as a rendered layer. This class extends MVCObject.

Parameters:
options -

setMap

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

Parameters:
mapWidget -

getMap

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


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.


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 -

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.


setOption

public final void setOption(PanoramioLayerOptions options)
This object defines the properties that can be set on a PanoramioLayer object.

Parameters:
options -

addClickHandler

public final HandlerRegistration addClickHandler(PanoramioMouseMapHandler handler)
This event is fired when a feature in the layer is clicked.

Parameters:
handler -


Follow us on GitHub

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