Java com.google.gwt.maps.client.overlay Marker fields, constructors, methods, implement or subclass

Example usage for Java com.google.gwt.maps.client.overlay Marker fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.google.gwt.maps.client.overlay Marker.

The text is from its open source code.

Subclass

com.google.gwt.maps.client.overlay.Marker has subclasses.
Click this link to see all its subclasses.

Constructor

Marker(LatLng point)
Create a new marker at the specified point using default options.
Marker(JavaScriptObject jsoPeer)
Create this marker from an existing JavaScriptObject instance.
Marker(LatLng point, MarkerOptions options)
Create a new marker at the specified point using the supplied options overrides.
Marker

Method

voidaddMarkerClickHandler(final MarkerClickHandler handler)
This event is fired when the marker icon was clicked.
voidaddMarkerDragEndHandler(final MarkerDragEndHandler handler)
If the marker is enabled for dragging, this event is fired when the marker ceases to be dragged.
voidaddMarkerDragStartHandler(final MarkerDragStartHandler handler)
If the marker is enabled for dragging, this event is fired when the marker dragging begins.
voidaddMarkerMouseOutHandler(final MarkerMouseOutHandler handler)
This event is fired when the mouse leaves the area of the marker icon.
voidaddMarkerMouseOverHandler(final MarkerMouseOverHandler handler)
This event is fired when the mouse enters the area of the marker icon.
voidaddMarkerRemoveHandler(final MarkerRemoveHandler handler)
This event is fired when the marker is removed from the map, using com.google.gwt.maps.client.MapWidget#removeOverlay or com.google.gwt.maps.client.MapWidget#clearOverlays .
LatLnggetLatLng()
Returns the geographical coordinates at which this marker is anchored, as set by the constructor or by #setLatLng(LatLng) .
voidsetImage(String url)
Use an image for this marker.
voidsetLatLng(LatLng point)
Sets the geographical coordinates of the point at which this marker is anchored.
voidsetVisible(boolean visible)
Toggle the visibility of the Marker on the map it is associated with.