From 3913ab898f2c2ecc3b638eca4681957b1cf74330 Mon Sep 17 00:00:00 2001 From: Iván Ávalos Date: Sat, 5 Feb 2022 19:17:10 -0600 Subject: Removed SwiftUIFlowLayout dependency and updated WhirlyGlobe-Maply to latest develop version --- .../WhirlyGlobe.framework/Headers/SLDStyleSet.h | 119 +++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100644 iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/SLDStyleSet.h (limited to 'iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/SLDStyleSet.h') diff --git a/iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/SLDStyleSet.h b/iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/SLDStyleSet.h new file mode 100644 index 0000000..4e705cf --- /dev/null +++ b/iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/SLDStyleSet.h @@ -0,0 +1,119 @@ +// +// SLDStyleSet.h +// SLDTest +// +// Created by Ranen Ghosh on 2016-08-12. +// Copyright 2016-2019 mousebird consulting. +// + +#import +#import + +/** @brief Class corresponding to the sld:NamedLayer element + @see http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd for SLD v1.1.0 + @see http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd for SLD v1.0.0 + */ +@interface SLDNamedLayer : NSObject + +@property (nonatomic, strong) NSString * _Nullable name; +@property (nonatomic, strong) NSArray * _Nullable userStyles; + +@end + +/** @brief Class corresponding to the sld:UserStyle element + @see http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd for SLD v1.1.0 + @see http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd for SLD v1.0.0 + */ +@interface SLDUserStyle : NSObject + +@property (nonatomic, strong) NSString * _Nullable name; +@property (nonatomic, strong) NSArray * _Nullable featureTypeStyles; + +@end + +/** @brief Class corresponding to the se:FeatureTypeStyle element + @see http://schemas.opengis.net/se/1.1.0/FeatureStyle.xsd for SLD v1.1.0 + @see http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd for SLD v1.0.0 + */ +@interface SLDFeatureTypeStyle : NSObject + +@property (nonatomic, strong) NSArray * _Nullable rules; + +@end + +/** @brief Class corresponding to the se:Rule element + @see http://schemas.opengis.net/se/1.1.0/FeatureStyle.xsd for SLD v1.1.0 + @see http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd for SLD v1.0.0 + */ +@interface SLDRule : NSObject + +@property (nonatomic, strong) NSArray * _Nullable filters; +@property (nonatomic, strong) NSArray * _Nullable elseFilters; + +@property (nonatomic, strong) NSNumber * _Nullable minScaleDenominator; +@property (nonatomic, strong) NSNumber * _Nullable maxScaleDenominator; +@property (nonatomic, strong) NSNumber * _Nullable relativeDrawPriority; + +@property (nonatomic, strong) NSMutableArray * _Nullable symbolizers; + +@end + + + +@class SLDOperator; +@class SLDExpression; + +/** @brief Class corresponding to the ogc:Filter element + @see http://schemas.opengis.net/filter/1.1.0/filter.xsd for SLD v1.1.0 + @see http://schemas.opengis.net/filter/1.0.0/filter.xsd for SLD v1.0.0 + */ +@interface SLDFilter : NSObject + +@property (nonatomic, strong) SLDOperator * _Nonnull sldOperator; + +@end + +/** @brief Class corresponding to the sld:StyledLayerDescriptor element + + The sld:StyledLayerDescriptor element is the root element of the Styled Layer Descriptor document. + + Implements the MaplyVectorStyleDelegate protocol for matching and applying styles to vector objects. + @see http://schemas.opengis.net/sld/1.1.0/StyledLayerDescriptor.xsd for SLD v1.1.0 + @see http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd for SLD v1.0.0 + @see MaplyVectorStyleDelegate + */ +@interface SLDStyleSet : NSObject + +@property (nonatomic, assign) BOOL useLayerNames; +@property (nonatomic, weak, nullable) NSObject *viewC; +@property (nonatomic, strong, nullable) MaplyVectorStyleSettings *tileStyleSettings; + +/** + Constructs a SLDStyleSet object. + + After constructing the SLDStyleSet object, call loadSldURL: or loadSldData:baseURL: to parse the desired SLD document tree and create the corresponding symbolizers. + + @param viewC The map or globe view controller. + + @param useLayerNames Whether to use names of NamedLayer elements as a criteria in matching styles. + + @param relativeDrawPriority The z-order relative to other vector features. This will be incremented internally for each style rule, so if you have multiple SLDStyleSets, leave some space between the relativeDrawPriority of each. + */ +- (id _Nullable)initWithViewC:(NSObject * _Nonnull)viewC useLayerNames:(BOOL)useLayerNames relativeDrawPriority:(int)relativeDrawPriority; + +- (void)loadSldURL:(NSURL *__nullable)url; +- (void)loadSldData:(NSData *__nonnull)sldData baseURL:(NSURL *__nonnull)baseURL; + +@end + + + + + + + + + + + + -- cgit v1.2.3