Package | Description |
---|---|
com.gwidgets.api.leaflet.options |
Modifier and Type | Method and Description |
---|---|
PopupOptions.Builder |
PopupOptions.Builder.autoPan(java.lang.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.closeButton(java.lang.Boolean closeButton)
Controls the presence of a close button in the popup.
|
PopupOptions.Builder |
PopupOptions.Builder.closeOnClick(java.lang.Boolean closeOnClick)
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.keepInView(java.lang.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(java.lang.Number maxHeight)
If set, creates a scrollable container of the given height inside a popup if its content exceeds it.
|
PopupOptions.Builder |
PopupOptions.Builder.maxWidth(java.lang.Number maxWidth)
Max width of the popup.
|
PopupOptions.Builder |
PopupOptions.Builder.minWidth(java.lang.Number minWidth)
Min width of the popup.
|
PopupOptions.Builder |
PopupOptions.Builder.offset(Point offset)
The offset of the popup position.
|
PopupOptions.Builder |
PopupOptions.Builder.zoomAnimation(java.lang.Boolean zoomAnimation)
Whether to animate the popup on zoom.
|