ScaleMapEvent | iOS SDK | Urbi Documentation
iOS SDK

ScaleMapEvent

The event of changing the map scale.

Extends: Event
public convenience init(
    zoomDelta: Float,
    scalingCenter: ScreenPoint? = nil
)

The zoom event builder.

Parameters
zoomDelta
Float

The value by which the current zoom value will change.

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

The value by which the current scale value will change.

Point on the screen relative to which the map scales.