Files
MapLibreParticleLab/platform/ios/src/MLNCompassButton.h
2024-06-11 19:01:50 +02:00

24 lines
474 B
Objective-C

#import <UIKit/UIKit.h>
#import "MLNTypes.h"
NS_ASSUME_NONNULL_BEGIN
/**
A specialized view that displays the current compass heading for its associated map.
*/
MLN_EXPORT
@interface MLNCompassButton : 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) MLNOrnamentVisibility compassVisibility;
@end
NS_ASSUME_NONNULL_END