MapPackageDownloader
public class MapPackageDownloader : NSObject
-
Declaration
Swift
public static func sharedInstance() -> MapPackageDownloader
-
Declaration
Swift
public override func observeValue(forKeyPath keyPath: String?, of object: Any?, change: [NSKeyValueChangeKey : Any]?, context: UnsafeMutableRawPointer?)
-
Get the data package for a given property and package type. Returns the venue package or null.
Declaration
Swift
public func getPackage(propertyId: Int, type: MNPackageType) -> DataPackage?
-
Delete the data package for a given property
Declaration
Swift
public func deletePackages(propertyId: Int)
-
Update the data package for a given property
Declaration
Swift
public func updatePackage(propertyId: Int, packageType: MNPackageType, filerId: String, delegate: PackageDelegate?)
-
Retrieve the file path to the carto css file associated with the given filerId
Declaration
Swift
public func getCartoCssFilePath(filerId: String) -> String?
-
Retrieve the file path to the carto css file associated with the given propertyId. It returns the file path to the carto css file (or null if it doesn’t exist)
Declaration
Swift
public func getCartoCssFilePath(propertyId: Int) -> String?
-
Declaration
Swift
public func getMapTilesFilePath() -> String