ru.dgis.sdk.map.DirectMapScalingEvent | Android SDK | Urbi 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 changes.

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

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