Files
MapLibreParticleLab/platform/ios/src/MLNScaleBar.h
2026-03-30 21:04:57 +02:00

25 lines
668 B
Objective-C

#import <CoreLocation/CoreLocation.h>
#import <UIKit/UIKit.h>
#import "MLNFoundation.h"
MLN_EXPORT
@interface MLNScaleBar : UIView
// Sets the scale and redraws the scale bar
@property (nonatomic, assign) CLLocationDistance metersPerPoint;
// Sets whether the scale uses styles that make it easier to read on a dark styled map
@property (nonatomic, assign) BOOL shouldShowDarkStyles;
// Sets whether the scale uses metric
@property (nonatomic, assign) BOOL usesMetricSystem;
// Sets the primary color of the scale bar
@property (nonatomic) UIColor *primaryColor;
// Sets the secondary color of the scale bar
@property (nonatomic) UIColor *secondaryColor;
@end