Package | Description |
---|---|
net.java.html.leaflet |
Leaflet API for Java built around the
Map class. |
Modifier and Type | Class and Description |
---|---|
class |
Circle
A class for drawing circle overlays on a map.
|
class |
CircleMarker
Class representing a marker on a map.
|
class |
Polygon
A class for drawing polygon overlays on a map.
|
class |
PolyLine
A class for drawing polyline overlays on a map.
|
class |
Rectangle
A class for drawing rectangle overlays on a map.
|
Modifier and Type | Method and Description |
---|---|
Path |
Path.addEventListener(Event.Type type,
EventListener listener)
Adds a event listener to a particular event type of the object.
|
Path |
Path.addMouseListener(MouseEvent.Type type,
MouseListener listener)
Adds a mouse listener to a particular mouse event type of the object.
|
Path |
Path.addPopupListener(PopupEvent.Type type,
PopupListener listener)
Adds a popup listener to a particular popup event type of the object.
|
Path |
Path.addTo(Map map)
Adds the layer to the map.
|
Path |
Path.bindPopup(Popup popup)
Binds a given popup object to the path.
|
Path |
Path.bindPopup(Popup popup,
PopupOptions options)
Binds a given popup object with the given options to the path.
|
Path |
Path.bindPopup(String html)
Binds a popup with a particular HTML content to a click on this path.
|
Path |
Path.bringToBack()
Brings the layer to the bottom of all path layers.
|
Path |
Path.bringToFront()
Brings the layer to the top of all path layers.
|
Path |
Path.clearAllEventListeners()
Removes all listeners to all events on the object.
|
Path |
Path.closePopup()
Closes the path's bound popup if it is opened.
|
Path |
Path.openPopup()
Opens the popup previously bound by the
bindPopup method in
the given point, or in one of the path's points if not specified. |
Path |
Path.redraw()
Redraws the layer.
|
Path |
Path.removeEventListener(Event.Type type,
EventListener listener)
Removes a event listener to a particular event type of the object.
|
Path |
Path.removeMouseListener(MouseEvent.Type type,
MouseListener listener)
Removes a mouse listener to a particular mouse event type of the object.
|
Path |
Path.removePopupListener(PopupEvent.Type type,
PopupListener listener)
Removes a popup listener to a particular popup event type of the object.
|
Path |
Path.setStyle(PathOptions options)
Changes the appearance of a Path based on the options in the
PathOptions object. |
Path |
Path.unbindPopup()
Unbinds the popup previously bound to the path with
bindPopup . |
Copyright © 2017. All rights reserved.