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

Value by which the current zoom value changes.

scalingCenter
ScreenPoint?

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

Value by which the current zoom value changes.

Point on the screen around which the map is scaled.