public final class ZoomPanOptions extends Object
PanOptions
and ZoomOptions
.Constructor and Description |
---|
ZoomPanOptions() |
Modifier and Type | Method and Description |
---|---|
ZoomPanOptions |
setAnimate(boolean animate)
An equivalent of passing animate to both zoom and pan options (see
below).
|
ZoomPanOptions |
setPan(PanOptions pan)
Sets the options for the panning (without the zoom change) if it occurs.
|
ZoomPanOptions |
setReset(boolean reset)
If
true , the map view will be completely reset (without any
animations). |
ZoomPanOptions |
setZoom(ZoomOptions zoom)
Sets the options for the zoom change if it occurs.
|
public ZoomPanOptions setReset(boolean reset)
true
, the map view will be completely reset (without any
animations).reset
- The reset option.ZoomPanOptions
object with the set
options.public ZoomPanOptions setPan(PanOptions pan)
pan
- The pan option.ZoomPanOptions
object with the set
options.public ZoomPanOptions setZoom(ZoomOptions zoom)
zoom
- The zoom options.ZoomPanOptions
object with the set
options.public ZoomPanOptions setAnimate(boolean animate)
animate
- The animate option.ZoomPanOptions
object with the set
options.Copyright © 2017. All rights reserved.