iOS SDK

API Reference

On This Page

User Interaction

MGLCalloutView

A protocol for a UIView subclass that displays information about a selected annotation near that annotation.

To receive updates from an object that conforms to the MGLCalloutView protocol, use the optional methods available in the MGLCalloutViewDelegate protocol.

See more

Declaration

Objective-C

@protocol MGLCalloutView <NSObject>

Swift

protocol MGLCalloutView : NSObjectProtocol

MGLCalloutViewDelegate

The MGLCalloutViewDelegate protocol defines a set of optional methods that you can use to receive messages from an object that conforms to the MGLCalloutView protocol. The callout view uses these methods to inform the delegate that the user has interacted with the the callout view.

See more

Declaration

Objective-C

@protocol MGLCalloutViewDelegate <NSObject>

Swift

protocol MGLCalloutViewDelegate : NSObjectProtocol

MGLCompassButton

A specialized view that displays the current compass heading for its associated map.

See more

Declaration

Objective-C

@interface MGLCompassButton : UIImageView

Swift

class MGLCompassButton : UIImageView