Files
MapLibreParticleLab/platform/darwin/src/MGLBaseStyleLayer.h
Justin R. Miller a6aa786f35 [ios, macos] flesh out iOS runtime styling docs (#6466)
- fixes #5959: MGLBaseStyleLayer docs
- fixes #5960: MGLSource & subclasses docs
- fixes #6467: concrete layer subclass docs
- move Core Graphics include
- slight code & template cleanups
- add ./documentation to git ignores
2016-09-27 13:53:32 -07:00

36 lines
861 B
Objective-C

#import <Foundation/Foundation.h>
#import "MGLTypes.h"
NS_ASSUME_NONNULL_BEGIN
/**
The base style layer class from which all other style layer classes
inherit. Style layers allow runtime customization of all map styling
properties.
You should use the concrete subclasses of `MGLBaseStyleLayer` (which
conform to `MGLStyleLayer`) to style fill, line, symbol, and other layer
types.
*/
@interface MGLBaseStyleLayer : NSObject
/**
The display of the layer. A value of `NO` hides the layer.
*/
@property (nonatomic, assign, getter=isVisible) BOOL visible;
/**
The maximum zoom level at which the layer gets parsed and appears.
*/
@property (nonatomic, assign) float maximumZoomLevel;
/**
The minimum zoom level at which the layer gets parsed and appears.
*/
@property (nonatomic, assign) float minimumZoomLevel;
@end
NS_ASSUME_NONNULL_END