@JsType(isNative=true)
public class Popup
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
L |
addTo(Map map)
Adds the popup to the map.
|
L |
getLatLng()
Returns the geographical point of popup.
|
L |
openOn(Map map)
Adds the popup to the map and closes the previous one.
|
L |
setContent(HTMLElement htmlContent)
Sets the HTML content of the popup.
|
L |
setContent(java.lang.String htmlContent)
Sets the HTML content of the popup.
|
L |
setLatLng(LatLng latlng)
Sets the geographical point where the popup will open.
|
L |
update()
Updates the popup content, layout and position.
|
@JsMethod public L addTo(Map map)
map - the map@JsMethod public L openOn(Map map)
map - the map@JsMethod public L setLatLng(LatLng latlng)
latlng - the latlng@JsMethod public L setContent(java.lang.String htmlContent)
htmlContent - the html content@JsMethod public L setContent(HTMLElement htmlContent)
htmlContent - the html content@JsMethod public L update()
@JsMethod public L getLatLng()