@JsType(isNative=true, namespace="<global>", name="Object") public class PopupOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PopupOptions.Builder
The Class Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
getAttribution() |
boolean |
getAutoClose()
Gets whether to override the default behavior of the popup closing when user clicks the map (set globally by the Map closePopupOnClick option).
|
boolean |
getAutoPan()
Gets the auto pan of the popup
|
Point |
getAutoPanPadding()
Gets whether top left and bottom right autopan padding are set to the same value.
|
Point |
getAutoPanPaddingBottomRight()
Gets The margin between the popup and the bottom right corner of the map view after autopanning was performed.
|
Point |
getAutoPanPaddingTopLeft()
Gets The margin between the popup and the top left corner of the map view after autopanning was performed.
|
String |
getClassName()
Gets the custom class name to assign to the popup.
|
boolean |
getCloseButton()
Gets whether to display a close button on the popup
|
boolean |
getKeepInView()
Gets whether to prevent users from panning the popup off of the screen while it is open.
|
double |
getMaxHeight()
Gets the max height of the popup
|
double |
getMaxWidth()
Gets the max width of the popup
|
double |
getMinWidth()
Gets the min width of the popup.
|
Point |
getOffset()
Gets The offset of the popup position.
|
String |
getPane() |
@JsOverlay public final double getMaxWidth()
@JsOverlay public final double getMinWidth()
@JsOverlay public final double getMaxHeight()
@JsOverlay public final boolean getAutoPan()
@JsOverlay public final boolean getKeepInView()
@JsOverlay public final boolean getCloseButton()
@JsOverlay public final Point getOffset()
@JsOverlay public final Point getAutoPanPaddingTopLeft()
@JsOverlay public final Point getAutoPanPaddingBottomRight()
@JsOverlay public final Point getAutoPanPadding()
@JsOverlay public final boolean getAutoClose()
@JsOverlay public final String getClassName()
@JsOverlay public final String getPane()
@JsOverlay public final String getAttribution()
Copyright © 2018 G-Widgets. All rights reserved.