public static class FitBoundsOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder()
Instantiates a new builder.
|
Modifier and Type | Method and Description |
---|---|
FitBoundsOptions |
build()
Builds the FitBoundsOptions new instance
|
FitBoundsOptions.Builder |
maxZoom(java.lang.Number maxZoom)
The maximum possible zoom to use.
|
FitBoundsOptions.Builder |
padding(Point padding)
Equivalent of setting both top left and bottom right padding to the same value.
|
FitBoundsOptions.Builder |
paddingBottomRight(Point paddingBottomRight)
The same for bottom right corner of the map.
|
FitBoundsOptions.Builder |
paddingTopLeft(Point paddingTopLeft)
Sets the amount of padding in the top left corner of a map container that shouldn't be accounted for when setting the view to fit bounds.
|
public FitBoundsOptions.Builder paddingTopLeft(Point paddingTopLeft)
paddingTopLeft
- the padding top leftpublic FitBoundsOptions.Builder paddingBottomRight(Point paddingBottomRight)
paddingBottomRight
- the padding bottom rightpublic FitBoundsOptions.Builder padding(Point padding)
padding
- the paddingpublic FitBoundsOptions.Builder maxZoom(java.lang.Number maxZoom)
maxZoom
- the max zoompublic FitBoundsOptions build()