DirectMapScalingEvent | iOS SDK | Urbi Documentation
iOS SDK

DirectMapScalingEvent

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

Extends: InputEvent
public convenience init(
    zoomDelta: Float,
    timestamp: TimeInterval,
    scalingCenter: ScreenPoint? = nil
)
Parameters
zoomDelta
Float

Value by which the current scale value will change.

timestamp
TimeInterval

Time of the system event generation.

scalingCenter
ScreenPoint?

Point on the screen relative to which the map scales. If not set, scaling is done relative to the map position point.

Properties

Value by which the current scale value will change.

Point on the screen relative to which the map scales.