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
packageManagerThe package manager instance that handles offline maps.
styleThe 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
packageManagerThe package manager instance that handles offline maps.
styleAssetPackageThe style asset package (usually a zipped file or an asset)
-
Undocumented
Declaration
Objective-C
-(void)dealloc;
View on GitHub
NTCartoOfflineVectorTileLayer Class Reference