org.wicketstuff.gmap.api
Class GMarker

java.lang.Object
  extended by org.wicketstuff.gmap.api.GOverlay
      extended by org.wicketstuff.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(GMarkerOptions options)
           
GMarker(String id, GMarkerOptions options)
           
 
Method Summary
 String getJSconstructor()
          Implement the needed JavaScript constructor for the corresponding JavaScript object.
 GLatLng getLatLng()
           
 GMarkerOptions getMarkerOptions()
           
protected  void updateOnAjaxCall(AjaxRequestTarget target, GEvent overlayEvent)
          Implement to handle Ajax calls to your needs.
 
Methods inherited from class org.wicketstuff.gmap.api.GOverlay
addFunctionListener, addListener, clearListeners, getFunctionListeners, getId, getJS, getJSremove, getListeners, getPage, 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(GMarkerOptions options)

GMarker

public GMarker(String id,
               GMarkerOptions options)
Method Detail

getLatLng

public GLatLng getLatLng()

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.
See Also:
GOverlay.getJSconstructor()

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
See Also:
GOverlay.updateOnAjaxCall(org.apache.wicket.ajax.AjaxRequestTarget, GEvent)


Copyright © 2014. All rights reserved.