Package org.wicketstuff.gmap.api
Class GMarker
java.lang.Object
org.wicketstuff.gmap.api.GOverlay
org.wicketstuff.gmap.api.GMarker
- All Implemented Interfaces:
Serializable
Represents an Google Maps API's GMarker.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionImplement the needed JavaScript constructor for the corresponding JavaScript object.void
setAnimation
(GAnimation animation) Sets the animation type for this marker.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
-
Constructor Details
-
GMarker
-
GMarker
-
-
Method Details
-
getLatLng
-
getMarkerOptions
-
setAnimation
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:
-
getJSconstructor
Description copied from class:GOverlay
Implement the needed JavaScript constructor for the corresponding JavaScript object.- Specified by:
getJSconstructor
in classGOverlay
- Returns:
- String representing the JavaScript constructor.
- See Also:
-
updateOnAjaxCall
Description copied from class:GOverlay
Implement to handle Ajax calls to your needs.- Specified by:
updateOnAjaxCall
in classGOverlay
- See Also:
-