MapPanGestureDelegate

public protocol MapPanGestureDelegate : class

Map Pan Gesture Delegate

  • Informs the delegate the map just panned.

    Declaration

    Swift

    func mapController(_ controller: MZMapViewController, didPanMap displacement: CGPoint)

    Parameters

    controller

    The MZMapViewController that recognized the pan.

    displacement

    The distance in pixels that the screen was moved by the gesture.