ICreateRoadEventView | iOS SDK | 2GIS Documentation

ICreateRoadEventView

Traffic event creation interface protocol.

Properties

Visible area given the size of the road event creation card.

((UIEdgeInsets) -> ())?

Callback closure when the visible area changes.

(() -> ())?

Callback closure when the cancel button is pressed.

((Result<AddEventResult, Error>) -> ())?

Closing the callback with a road event creation result.