MaplyVectorStyleSimpleGenerator
Objective-C
@interface MaplyVectorStyleSimpleGenerator : NSObject <MaplyVectorStyleDelegate>
Swift
class MaplyVectorStyleSimpleGenerator : NSObject, MaplyVectorStyleDelegate
Simple default style to see something in vector tile data.
A simple vector style that displays each layer in a random color. Use this as a starting point for your own style.
-
Undocumented
Declaration
Objective-C
@property (nonatomic, weak) NSObject<MaplyRenderControllerProtocol> *viewC
Swift
weak var viewC: (NSObjectProtocol & MaplyRenderControllerProtocol)! { get set }
-
Initialize with a map view controller
Declaration
Objective-C
- (id)initWithViewC:(NSObject<MaplyRenderControllerProtocol> *)viewC;
Swift
init!(viewC: (NSObjectProtocol & MaplyRenderControllerProtocol)!)
-
uuid for the styles
Declaration
Objective-C
- (long long)generateID;
Swift
func generateID() -> Int64