public static class ControlZoomOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ControlZoomOptions |
build()
Builds the ControlZoomOptions new instance
|
ControlZoomOptions.Builder |
position(java.lang.String position)
The position of the control (one of the map corners).
|
ControlZoomOptions.Builder |
zoomInText(java.lang.String zoomInText)
The text set on the zoom in button.
|
ControlZoomOptions.Builder |
zoomInTitle(java.lang.String zoomInTitle)
The title set on the zoom in button.
|
ControlZoomOptions.Builder |
zoomOutText(java.lang.String zoomOutText)
The text set on the zoom out button.
|
ControlZoomOptions.Builder |
zoomOutTitle(java.lang.String zoomOutTitle)
The title set on the zoom out button.
|
public ControlZoomOptions.Builder position(java.lang.String position)
position
- the positionpublic ControlZoomOptions.Builder zoomInText(java.lang.String zoomInText)
zoomInText
- the zoom in textpublic ControlZoomOptions.Builder zoomOutText(java.lang.String zoomOutText)
zoomOutText
- the zoom out textpublic ControlZoomOptions.Builder zoomInTitle(java.lang.String zoomInTitle)
zoomInTitle
- the zoom in titlepublic ControlZoomOptions.Builder zoomOutTitle(java.lang.String zoomOutTitle)
zoomOutTitle
- the zoom out titlepublic ControlZoomOptions build()