aboutsummaryrefslogtreecommitdiff
path: root/iosApp/WhirlyGlobeMaplyComponent.xcframework/ios-arm64/WhirlyGlobeMaplyComponent.framework/Headers/MaplyVectorTileStyle.h
diff options
context:
space:
mode:
authorIván Ávalos <avalos@disroot.org>2022-01-31 00:52:09 -0600
committerIván Ávalos <avalos@disroot.org>2022-01-31 00:52:09 -0600
commit1b6df3a665605faa4c8b02ec31e7433caad1b0b1 (patch)
tree876b3ab2ab45980480d6e6bf2b5696708b72f25e /iosApp/WhirlyGlobeMaplyComponent.xcframework/ios-arm64/WhirlyGlobeMaplyComponent.framework/Headers/MaplyVectorTileStyle.h
parentdf95aae61affe160257cd276c5c342a9c18b0d94 (diff)
downloadetbsa-trackermap-mobile-1b6df3a665605faa4c8b02ec31e7433caad1b0b1.tar.gz
etbsa-trackermap-mobile-1b6df3a665605faa4c8b02ec31e7433caad1b0b1.tar.bz2
etbsa-trackermap-mobile-1b6df3a665605faa4c8b02ec31e7433caad1b0b1.zip
Added WhirlyGlobe-Maply .xcframework and implemented map layer switch
Diffstat (limited to 'iosApp/WhirlyGlobeMaplyComponent.xcframework/ios-arm64/WhirlyGlobeMaplyComponent.framework/Headers/MaplyVectorTileStyle.h')
-rw-r--r--iosApp/WhirlyGlobeMaplyComponent.xcframework/ios-arm64/WhirlyGlobeMaplyComponent.framework/Headers/MaplyVectorTileStyle.h60
1 files changed, 60 insertions, 0 deletions
diff --git a/iosApp/WhirlyGlobeMaplyComponent.xcframework/ios-arm64/WhirlyGlobeMaplyComponent.framework/Headers/MaplyVectorTileStyle.h b/iosApp/WhirlyGlobeMaplyComponent.xcframework/ios-arm64/WhirlyGlobeMaplyComponent.framework/Headers/MaplyVectorTileStyle.h
new file mode 100644
index 0000000..c917859
--- /dev/null
+++ b/iosApp/WhirlyGlobeMaplyComponent.xcframework/ios-arm64/WhirlyGlobeMaplyComponent.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 <UIKit/UIKit.h>
+#import <WhirlyGlobeMaplyComponent/MaplyVectorStyle.h>
+
+/** The Maply Vector Tile Style is an internal representation of the style JSON coming out
+ of a Maply Vector Tile database.
+ */
+@interface MaplyVectorTileStyle : NSObject<MaplyVectorStyle>
+
+/**
+ Construct a style entry from an NSDictionary.
+ */
++ (id)styleFromStyleEntry:(NSDictionary *)styleEntry settings:(MaplyVectorStyleSettings *)settings viewC:(NSObject<MaplyRenderControllerProtocol> *)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<MaplyRenderControllerProtocol> *)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<MaplyRenderControllerProtocol> *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