MapOperation

public struct MapOperation : Hashable

Specified which operation should be performed on which updatable map region.

Note

Operations can only be done on updatable regions.

Important

This is a Public Preview API. It may be changed or removed at any time.
  • Creates an instance of MapOperation

    Declaration

    Swift

    public init(type: MapOperationType, nodeID: RegionGraphNodeID)

    Parameters

    type

    Type of operation to perform

    nodeID

    Node identification on which operation is to be performed

  • Node identification on which operation is to be performed

    Declaration

    Swift

    public let nodeID: RegionGraphNodeID
  • Type of operation to perform

    Declaration

    Swift

    public let type: MapOperationType