Files
MapLibreParticleLab/platform/ios/src/MLNCompassButton.h
mwilsnd 20d9e1028c Platform flattening overhaul (#1393)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Bart Louwers <bart@emeel.net>
2023-07-26 17:50:34 +02:00

23 lines
473 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