MapLabelSelectDelegate

public protocol MapLabelSelectDelegate : class

MapLabelSelectDelegate

  • Informs the delegate a label of the map was just selected

    Declaration

    Swift

    func mapController(_ controller: MZMapViewController, didSelectLabel labelPickResult: TGLabelPickResult, atScreenPosition position: CGPoint)

    Parameters

    controller

    The MZMapViewController that recognized the selection.

    labelPickResult

    A label returned as an instance of TGLabelPickResult.

    atScreenPosition

    The screen coordinates of the picked label.