Click or drag to resize

OfflineMapTask Methods

The OfflineMapTask type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCode exampleCreateAsync(Map)
Initializes a new instance of the OfflineMapTask class for the provided online map.
Public methodStatic memberCode exampleCreateAsync(PortalItem)
Initializes a new instance of the OfflineMapTask class from the specified PortalItem. The portal item must represent a webmap.
Public methodCode exampleCreateDefaultDownloadPreplannedOfflineMapParametersAsync
Public methodCode exampleCreateDefaultGenerateOfflineMapParametersAsync(Geometry)
Returns a Task of GenerateOfflineMapParameters created from the specified area of interest.
Public methodCreateDefaultGenerateOfflineMapParametersAsync(Geometry, Double, Double)
Public methodCode exampleCreateGenerateOfflineMapParameterOverridesAsync
Public methodCode exampleDownloadPreplannedOfflineMap(DownloadPreplannedOfflineMapParameters, String)
Returns a job that is used to download the PreplannedMapArea specified by the given parameters object.
Public methodDownloadPreplannedOfflineMap(PreplannedMapArea, String) Obsolete.
Returns a job that is used to download the specified preplanned map area of an online map.
Public methodDownloadPreplannedOfflineMap(PreplannedMapArea, String, Boolean) Obsolete.
Returns a job that is used to download the specified preplanned map area of an online map but excludes the map's basemap.
Public methodCode exampleGenerateOfflineMap(GenerateOfflineMapParameters, String)
Returns a job that is used to generate an offline map using the specified parameters.
Public methodCode exampleGenerateOfflineMap(GenerateOfflineMapParameters, String, GenerateOfflineMapParameterOverrides)
Returns a job that is used to generate an offline map using the specified parameters and overrides.
Public methodGetOfflineMapCapabilitiesAsync
Public methodCode exampleGetPreplannedMapAreasAsync
Asynchronously retrieves a list of offline map areas, if there are any.
Top
See Also