|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectJavaScriptObject
com.google.maps.gwt.client.MVCObject
com.google.maps.gwt.client.Marker
public class Marker
THIS SOURCE CODE IS GENERATED, DO NOT MODIFY
Nested Class Summary | |
---|---|
static interface |
Marker.AnimationChangedHandler
This event is fired when the marker's animation property changes. |
static interface |
Marker.ClickableChangedHandler
This event is fired when the marker's clickable property changes. |
static interface |
Marker.ClickHandler
This event is fired when the marker icon was clicked. |
static interface |
Marker.CursorChangedHandler
This event is fired when the marker's cursor property changes. |
static interface |
Marker.DblClickHandler
This event is fired when the marker icon was double clicked. |
static interface |
Marker.DragEndHandler
This event is fired when the user stops dragging the marker. |
static interface |
Marker.DraggableChangedHandler
This event is fired when the marker's draggable property changes. |
static interface |
Marker.DragHandler
This event is repeatedly fired while the user drags the marker. |
static interface |
Marker.DragStartHandler
This event is fired when the user starts dragging the marker. |
static interface |
Marker.FlatChangedHandler
This event is fired when the marker's flat property changes. |
static interface |
Marker.IconChangedHandler
This event is fired when the marker icon property changes. |
static interface |
Marker.MouseDownHandler
This event is fired for a mousedown on the marker. |
static interface |
Marker.MouseOutHandler
This event is fired when the mouse leaves the area of the marker icon. |
static interface |
Marker.MouseOverHandler
This event is fired when the mouse enters the area of the marker icon. |
static interface |
Marker.MouseUpHandler
This event is fired for a mouseup on the marker. |
static interface |
Marker.PositionChangedHandler
This event is fired when the marker position property changes. |
static interface |
Marker.RightClickHandler
This event is fired for a rightclick on the marker. |
static interface |
Marker.ShadowChangedHandler
This event is fired when the marker's shadow property changes. |
static interface |
Marker.ShapeChangedHandler
This event is fired when the marker's shape property changes. |
static interface |
Marker.TitleChangedHandler
This event is fired when the marker title property changes. |
static interface |
Marker.VisibleChangedHandler
This event is fired when the marker's visible property changes. |
static interface |
Marker.ZIndexChangedHandler
This event is fired when the marker's zIndex property changes. |
Field Summary | |
---|---|
static double |
MAX_ZINDEX
The maximum default z-index that the API will assign to a marker. |
Constructor Summary | |
---|---|
protected |
Marker()
Protected constructor avoids default public constructor. |
Method Summary | |
---|---|
void |
addAnimationChangedListener(Marker.AnimationChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addAnimationChangedListenerOnce(Marker.AnimationChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addClickableChangedListener(Marker.ClickableChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addClickableChangedListenerOnce(Marker.ClickableChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addClickListener(Marker.ClickHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addClickListenerOnce(Marker.ClickHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addCursorChangedListener(Marker.CursorChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addCursorChangedListenerOnce(Marker.CursorChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addDblClickListener(Marker.DblClickHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addDblClickListenerOnce(Marker.DblClickHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addDragEndListener(Marker.DragEndHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addDragEndListenerOnce(Marker.DragEndHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addDraggableChangedListener(Marker.DraggableChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addDraggableChangedListenerOnce(Marker.DraggableChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addDragListener(Marker.DragHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addDragListenerOnce(Marker.DragHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addDragStartListener(Marker.DragStartHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addDragStartListenerOnce(Marker.DragStartHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addFlatChangedListener(Marker.FlatChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addFlatChangedListenerOnce(Marker.FlatChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addIconChangedListener(Marker.IconChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addIconChangedListenerOnce(Marker.IconChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addMouseDownListener(Marker.MouseDownHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addMouseDownListenerOnce(Marker.MouseDownHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addMouseOutListener(Marker.MouseOutHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addMouseOutListenerOnce(Marker.MouseOutHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addMouseOverListener(Marker.MouseOverHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addMouseOverListenerOnce(Marker.MouseOverHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addMouseUpListener(Marker.MouseUpHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addMouseUpListenerOnce(Marker.MouseUpHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addPositionChangedListener(Marker.PositionChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addPositionChangedListenerOnce(Marker.PositionChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addRightClickListener(Marker.RightClickHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addRightClickListenerOnce(Marker.RightClickHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addShadowChangedListener(Marker.ShadowChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addShadowChangedListenerOnce(Marker.ShadowChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addShapeChangedListener(Marker.ShapeChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addShapeChangedListenerOnce(Marker.ShapeChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addTitleChangedListener(Marker.TitleChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addTitleChangedListenerOnce(Marker.TitleChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addVisibleChangedListener(Marker.VisibleChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addVisibleChangedListenerOnce(Marker.VisibleChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
addZIndexChangedListener(Marker.ZIndexChangedHandler handler)
Adds the given listener function to the given event name for the given object instance. |
void |
addZIndexChangedListenerOnce(Marker.ZIndexChangedHandler handler)
Like addListener, but the handler removes itself after handling the first event. |
void |
clearAnimationChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearClickableChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearClickListeners()
Removes all listeners for the given event for the given instance. |
void |
clearCursorChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearDblClickListeners()
Removes all listeners for the given event for the given instance. |
void |
clearDragEndListeners()
Removes all listeners for the given event for the given instance. |
void |
clearDraggableChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearDragListeners()
Removes all listeners for the given event for the given instance. |
void |
clearDragStartListeners()
Removes all listeners for the given event for the given instance. |
void |
clearFlatChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearIconChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearInstanceListeners()
Removes all listeners for all events for the given instance. |
void |
clearMouseDownListeners()
Removes all listeners for the given event for the given instance. |
void |
clearMouseOutListeners()
Removes all listeners for the given event for the given instance. |
void |
clearMouseOverListeners()
Removes all listeners for the given event for the given instance. |
void |
clearMouseUpListeners()
Removes all listeners for the given event for the given instance. |
void |
clearPositionChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearRightClickListeners()
Removes all listeners for the given event for the given instance. |
void |
clearShadowChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearShapeChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearTitleChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearVisibleChangedListeners()
Removes all listeners for the given event for the given instance. |
void |
clearZIndexChangedListeners()
Removes all listeners for the given event for the given instance. |
static Marker |
create()
Creates a marker with the options specified. |
static Marker |
create(MarkerOptions opts)
Creates a marker with the options specified. |
Animation |
getAnimation()
|
boolean |
getClickable()
|
java.lang.String |
getCursor()
|
boolean |
getDraggable()
|
boolean |
getFlat()
|
LatLng |
getPosition()
|
MarkerShape |
getShape()
|
java.lang.String |
getTitle()
|
boolean |
getVisible()
|
double |
getZIndex()
|
void |
setAnimation()
Start an animation. |
void |
setAnimation(Animation animation)
Start an animation. |
void |
setClickable(boolean flag)
|
void |
setCursor(java.lang.String cursor)
|
void |
setDraggable()
|
void |
setDraggable(boolean flag)
|
void |
setFlat(boolean flag)
|
void |
setIcon(MarkerImage icon)
|
void |
setIcon(java.lang.String icon)
|
void |
setMap(GoogleMap map)
Renders the marker on the specified map or panorama. |
void |
setMap(StreetViewPanorama map)
Renders the marker on the specified map or panorama. |
void |
setOptions(MarkerOptions options)
|
void |
setPosition(LatLng latlng)
|
void |
setShadow(MarkerImage shadow)
|
void |
setShadow(java.lang.String shadow)
|
void |
setShape(MarkerShape shape)
|
void |
setTitle(java.lang.String title)
|
void |
setVisible(boolean visible)
|
void |
setZIndex(double zIndex)
|
void |
triggerAnimationChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerClick(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerClickableChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerCursorChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerDblClick(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerDrag(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerDragEnd(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerDraggableChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerDragStart(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerFlatChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerIconChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerMouseDown(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerMouseOut(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerMouseOver(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerMouseUp(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerPositionChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerRightClick(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerShadowChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerShapeChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerTitleChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerVisibleChanged(JavaScriptObject... varargs)
Triggers the given event. |
void |
triggerZIndexChanged(JavaScriptObject... varargs)
Triggers the given event. |
Methods inherited from class com.google.maps.gwt.client.MVCObject |
---|
bindTo, bindTo, bindTo, bindTo, changed, get, notify, set, setValues, setValues, unbind, unbindAll |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final double MAX_ZINDEX
Constructor Detail |
---|
protected Marker()
Method Detail |
---|
public static Marker create(MarkerOptions opts)
public static Marker create()
public final void addAnimationChangedListener(Marker.AnimationChangedHandler handler)
public final void addAnimationChangedListenerOnce(Marker.AnimationChangedHandler handler)
public final void addClickListener(Marker.ClickHandler handler)
public final void addClickListenerOnce(Marker.ClickHandler handler)
public final void addClickableChangedListener(Marker.ClickableChangedHandler handler)
public final void addClickableChangedListenerOnce(Marker.ClickableChangedHandler handler)
public final void addCursorChangedListener(Marker.CursorChangedHandler handler)
public final void addCursorChangedListenerOnce(Marker.CursorChangedHandler handler)
public final void addDblClickListener(Marker.DblClickHandler handler)
public final void addDblClickListenerOnce(Marker.DblClickHandler handler)
public final void addDragEndListener(Marker.DragEndHandler handler)
public final void addDragEndListenerOnce(Marker.DragEndHandler handler)
public final void addDragListener(Marker.DragHandler handler)
public final void addDragListenerOnce(Marker.DragHandler handler)
public final void addDragStartListener(Marker.DragStartHandler handler)
public final void addDragStartListenerOnce(Marker.DragStartHandler handler)
public final void addDraggableChangedListener(Marker.DraggableChangedHandler handler)
public final void addDraggableChangedListenerOnce(Marker.DraggableChangedHandler handler)
public final void addFlatChangedListener(Marker.FlatChangedHandler handler)
public final void addFlatChangedListenerOnce(Marker.FlatChangedHandler handler)
public final void addIconChangedListener(Marker.IconChangedHandler handler)
public final void addIconChangedListenerOnce(Marker.IconChangedHandler handler)
public final void addMouseDownListener(Marker.MouseDownHandler handler)
public final void addMouseDownListenerOnce(Marker.MouseDownHandler handler)
public final void addMouseOutListener(Marker.MouseOutHandler handler)
public final void addMouseOutListenerOnce(Marker.MouseOutHandler handler)
public final void addMouseOverListener(Marker.MouseOverHandler handler)
public final void addMouseOverListenerOnce(Marker.MouseOverHandler handler)
public final void addMouseUpListener(Marker.MouseUpHandler handler)
public final void addMouseUpListenerOnce(Marker.MouseUpHandler handler)
public final void addPositionChangedListener(Marker.PositionChangedHandler handler)
public final void addPositionChangedListenerOnce(Marker.PositionChangedHandler handler)
public final void addRightClickListener(Marker.RightClickHandler handler)
public final void addRightClickListenerOnce(Marker.RightClickHandler handler)
public final void addShadowChangedListener(Marker.ShadowChangedHandler handler)
public final void addShadowChangedListenerOnce(Marker.ShadowChangedHandler handler)
public final void addShapeChangedListener(Marker.ShapeChangedHandler handler)
public final void addShapeChangedListenerOnce(Marker.ShapeChangedHandler handler)
public final void addTitleChangedListener(Marker.TitleChangedHandler handler)
public final void addTitleChangedListenerOnce(Marker.TitleChangedHandler handler)
public final void addVisibleChangedListener(Marker.VisibleChangedHandler handler)
public final void addVisibleChangedListenerOnce(Marker.VisibleChangedHandler handler)
public final void addZIndexChangedListener(Marker.ZIndexChangedHandler handler)
public final void addZIndexChangedListenerOnce(Marker.ZIndexChangedHandler handler)
public final void clearAnimationChangedListeners()
public final void clearClickListeners()
public final void clearClickableChangedListeners()
public final void clearCursorChangedListeners()
public final void clearDblClickListeners()
public final void clearDragEndListeners()
public final void clearDragListeners()
public final void clearDragStartListeners()
public final void clearDraggableChangedListeners()
public final void clearFlatChangedListeners()
public final void clearIconChangedListeners()
public final void clearInstanceListeners()
public final void clearMouseDownListeners()
public final void clearMouseOutListeners()
public final void clearMouseOverListeners()
public final void clearMouseUpListeners()
public final void clearPositionChangedListeners()
public final void clearRightClickListeners()
public final void clearShadowChangedListeners()
public final void clearShapeChangedListeners()
public final void clearTitleChangedListeners()
public final void clearVisibleChangedListeners()
public final void clearZIndexChangedListeners()
public final Animation getAnimation()
public final boolean getClickable()
public final java.lang.String getCursor()
public final boolean getDraggable()
public final boolean getFlat()
public final LatLng getPosition()
public final MarkerShape getShape()
public final java.lang.String getTitle()
public final boolean getVisible()
public final double getZIndex()
public final void setAnimation(Animation animation)
null
will cause any animation to stop.
public final void setAnimation()
null
will cause any animation to stop.
public final void setClickable(boolean flag)
public final void setCursor(java.lang.String cursor)
public final void setDraggable(boolean flag)
public final void setDraggable()
public final void setFlat(boolean flag)
public final void setIcon(java.lang.String icon)
public final void setIcon(MarkerImage icon)
public final void setMap(GoogleMap map)
public final void setMap(StreetViewPanorama map)
public final void setOptions(MarkerOptions options)
public final void setPosition(LatLng latlng)
public final void setShadow(java.lang.String shadow)
public final void setShadow(MarkerImage shadow)
public final void setShape(MarkerShape shape)
public final void setTitle(java.lang.String title)
public final void setVisible(boolean visible)
public final void setZIndex(double zIndex)
public final void triggerAnimationChanged(JavaScriptObject... varargs)
public final void triggerClick(JavaScriptObject... varargs)
public final void triggerClickableChanged(JavaScriptObject... varargs)
public final void triggerCursorChanged(JavaScriptObject... varargs)
public final void triggerDblClick(JavaScriptObject... varargs)
public final void triggerDrag(JavaScriptObject... varargs)
public final void triggerDragEnd(JavaScriptObject... varargs)
public final void triggerDragStart(JavaScriptObject... varargs)
public final void triggerDraggableChanged(JavaScriptObject... varargs)
public final void triggerFlatChanged(JavaScriptObject... varargs)
public final void triggerIconChanged(JavaScriptObject... varargs)
public final void triggerMouseDown(JavaScriptObject... varargs)
public final void triggerMouseOut(JavaScriptObject... varargs)
public final void triggerMouseOver(JavaScriptObject... varargs)
public final void triggerMouseUp(JavaScriptObject... varargs)
public final void triggerPositionChanged(JavaScriptObject... varargs)
public final void triggerRightClick(JavaScriptObject... varargs)
public final void triggerShadowChanged(JavaScriptObject... varargs)
public final void triggerShapeChanged(JavaScriptObject... varargs)
public final void triggerTitleChanged(JavaScriptObject... varargs)
public final void triggerVisibleChanged(JavaScriptObject... varargs)
public final void triggerZIndexChanged(JavaScriptObject... varargs)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |