wicket.contrib.gmap.api
Class GMarker

java.lang.Object
  extended by wicket.contrib.gmap.api.GOverlay
      extended by wicket.contrib.gmap.api.GMarker
All Implemented Interfaces:
Serializable

public class GMarker
extends GOverlay

Represents an Google Maps API's GMarker.

See Also:
Serialized Form

Constructor Summary
GMarker(GLatLng gLatLng)
           
GMarker(GLatLng gLatLng, GMarkerOptions options)
           
 
Method Summary
 String getJSconstructor()
          Implement the needed JavaScript constructor for the corresponding JavaScript object.
 GLatLng getLatLng()
           
 GMarkerOptions getMarkerOptions()
           
 void setLatLng(GLatLng gLatLng)
           
protected  void updateOnAjaxCall(AjaxRequestTarget target, GEvent overlayEvent)
          Implement to handle Ajax calls to your needs.
 
Methods inherited from class wicket.contrib.gmap.api.GOverlay
addListener, clearListeners, getId, getJSadd, getJSremove, getListeners, getParent, onEvent, setParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GMarker

public GMarker(GLatLng gLatLng)
Parameters:
gLatLng - the point on the map where this marker will be anchored

GMarker

public GMarker(GLatLng gLatLng,
               GMarkerOptions options)
Method Detail

getLatLng

public GLatLng getLatLng()

setLatLng

public void setLatLng(GLatLng gLatLng)

getMarkerOptions

public GMarkerOptions getMarkerOptions()

getJSconstructor

public String getJSconstructor()
Description copied from class: GOverlay
Implement the needed JavaScript constructor for the corresponding JavaScript object.

Specified by:
getJSconstructor in class GOverlay
Returns:
String representing the JavaScript constructor.

updateOnAjaxCall

protected void updateOnAjaxCall(AjaxRequestTarget target,
                                GEvent overlayEvent)
Description copied from class: GOverlay
Implement to handle Ajax calls to your needs.

Specified by:
updateOnAjaxCall in class GOverlay


Copyright © 2012. All Rights Reserved.