Package | Description |
---|---|
net.java.html.leaflet |
Leaflet API for Java built around the
Map class. |
Modifier and Type | Method and Description |
---|---|
PopupOptions |
PopupOptions.setAutoPan(boolean autoPan)
Sets autoPan option
|
PopupOptions |
PopupOptions.setAutoPanPadding(Point autoPanPadding)
Sets autoPanPadding option
|
PopupOptions |
PopupOptions.setAutoPanPaddingBottomRight(Point autoPanPaddingBottomRight)
Sets autoPanPaddingBottomRight option
|
PopupOptions |
PopupOptions.setAutoPanPaddingTopLeft(Point autoPanPaddingTopLeft)
Sets autoPanPaddingTopLeft option
|
PopupOptions |
PopupOptions.setClassName(String className)
Sets className option
|
PopupOptions |
PopupOptions.setCloseButton(boolean closeButton)
Sets closeButton option
|
PopupOptions |
PopupOptions.setCloseOnClick(boolean closeOnClick)
Sets closeOnClick option
|
PopupOptions |
PopupOptions.setKeepInView(boolean keepInView)
Sets keepInView option
|
PopupOptions |
PopupOptions.setMaxHeight(int maxHeight)
Sets maxHeight option
|
PopupOptions |
PopupOptions.setMaxWidth(int maxWidth)
Sets maxWidth option
|
PopupOptions |
PopupOptions.setMinWidth(int minWidth)
Sets minWidth option
|
PopupOptions |
PopupOptions.setOffset(Point offset)
Sets offset option
|
PopupOptions |
PopupOptions.setZoomAnimation(boolean zoomAnimation)
Sets zoomAnimation option
|
Modifier and Type | Method and Description |
---|---|
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.
|
MultiPolyline |
MultiPolyline.bindPopup(String html,
PopupOptions options)
Binds a popup with a particular HTML content and the given options to the
group.
|
MultiPolygon |
MultiPolygon.bindPopup(String html,
PopupOptions options)
Binds a popup with a particular HTML content and the given options to the
group.
|
FeatureGroup |
FeatureGroup.bindPopup(String html,
PopupOptions options)
Binds a popup with a particular HTML content and the given options to the
group.
|
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).
|
Constructor and Description |
---|
Popup(PopupOptions options)
Instantiates a Popup object given an options object that describes its
appearance and location.
|
Popup(PopupOptions options,
ILayer source)
Instantiates a Popup object given an optional options object that
describes its appearance and location and an optional source object that
is used to tag the popup with a reference to the ILayer to which it
refers.
|
Copyright © 2017. All rights reserved.