public final class ZoomOptions extends Object
Constructor and Description |
---|
ZoomOptions() |
Modifier and Type | Method and Description |
---|---|
ZoomOptions |
setAnimate(boolean animate)
If not specified, zoom animation will happen if the zoom origin is inside
the current view.
|
public ZoomOptions setAnimate(boolean animate)
true
, the map will attempt animating
zoom disregarding where zoom origin is. Setting false
will
make it always reset the view completely without animation.animate
- The animate option.ZoomOptions
object with the set options.Copyright © 2017. All rights reserved.