MapnikStyleSet
Objective-C
@interface MapnikStyleSet : NSObject <NSXMLParserDelegate, MaplyVectorStyleDelegate>
@property (nonatomic, strong, nullable) MaplyVectorStyleSettings *tileStyleSettings;
@property (nonatomic, strong, nullable) NSMutableDictionary *styleDictionary;
@property (nonatomic, weak, nullable) NSObject<MaplyRenderControllerProtocol> *viewC;
@property (nonatomic, readonly) BOOL parsing;
@property (nonatomic, strong, nullable) UIColor *backgroundColor;
@property (nonatomic, assign) NSInteger tileMaxZoom;
@property (nonatomic, assign) NSInteger drawPriorityOffset;
@property (nonatomic, assign) CGFloat alpha;
- (nonnull instancetype)initForViewC:(NSObject<MaplyRenderControllerProtocol> *__nonnull)viewC;
- (void)loadXmlFile:(NSString *__nonnull)filePath;
- (void)loadXmlData:(NSData *__nonnull)docData;
- (void)loadJsonData:(NSData *__nonnull)jsonData;
- (void)loadJsonFile:(NSString*__nonnull)filePath;
- (void)saveAsJSON:(NSString *__nonnull)filePath;
- (void)generateStyles;
@end
Swift
class MapnikStyleSet : NSObject, XMLParserDelegate, MaplyVectorStyleDelegate
Undocumented
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, nullable) MaplyVectorStyleSettings *tileStyleSettings
Swift
var tileStyleSettings: MaplyVectorStyleSettings? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, nullable) NSMutableDictionary *styleDictionary
Swift
var styleDictionary: NSMutableDictionary? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, weak, nullable) NSObject<MaplyRenderControllerProtocol> *viewC
Swift
weak var viewC: (NSObjectProtocol & MaplyRenderControllerProtocol)? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, readonly) BOOL parsing
Swift
var parsing: Bool { get }
-
Undocumented
Declaration
Objective-C
@property (nonatomic, strong, nullable) UIColor *backgroundColor
Swift
var backgroundColor: UnsafeMutablePointer<Int32>? { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) NSInteger tileMaxZoom
Swift
var tileMaxZoom: Int { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) NSInteger drawPriorityOffset
Swift
var drawPriorityOffset: Int { get set }
-
Undocumented
Declaration
Objective-C
@property (nonatomic) CGFloat alpha
Swift
var alpha: CGFloat { get set }
-
Undocumented
Declaration
Objective-C
- (nonnull instancetype)initForViewC:(NSObject<MaplyRenderControllerProtocol> *__nonnull)viewC;
Swift
init(forViewC viewC: NSObjectProtocol & MaplyRenderControllerProtocol)
-
Undocumented
Declaration
Objective-C
- (void)loadXmlFile:(NSString *__nonnull)filePath;
Swift
func loadXmlFile(_ filePath: String)
-
Undocumented
Declaration
Objective-C
- (void)loadXmlData:(NSData *__nonnull)docData;
Swift
func loadXmlData(_ docData: Data)
-
Undocumented
Declaration
Objective-C
- (void)loadJsonData:(NSData *__nonnull)jsonData;
Swift
func loadJsonData(_ jsonData: Data)
-
Undocumented
Declaration
Objective-C
- (void)loadJsonFile:(NSString*__nonnull)filePath;
Swift
func loadJsonFile(_ filePath: String)
-
Undocumented
Declaration
Objective-C
- (void)saveAsJSON:(NSString *__nonnull)filePath;
Swift
func save(asJSON filePath: String)
-
Undocumented
Declaration
Objective-C
- (void)generateStyles;
Swift
func generateStyles()