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 --- .../Headers/MaplyVectorTileStyle.h | 60 ++++++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/MaplyVectorTileStyle.h (limited to 'iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/MaplyVectorTileStyle.h') diff --git a/iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/MaplyVectorTileStyle.h b/iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/MaplyVectorTileStyle.h new file mode 100644 index 0000000..5f4eed2 --- /dev/null +++ b/iosApp/WhirlyGlobe.xcframework/ios-arm64/WhirlyGlobe.framework/Headers/MaplyVectorTileStyle.h @@ -0,0 +1,60 @@ +/* MaplyVectorTileStyle.h + * WhirlyGlobe-MaplyComponent + * + * Created by Steve Gifford on 1/3/14. + * Copyright 2011-2022 mousebird consulting + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#import +#import + +/** The Maply Vector Tile Style is an internal representation of the style JSON coming out + of a Maply Vector Tile database. + */ +@interface MaplyVectorTileStyle : NSObject + +/** + Construct a style entry from an NSDictionary. + */ ++ (id)styleFromStyleEntry:(NSDictionary *)styleEntry settings:(MaplyVectorStyleSettings *)settings viewC:(NSObject *)viewC; + +/// Unique Identifier for this style +@property (nonatomic) long long uuid; + +/// Set if this geometry is additive (e.g. sticks around) rather than replacement +@property (nonatomic) bool geomAdditive; + +/// Construct a style entry from an NSDictionary +- (instancetype)initWithStyleEntry:(NSDictionary *)styleEntry viewC:(NSObject *)viewC; + +/// Turn the min/maxscaledenom into height ranges for minVis/maxVis +- (void)resolveVisibility:(NSDictionary *)styleEntry settings:(MaplyVectorStyleSettings *)settings desc:(NSMutableDictionary *)desc; + +/// parse a mapnik style template string +- (NSString*)formatText:(NSString*)formatString forObject:(MaplyVectorObject*)vec; + +/// The view controller we're constructing objects in +@property (nonatomic,weak) NSObject *viewC; + +/// If set, we create selectable objects +/// This controls whether the objects we create are selectable. Off by default. +@property (nonatomic) bool selectable; + +/// Parse the various types of color strings ++ (UIColor *) ParseColor:(NSString *)colorStr; + +/// Parse an RGB color and fill in the alpha ++ (UIColor *) ParseColor:(NSString *)colorStr alpha:(CGFloat)alpha; + +@end -- cgit v1.2.3