zoomBy

Returns a CameraUpdate that adjusts the zoom level by the specified amount.

Positive values zoom in, negative values zoom out.

Return

A CameraUpdate for the relative zoom adjustment

Parameters

amount

The amount to adjust the zoom level (e.g., 1.5 or -2.0)


Returns a CameraUpdate that adjusts the zoom level by the specified amount around a point on the screen: the location shown at focus stays there, as with a pinch.

Return

A CameraUpdate for the relative zoom adjustment

Parameters

amount

The amount to adjust the zoom level, positive to zoom in

focus

The screen point in pixels, e.g. where the user double tapped