Files
MapLibreParticleLab/platform/darwin/src/MGLForegroundStyleLayer.h
Minh Nguyễn b6747a84f4 [ios, macos] Hook up hillshade style layers, raster DEM sources to iOS/macOS (#11036)
* [ios, macos] Finished implementing MGLHillshadeStyleLayer

* [macos] Added icon for hillshade layer

Also set the background layer icon to mirror in right-to-left locales.

* [ios, macos] Implemented raster DEM source

* [macos] Added Enhance Terrain debugging command

* [ios, macos] Simplified raster DEM source example
2018-01-25 10:46:27 -08:00

37 lines
1003 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#import <Foundation/Foundation.h>
#import "MGLFoundation.h"
#import "MGLStyleLayer.h"
NS_ASSUME_NONNULL_BEGIN
@class MGLSource;
/**
`MGLForegroundStyleLayer` is an abstract superclass for style layers whose
content is defined by an `MGLSource` object.
Create instances of `MGLRasterStyleLayer`, `MGLHillshadeStyleLayer`, and the
concrete subclasses of `MGLVectorStyleLayer` in order to use
`MGLForegroundStyleLayer`'s methods. Do not create instances of
`MGLForegroundStyleLayer` directly, and do not create your own subclasses of
this class.
*/
MGL_EXPORT
@interface MGLForegroundStyleLayer : MGLStyleLayer
#pragma mark Initializing a Style Layer
- (instancetype)init __attribute__((unavailable("Use -init methods of concrete subclasses instead.")));
#pragma mark Specifying a Style Layer’s Content
/**
Identifier of the source from which the receiver obtains the data to style.
*/
@property (nonatomic, readonly, nullable) NSString *sourceIdentifier;
@end
NS_ASSUME_NONNULL_END