ru.dgis.sdk.map.ScaleMapEvent | Android SDK | 2GIS Documentation

ScaleMapEvent

Map scale change event.

ScaleMapEvent(zoomDelta: Float, scalingCenter: ScreenPoint? = null)

Zoom event constructor.

Parameters
zoomDelta
Float

Amount by which the current zoom value will change.

scalingCenter
ScreenPoint?

The point on the screen around which the map is scaled. If no point is given, then scaling is relative to the map's position point.

Returns
Properties

The amount by which the current zoom value will change.

The point on the screen around which the Map is scaled.