org.wicketstuff.gmap.api
Class GMarker
java.lang.Object
org.wicketstuff.gmap.api.GOverlay
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
| 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 |
GMarker
public GMarker(GMarkerOptions options)
GMarker
public GMarker(String id,
GMarkerOptions options)
getLatLng
public GLatLng getLatLng()
getMarkerOptions
public GMarkerOptions getMarkerOptions()
setAnimation
public void setAnimation(GAnimation animation)
- Sets the animation type for this marker.
- Parameters:
animation - The animation which should be applied to this marker.
Pass NULL if you want to stop an ongoing animation.- See Also:
GAnimation
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(org.apache.wicket.ajax.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 © 2016. All rights reserved.