Package | Description |
---|---|
com.gwidgets.api.leaflet.options |
Modifier and Type | Method and Description |
---|---|
PopupOptions.Builder |
PopupOptions.Builder.attribution(String attribution) |
PopupOptions.Builder |
PopupOptions.Builder.autoClose(Boolean autoClose)
Set it to false if you want to override the default behavior of the popup closing when user clicks the map (set globally by the Map closePopupOnClick option).
|
PopupOptions.Builder |
PopupOptions.Builder.autoPan(Boolean autoPan)
Set it to false if you don't want the map to do panning animation to fit the opened popup.
|
PopupOptions.Builder |
PopupOptions.Builder.autoPanPadding(Point autoPanPadding)
Equivalent of setting both top left and bottom right autopan padding to the same value.
|
PopupOptions.Builder |
PopupOptions.Builder.autoPanPaddingBottomRight(Point autoPanPaddingBottomRight)
The margin between the popup and the bottom right corner of the map view after autopanning was performed.
|
PopupOptions.Builder |
PopupOptions.Builder.autoPanPaddingTopLeft(Point autoPanPaddingTopLeft)
The margin between the popup and the top left corner of the map view after autopanning was performed.
|
PopupOptions.Builder |
PopupOptions.Builder.className(String className)
A custom class name to assign to the popup.
|
PopupOptions.Builder |
PopupOptions.Builder.closeButton(Boolean closeButton)
Controls the presence of a close button in the popup.
|
PopupOptions.Builder |
PopupOptions.Builder.keepInView(Boolean keepInView)
Set it to true if you want to prevent users from panning the popup off of the screen while it is open.
|
PopupOptions.Builder |
PopupOptions.Builder.maxHeight(Double maxHeight)
If set, creates a scrollable container of the given height inside a popup if its content exceeds it.
|
PopupOptions.Builder |
PopupOptions.Builder.maxWidth(Double maxWidth)
Max width of the popup.
|
PopupOptions.Builder |
PopupOptions.Builder.minWidth(Double minWidth)
Min width of the popup.
|
PopupOptions.Builder |
PopupOptions.Builder.offset(Point offset)
The offset of the popup position.
|
PopupOptions.Builder |
PopupOptions.Builder.pane(String pane) |
Copyright © 2018 G-Widgets. All rights reserved.