ScaleMapEvent | iOS SDK | 2GIS Documentation
iOS SDK

ScaleMapEvent

Event of changing the map scale.

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

Zoom event builder.

Parameters
zoomDelta
Float

Value by which the current scale 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

Value by which the current scale value will change.

Point on the screen relative to which the map scales.