Files
MapLibreParticleLab/platform/ios/src/MGLCompassButton.h

23 lines
473 B
Objective-C

#import <UIKit/UIKit.h>
#import "MGLTypes.h"
NS_ASSUME_NONNULL_BEGIN
/**
A specialized view that displays the current compass heading for its associated map.
*/
MGL_EXPORT
@interface MGLCompassButton : UIImageView
/**
The visibility of the compass button.
You can configure a compass button to be visible all the time or only when the compass heading changes.
*/
@property (nonatomic, assign) MGLOrnamentVisibility compassVisibility;
@end
NS_ASSUME_NONNULL_END