Package | Description |
---|---|
net.java.html.leaflet |
Leaflet API for Java built around the
Map class. |
net.java.html.leaflet.event |
Listeners and events for the leaflet API
|
Modifier and Type | Method and Description |
---|---|
Popup |
Popup.addTo(Map map)
Adds the popup to the map.
|
Popup |
Marker.getPopup()
Returns the popup previously bound by the
bindPopup method. |
Popup |
Popup.openOn(Map map)
Adds the popup to the map and closes the previous one.
|
Popup |
Popup.setContent(String htmlContent)
Sets the HTML content of the popup.
|
Popup |
Popup.setLatLng(LatLng latLng)
Sets the geographical point where the popup will open.
|
Popup |
Popup.update()
Updates the popup content, layout and position.
|
Modifier and Type | Method and Description |
---|---|
Rectangle |
Rectangle.bindPopup(Popup popup)
Binds a given popup object to the rectangle.
|
PolyLine |
PolyLine.bindPopup(Popup popup)
Binds a popup to a click on this polyline.
|
Polygon |
Polygon.bindPopup(Popup popup)
Binds a popup to a click on this polygon.
|
Path |
Path.bindPopup(Popup popup)
Binds a given popup object to the path.
|
Marker |
Marker.bindPopup(Popup popup)
Binds a popup to a click on this marker.
|
ImageOverlay |
ImageOverlay.bindPopup(Popup popup)
Binds a given popup object to the overlay.
|
CircleMarker |
CircleMarker.bindPopup(Popup popup)
Binds a popup to a click on this marker.
|
Circle |
Circle.bindPopup(Popup popup)
Binds a popup to a click on this circle.
|
Rectangle |
Rectangle.bindPopup(Popup popup,
PopupOptions options)
Binds a given popup object with the given options to the rectangle.
|
PolyLine |
PolyLine.bindPopup(Popup popup,
PopupOptions options)
Binds a popup with a particular popup configuration options to a click on
this polyline.
|
Polygon |
Polygon.bindPopup(Popup popup,
PopupOptions options)
Binds a popup with a particular popup configuration options to a click on
this polygon.
|
Path |
Path.bindPopup(Popup popup,
PopupOptions options)
Binds a given popup object with the given options to the path.
|
Marker |
Marker.bindPopup(Popup popup,
PopupOptions options)
Binds a popup with a particular popup configuration options to a click on
this marker.
|
ImageOverlay |
ImageOverlay.bindPopup(Popup popup,
PopupOptions options)
Binds a given popup object with the given options to the overlay.
|
CircleMarker |
CircleMarker.bindPopup(Popup popup,
PopupOptions options)
Binds a popup with a particular popup configuration options to a click on
this marker.
|
Circle |
Circle.bindPopup(Popup popup,
PopupOptions options)
Binds a popup with a particular popup configuration options to a click on
this circle.
|
Map |
Map.closePopup(Popup popup)
Closes the given popup.
|
Map |
Map.openPopup(Popup popup,
LatLng latlng)
Opens the specified popup while closing the previously opened (to make
sure only one is opened at one time for usability).
|
Map |
Map.openPopup(Popup popup,
LatLng latlng,
PopupOptions options)
Opens the specified popup while closing the previously opened (to make
sure only one is opened at one time for usability).
|
Modifier and Type | Method and Description |
---|---|
Popup |
PopupEvent.getPopup() |
Constructor and Description |
---|
PopupEvent(Object src,
String type,
Popup popup) |
Copyright © 2017. All rights reserved.