Example usage for Java com.google.gwt.maps.client.overlay Marker fields, constructors, methods, implement or subclass
The text is from its open source code.
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 |
void | addMarkerClickHandler(final MarkerClickHandler handler) This event is fired when the marker icon was clicked. |
void | addMarkerDragEndHandler(final MarkerDragEndHandler handler) If the marker is enabled for dragging, this event is fired when the marker ceases to be dragged. |
void | addMarkerDragStartHandler(final MarkerDragStartHandler handler) If the marker is enabled for dragging, this event is fired when the marker dragging begins. |
void | addMarkerMouseOutHandler(final MarkerMouseOutHandler handler) This event is fired when the mouse leaves the area of the marker icon. |
void | addMarkerMouseOverHandler(final MarkerMouseOverHandler handler) This event is fired when the mouse enters the area of the marker icon. |
void | addMarkerRemoveHandler(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 . |
LatLng | getLatLng() Returns the geographical coordinates at which this marker is anchored, as set by the constructor or by #setLatLng(LatLng) . |
void | setImage(String url) Use an image for this marker. |
void | setLatLng(LatLng point) Sets the geographical coordinates of the point at which this marker is anchored. |
void | setVisible(boolean visible) Toggle the visibility of the Marker on the map it is associated with. |