Package | Description |
---|---|
net.java.html.leaflet |
Leaflet API for Java built around the
Map class. |
Modifier and Type | Method and Description |
---|---|
Marker |
Marker.addDragEndListener(DragEndEvent.Type type,
DragEndListener listener)
Adds a drag end listener to a particular drag end event type of the
object.
|
Marker |
Marker.addEventListener(Event.Type type,
EventListener listener)
Adds a event listener to a particular event type of the object.
|
Marker |
Marker.addMouseListener(MouseEvent.Type type,
MouseListener listener)
Adds a mouse listener to a particular mouse event type of the object.
|
Marker |
Marker.addPopupListener(PopupEvent.Type type,
PopupListener listener)
Adds a popup listener to a particular popup event type of the object.
|
Marker |
Marker.bindPopup(Popup popup)
Binds a popup to a click on this marker.
|
Marker |
Marker.bindPopup(Popup popup,
PopupOptions options)
Binds a popup with a particular popup configuration options to a click on
this marker.
|
Marker |
Marker.bindPopup(String html)
Binds a popup with a particular HTML content to a click on this marker.
|
Marker |
Marker.clearAllEventListeners()
Removes all listeners to all events on the object.
|
Marker |
Marker.closePopup()
Closes the bound popup of the marker if it's opened.
|
Marker |
Marker.openPopup()
Opens the popup previously bound by the
bindPopup method. |
Marker |
Marker.removeDragEndListener(DragEndEvent.Type type,
DragEndListener listener)
Removes a drag end listener to a particular drag end event type of the
object.
|
Marker |
Marker.removeEventListener(Event.Type type,
EventListener listener)
Removes a event listener to a particular event type of the object.
|
Marker |
Marker.removeMouseListener(MouseEvent.Type type,
MouseListener listener)
Removes a mouse listener to a particular mouse event type of the object.
|
Marker |
Marker.removePopupListener(PopupEvent.Type type,
PopupListener listener)
Removes a popup listener to a particular popup event type of the object.
|
Marker |
Marker.setPopupContent(String html)
Sets an HTML content of the popup of this marker.
|
Marker |
Marker.togglePopup()
Toggles the popup previously bound by the
bindPopup method. |
Marker |
Marker.unbindPopup()
Unbinds the popup previously bound to the marker with
bindPopup . |
Copyright © 2017. All rights reserved.