DownloadPreplannedOfflineMapJob QML Type

  • Esri.ArcGISRuntime
  • DownloadPreplannedOfflineMapJob
  • A job to download an offline map area from an online map as part of the preplanned offline workflow. More...

    Import Statement: import Esri.ArcGISRuntime
    Since: Esri.ArcGISRuntime 100.2
    Inherits:

    Job

    Properties

    Signals

    Detailed Description

    Use this job to download the map content of a map area to your device so that you can work offline without a network connection. Upon completion, the job's result provides the offline map along with the details of any errors incurred during the download process.

    An object of this type is created by the function OfflineMapTask.downloadPreplannedOfflineMapWithParameters.

    See also Cancelable, JsonSerializable, and RemoteResource.

    Property Documentation

    [read-only] downloadDirectoryPath : url

    Returns the download folder used by this job to write the mobile map package result (read-only).

    As the job also returns a mobile map package, the same path can be used to instantiate the MobileMapPackage for later use.


    json : jsobject

    The JSON representation of this object.

    This JSON can be used to instantiate the type instance.


    [read-only] onlineMap : Map

    Returns the online map used by this job (read-only).


    [read-only, since Esri.ArcGISRuntime 100.4] parameters : DownloadPreplannedOfflineMapParameters

    Returns the offline map parameters used to create this job (read-only).

    This property was introduced in Esri.ArcGISRuntime 100.4.


    [read-only] result : DownloadPreplannedOfflineMapResult

    Returns the result from the job (read-only).

    The result includes any error that may have occurred while taking the map offline.


    Signal Documentation

    resultChanged()

    Emitted when the result property changes.

    Note: The corresponding handler is onResultChanged.


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.