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

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

timestamp
Duration

Time of the system event generation.

scalingCenter
ScreenPoint?

Point on the screen around which the map is scaled. If no point is given, scaling is done relatively to the map position point.

Returns
Properties

Amount by which the current zoom value changes.

Point on the screen around which the map is scaled.