scale

fun scale(focusX: Float, focusY: Float, scaleFactor: Float)

Set scale

Parameters

focusX

X screen coordinate

focusY

Y screen coordinate

scaleFactor

multiplier that determines the direction and magnitude of the zoom. A scaleFactor greater than 1.0 signifies zooming in, making the map appear closer. A scaleFactor less than 1.0 signifies zooming out, making the map appear farther away.