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