diff options
Diffstat (limited to 'platform/darwin/src/MGLRendererConfiguration.h')
-rw-r--r-- | platform/darwin/src/MGLRendererConfiguration.h | 54 |
1 files changed, 0 insertions, 54 deletions
diff --git a/platform/darwin/src/MGLRendererConfiguration.h b/platform/darwin/src/MGLRendererConfiguration.h deleted file mode 100644 index 0c539f86f1..0000000000 --- a/platform/darwin/src/MGLRendererConfiguration.h +++ /dev/null @@ -1,54 +0,0 @@ -#import "MGLFoundation.h" -#import <Foundation/Foundation.h> - -#include <mbgl/util/optional.hpp> - -NS_ASSUME_NONNULL_BEGIN - -/** - The MGLRendererConfiguration object represents configuration values for the - renderer. - */ -MGL_EXPORT -@interface MGLRendererConfiguration : NSObject - -/** Returns an instance of the current renderer configuration. */ -@property (class, nonatomic, readonly) MGLRendererConfiguration *currentConfiguration; - -/** The scale factor to use. - - Based on the native scale where available, otherwise the standard screen scale. */ -@property (nonatomic, readonly) const float scaleFactor; - -/** The name of the font family to use for client-side text rendering of CJK ideographs. - - Set MGLIdeographicFontFamilyName in your containing application's Info.plist to - font family name(s) that will be available at run time, such as “PingFang TC” - or “Marker Felt”. This plist key accepts: - - - A string value of a single font family name. - - - An array of font family names. Fonts will be used in the defined order, - eventually falling back to default system font if none are available. - - - A boolean value NO to disable client-side rendering of CJK glyphs — - remote fonts specified in your style will be used instead. - */ -@property (nonatomic, readonly) mbgl::optional<std::string> localFontFamilyName; - -/** - A Boolean value indicating whether symbol layers may enable per-source symbol - collision detection. - - Set `MGLCollisionBehaviorPre4_0` in your containing app's Info.plist or by using - `[[NSUserDefaults standardUserDefaults] setObject:@(YES) forKey:@"MGLCollisionBehaviorPre4_0"]`. - If both are set, the value from `NSUserDefaults` takes priority. - - Setting this property to `YES` in the plist results in symbol layers only running - collision detection against other symbol layers that are part of the same source. - */ -@property (nonatomic, readonly) BOOL perSourceCollisions; - -@end - -NS_ASSUME_NONNULL_END |