NTCartoOfflineVectorTileLayer
@interface NTCartoOfflineVectorTileLayer : NTCartoVectorTileLayer
Specialized offline vector tile layer that uses CartoPackageManager for offline maps service. This layer is intended as a ‘shortcut’ to make using Carto offline service and vector tiles as simple as possible.
-
Constructs a CartoOfflineVectorTileLayer object from a specificed base map style.
Declaration
Objective-C
- (id)initWithPackageManager:(NTCartoPackageManager *)packageManager style:(enum NTCartoBaseMapStyle)style;
Parameters
packageManager
The package manager instance that handles offline maps.
style
The style to use for the layer.
-
Constructs a CartoOfflineVectorTileLayer object from a source name and style asset package. Style asset package defines visual style of the map and must be compatible with the source.
Declaration
Objective-C
- (id)initWithPackageManager:(NTCartoPackageManager *)packageManager styleAssetPackage:(NTAssetPackage *)styleAssetPackage;
Parameters
packageManager
The package manager instance that handles offline maps.
styleAssetPackage
The style asset package (usually a zipped file or an asset)
-
Undocumented
Declaration
Objective-C
-(void)dealloc;