Protocols

The following protocols are available globally.

  • The MQMapViewTrafficDelegate protocol defines a set of optional methods that you can use to receive traffic-related update messages. Because many map operations require the MQMapView class to load data asynchronously, the map view calls these methods to notify your application when specific operations complete. The map view also uses these methods to request information about traffic annotations displayed on the map, such as the styles and interaction modes to apply to individual annotations.

    See more

    Declaration

    Objective-C

    @protocol MQMapViewTrafficDelegate <NSObject>

    Swift

    protocol MQMapViewTrafficDelegate
  • The MQMapViewPOIDelegate protocol defines optional methods that you can use to receive a message when user interacts with Points of Interest.

    See more

    Declaration

    Objective-C

    @protocol MQMapViewPOIDelegate <NSObject>

    Swift

    protocol MQMapViewPOIDelegate