zoom

fun zoom(inZoomLevel: Double, inRedraw: Boolean)

Performs a zoom operation centered on the view

Parameters

inZoomLevel

Zoom level 0 is the zoom level where at least half the Earth is visible independently of: -screen’s dimension and dpi -map (SVS) resolution

Zoom level n = twice the scale of zoom level n-1. In other words the number of meters per pixel at zoom level n is half the number of meters at zoom level n-1.

inRedraw

A flag that indicates whether the view must be redrawn or not.