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/MapboxVectorInterpreter.h | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 iosApp/WhirlyGlobe.xcframework/ios-arm64_x86_64-simulator/WhirlyGlobe.framework/Headers/MapboxVectorInterpreter.h (limited to 'iosApp/WhirlyGlobe.xcframework/ios-arm64_x86_64-simulator/WhirlyGlobe.framework/Headers/MapboxVectorInterpreter.h') diff --git a/iosApp/WhirlyGlobe.xcframework/ios-arm64_x86_64-simulator/WhirlyGlobe.framework/Headers/MapboxVectorInterpreter.h b/iosApp/WhirlyGlobe.xcframework/ios-arm64_x86_64-simulator/WhirlyGlobe.framework/Headers/MapboxVectorInterpreter.h new file mode 100644 index 0000000..25a3417 --- /dev/null +++ b/iosApp/WhirlyGlobe.xcframework/ios-arm64_x86_64-simulator/WhirlyGlobe.framework/Headers/MapboxVectorInterpreter.h @@ -0,0 +1,65 @@ +/* + * MapboxVectorTilesImageDelegate.h + * WhirlyGlobe-MaplyComponent + * + * Created by Steve Gifford on January 24 2018 + * Copyright 2011-2022 Saildrone + * + * 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 +#import +#import +#import +#import + +@class MapboxVectorStyleSet; + +/** + An interpreter for Mapbox Vector Tiles. + + This will turn vector tiles into images, visual objects, or a combination of the two. Loader interpreters like + this one can be used by Loaders that talk to ondevice objects (such as MBTiles files) or remote tile + sources. + */ +@interface MapboxVectorInterpreter : NSObject + +/** This version of the init takes an image style set, a vector style set, + and an offline renderer to build the image tiles. + + Image tiles will be used as a background and vectors put on top of them. + This is very nice for the globe, but requires specialized style sheets. + */ +- (instancetype _Nullable ) initWithImageStyle:(NSObject *__nonnull)imageStyle + offlineRender:(MaplyRenderController *__nonnull)renderControl + vectorStyle:(NSObject *__nonnull)vectorStyle + viewC:(NSObject *__nonnull)viewC; + +/** This version of the init builds visual features for vector tiles. + + This interpreter can be used as overlay data or a full map, depending + on how your style is configured. + */ +- (instancetype __nullable) initWithVectorStyle:(NSObject *__nonnull)vectorStyle + viewC:(NSObject *__nonnull)viewC; + +/** + Set an optional list of unique features we'll filter on. + Any feature we want to pass through must have the given attribute name and one of the values. + */ +- (void)setUUIDName:(NSString * __nonnull)uuidName uuidValues:(NSArray * __nonnull)uuids; + +@end -- cgit v1.2.3