Package | Description |
---|---|
net.java.html.leaflet |
Leaflet API for Java built around the
Map class. |
Modifier and Type | Class and Description |
---|---|
class |
Polygon
A class for drawing polygon overlays on a map.
|
class |
Rectangle
A class for drawing rectangle overlays on a map.
|
Modifier and Type | Method and Description |
---|---|
PolyLine |
PolyLine.addLatLng(LatLng latlng)
Adds a given point to the polyline.
|
PolyLine |
PolyLine.addTo(Map map)
Adds the layer to the map.
|
PolyLine |
PolyLine.bindPopup(Popup popup)
Binds a popup to a click on this polyline.
|
PolyLine |
PolyLine.bindPopup(Popup popup,
PopupOptions options)
Binds a popup with a particular popup configuration options to a click on
this polyline.
|
PolyLine |
PolyLine.bindPopup(String html)
Binds a popup with a particular HTML content to a click on this polyline.
|
PolyLine |
PolyLine.bringToBack()
Brings the layer to the bottom of all path layers.
|
PolyLine |
PolyLine.bringToFront()
Brings the layer to the top of all path layers.
|
PolyLine |
PolyLine.closePopup()
Closes the bound popup of the polyline if it's opened.
|
PolyLine |
PolyLine.openPopup()
Opens the popup previously bound by the
bindPopup method. |
PolyLine |
PolyLine.redraw()
Redraws the layer.
|
PolyLine |
PolyLine.setLatLngs(LatLng[] latlngs)
Replaces all the points in the polyline with the given array of
geographical points.
|
PolyLine |
PolyLine.setStyle(PathOptions options)
Changes the appearance of a Path based on the options in the
PathOptions object. |
PolyLine |
PolyLine.unbindPopup()
Unbinds the popup previously bound to the polyline with
bindPopup . |
Copyright © 2017. All rights reserved.