SKMapViewStyle Class Reference

Inherits from NSObject
Declared in SKMapViewStyle.h

Overview

SKMapViewStyle stores information about the style of the map.

  styleID

The ID used to identify a style. Should be used for alternative styles. For the main style, 0 is set by default.

@property (nonatomic, assign) NSInteger styleID

Discussion

The ID used to identify a style. Should be used for alternative styles. For the main style, 0 is set by default.

Declared In

SKMapViewStyle.h

  resourcesFolderName

The name of the desired map style resources folder, located in SKMaps.bundle/MapResources . The default is “DayStyle”.

@property (nonatomic, strong) NSString *resourcesFolderName

Discussion

The name of the desired map style resources folder, located in SKMaps.bundle/MapResources . The default is “DayStyle”.

Declared In

SKMapViewStyle.h

  styleFileName

The name of the map style JSON, located in the resourcesFolderName. The default is “daystyle.json”.

@property (nonatomic, strong) NSString *styleFileName

Discussion

The name of the map style JSON, located in the resourcesFolderName. The default is “daystyle.json”.

Declared In

SKMapViewStyle.h

  resourcesPath

The absolute path to the map style resource folder. The default is SKMaps.bundle/MapResources, located in the main bundle. Should be changed only for downloaded styles.

@property (nonatomic, strong) NSString *resourcesPath

Discussion

The absolute path to the map style resource folder. The default is SKMaps.bundle/MapResources, located in the main bundle. Should be changed only for downloaded styles.

Declared In

SKMapViewStyle.h

+ mapViewStyle

Creates a newly initialized SKMapViewStyle object.

+ (instancetype)mapViewStyle

Discussion

Creates a newly initialized SKMapViewStyle object.

Declared In

SKMapViewStyle.h