Protocols
The following protocols are available globally.
-
The
See moreMQMapViewTrafficDelegate
protocol defines a set of optional methods that you can use to receive traffic-related update messages. Because many map operations require theMQMapView
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.Declaration
Objective-C
@protocol MQMapViewTrafficDelegate <NSObject>
Swift
protocol MQMapViewTrafficDelegate
-
The
See moreMQMapViewPOIDelegate
protocol defines optional methods that you can use to receive a message when user interacts with Points of Interest.Declaration
Objective-C
@protocol MQMapViewPOIDelegate <NSObject>
Swift
protocol MQMapViewPOIDelegate