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

ScaleMapEvent

Map scale change event.

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

Zoom event constructor.

Parameters
zoomDelta
Float

Amount by which the current zoom value changes.

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 changes.

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