public class GMarkerOptions extends Object implements GValue, Cloneable
| Constructor and Description |
|---|
GMarkerOptions(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) |
| Modifier and Type | Method and Description |
|---|---|
GMarkerOptions |
clickable(boolean clickable) |
GMarkerOptions |
clone() |
GMarkerOptions |
draggable(boolean draggable) |
boolean |
equals(Object obj) |
GAnimation |
getAnimation() |
String |
getCursor() |
GMap |
getGmap() |
GIcon |
getIcon() |
String |
getJSconstructor() |
GLatLng |
getLatLng() |
String |
getTitle() |
int |
hashCode() |
boolean |
isClickable() |
boolean |
isDraggable() |
void |
setAnimation(GAnimation animation) |
void |
setLatLng(GLatLng latLng) |
public GMarkerOptions(GMap gmap, GLatLng latLng, String title)
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 escapedGMap,
GLatLng,
GMarkerOptions(org.wicketstuff.gmap.GMap, org.wicketstuff.gmap.api.GLatLng, java.lang.String, boolean)public GMarkerOptions(GMap gmap, GLatLng latLng, String title, boolean escapeTitle)
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 truepublic String getJSconstructor()
getJSconstructor in interface GValueGValue.getJSconstructor()public String getTitle()
public boolean isDraggable()
public boolean isClickable()
public GIcon getIcon()
public GMarkerOptions clone()
clone in class ObjectObject.clone()public GMarkerOptions clickable(boolean clickable)
public GMarkerOptions draggable(boolean draggable)
public String getCursor()
public void setLatLng(GLatLng latLng)
public GLatLng getLatLng()
public GMap getGmap()
public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public GAnimation getAnimation()
public void setAnimation(GAnimation animation)
Copyright © 2016. All rights reserved.