Class Details

Represents a model for obtaining information about offline map packages that can be installed using a MapLoader. Map packages are arranged in a tree hierarchy, which is represented in the parent and children data of the MapPackage model.

Note: the root map package is the world map. If a MapPackage having children is installed, each child will also be installed, allowing the installation of entire regions.

Gets the maximum size, in KB, of the MapPackage , representing the maximum amount of space it will take up on disk.

Note: If this is the first MapPackage installed, it will take up the amount of disk space returned by this method. However, if other MapPackage s have already been installed, the amount of disk space this package will take up is considerably less than the size value returned by this method. This is because there is common data between MapPackage s which will be installed upon first installation. To get an accurate representation of the disk space which will be used for a given installation operation use the onInstallationSize(long, long) callback.