Package org.wicketstuff.gmap.api
Class GMarkerOptions
java.lang.Object
org.wicketstuff.gmap.api.GMarkerOptions
- All Implemented Interfaces:
Serializable
,Cloneable
,GValue
http://code.google.com/apis/maps/documentation/javascript/reference.html# MarkerOptions
- Author:
- Christian Hennig ([email protected]), Joachim F. Rohde
- See Also:
-
Constructor Summary
ConstructorDescriptionGMarkerOptions
(GMap gmap, GLatLng latLng) GMarkerOptions
(GMap gmap, GLatLng latLng, String title) Creates a GMarkerOptions instance with the specified parameters.GMarkerOptions
(GMap gmap, GLatLng latLng, String title, boolean escapeTitle) GMarkerOptions
(GMap gmap, GLatLng latLng, String title, GIcon icon) GMarkerOptions
(GMap gmap, GLatLng latLng, String title, GIcon icon, boolean escapeTitle) -
Method Summary
Modifier and TypeMethodDescriptionclickable
(boolean clickable) clone()
draggable
(boolean draggable) boolean
getGmap()
getIcon()
getTitle()
int
hashCode()
boolean
boolean
void
setAnimation
(GAnimation animation) void
-
Constructor Details
-
GMarkerOptions
-
GMarkerOptions
Creates a GMarkerOptions instance with the specified parameters.- Parameters:
gmap
- The GMap-instance the marker will be put onlatLng
- the position the marker will be placedtitle
- the tooltip text for this marker. The most common special sequences in the title will be escaped- See Also:
-
GMarkerOptions
- Parameters:
gmap
- The GMap-instance the marker will be placed onlatLng
- the position the marker will be placedtitle
- the tooltip text for this markerescapeTitle
- escapes backslashes(\), quotes ("), newlines (\n), tabs (\r) and carriage returns (\r) in the title, if set to true
-
GMarkerOptions
-
GMarkerOptions
-
-
Method Details
-
getJSconstructor
- Specified by:
getJSconstructor
in interfaceGValue
- Returns:
- A JavaScript constructor that represents this element.
- See Also:
-
getTitle
-
isDraggable
public boolean isDraggable() -
isClickable
public boolean isClickable() -
getIcon
-
clone
-
clickable
-
draggable
-
getCursor
-
setLatLng
-
getLatLng
-
getGmap
-
hashCode
public int hashCode() -
equals
-
getAnimation
-
setAnimation
-