public class PopupWindow
extends java.lang.Object
GeoMap
at a given location.Constructor and Description |
---|
PopupWindow(org.locationtech.jts.geom.Point point)
Creates an instance of a popup that will be opened in the given geographical point.
|
PopupWindow(org.locationtech.jts.geom.Point point,
java.lang.String content)
Creates an instance of a popup that will be opened in the given geographical point.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getContent()
Returns the content of the popup window
|
org.locationtech.jts.geom.Point |
getPoint()
Returns the geographical point of the popup window.
|
PopupWindowOptions |
getPopupWindowOptions() |
PopupWindow |
setContent(java.lang.String content)
Sets the HTML content of the popup window.
|
PopupWindow |
setPoint(org.locationtech.jts.geom.Point point)
Sets the geographical point where the popup window will be opened.
|
PopupWindow |
setPopupWindowOptions(PopupWindowOptions popupWindowOptions)
Sets custom options for the popup window.
|
public PopupWindow(org.locationtech.jts.geom.Point point)
point
- geographical point where popup will be openedpublic PopupWindow(org.locationtech.jts.geom.Point point, java.lang.String content)
point
- geographical point where popup will be openedcontent
- the HTML content of the popuppublic org.locationtech.jts.geom.Point getPoint()
public PopupWindow setPoint(org.locationtech.jts.geom.Point point)
point
- geographical pointPopupWindow
on which this method was called. Useful for a fluent API.public java.lang.String getContent()
public PopupWindow setContent(java.lang.String content)
content
- PopupWindow
on which this method was called. Useful for a fluent API.public PopupWindowOptions getPopupWindowOptions()
public PopupWindow setPopupWindowOptions(PopupWindowOptions popupWindowOptions)
popupWindowOptions
- PopupWindow
on which this method was called. Useful for a fluent API.