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

DirectMapScalingEvent

Event of direct map scaling. Direct map control events are described in DirectMapControlBeginEvent.

DirectMapScalingEvent(
	zoomDelta: Float,
	timestamp: Duration,
	scalingCenter: ScreenPoint? = null
)
Parameters
zoomDelta
Float

amount by which the current zoom value will change.

timestamp
Duration

system event generation time.

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.