org.gwtopenmaps.openlayers.client
Class Marker

java.lang.Object
  extended by org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
      extended by org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
          extended by org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
              extended by org.gwtopenmaps.openlayers.client.Marker
Direct Known Subclasses:
Box

public class Marker
extends OpenLayersEObjectWrapper

Author:
Erdem Gunay, Michel Vitor - Intec

Field Summary
 
Fields inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
eventListeners
 
Constructor Summary
protected Marker(JSObject element)
           
  Marker(LonLat lonlat)
           
  Marker(LonLat lonlat, Icon icon)
           
 
Method Summary
 void addBrowserEventListener(String browserEvent, MarkerBrowserEventListener listener)
           
 Icon getIcon()
           
 LonLat getLonLat()
           
static Marker narrowToMarker(JSObject element)
           
 void setIcon(Icon icon)
          Method: setIcon Change the icon image.
 void setImageUrl(String imageUrl)
          Method setImageUrl Change the Url of Icon imageUrl (Url) the url of this marker
 void setLonLat(LonLat lonlat)
          Method setLonlat Change the lonlat of Icon lonlat (LonLat) the position of this marker
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersEObjectWrapper
getListeners, narrowToOpenLayersEObjectWrapper, removeListener
 
Methods inherited from class org.gwtopenmaps.openlayers.client.OpenLayersObjectWrapper
getClassName, getEvents, narrowToOpenLayersObjectWrapper
 
Methods inherited from class org.gwtopenmaps.openlayers.client.util.JSObjectWrapper
getJSObject, setJSObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Marker

protected Marker(JSObject element)

Marker

public Marker(LonLat lonlat)

Marker

public Marker(LonLat lonlat,
              Icon icon)
Method Detail

narrowToMarker

public static Marker narrowToMarker(JSObject element)

getLonLat

public LonLat getLonLat()

getIcon

public Icon getIcon()

setIcon

public void setIcon(Icon icon)
Method: setIcon Change the icon image. icon (Icon) the image of icon


setLonLat

public void setLonLat(LonLat lonlat)
Method setLonlat Change the lonlat of Icon lonlat (LonLat) the position of this marker


setImageUrl

public void setImageUrl(String imageUrl)
Method setImageUrl Change the Url of Icon imageUrl (Url) the url of this marker


addBrowserEventListener

public void addBrowserEventListener(String browserEvent,
                                    MarkerBrowserEventListener listener)


Copyright © 2011 sourceforge. All Rights Reserved.