PreplannedMapArea class final
Represents a single preplanned offline map area.
Offline map areas are specific work areas or major incident areas that are defined by an online map author ahead of time. Each online map can contain a number of offline map areas. These can be provided in a list by the OfflineMapTask.getPreplannedMapAreas method. Each preplanned map area uses map content that is stored online. Download this map content by running a DownloadPreplannedOfflineMapJob. Create this job by passing the preplanned map area to the OfflineMapTask.downloadPreplannedOfflineMapWithParameters method on the OfflineMapTask.
To successfully load a PreplannedMapArea the PreplannedMapArea.packagingStatus must be PreplannedPackagingStatus.complete.
- Implemented types
- Mixed in types
Constructors
- PreplannedMapArea.withItem(PortalItem portalItem)
-
Create an offline map area instance with a portal item that is of type map
area.
factory
Properties
- areaOfInterest → Geometry?
-
The area of interest bounding the offline map area.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- loadError → ArcGISException?
-
The load error.
no setterinherited
- loadStatus → LoadStatus
-
The load status.
no setterinherited
-
onLoadStatusChanged
→ Stream<
LoadStatus> -
A stream that reports changes to the
LoadStatus
.no setterinherited -
packageItems
→ List<
PortalItem> -
Portal items for packages related to this preplanned map area.
no setter
- packagingStatus → PreplannedPackagingStatus
-
Describes the packaging status of the online map area.
no setter
- portalItem → PortalItem
-
The portal item that this offline map area was created from.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateCapabilities → OfflineMapUpdateCapabilities?
-
Describes the methods for obtaining updates that are supported for this
offline map area.
no setter
Methods
-
cancelLoad(
) → void -
Cancels loading metadata for the object.
inherited
-
load(
) → Future< void> -
Loads the metadata for the object asynchronously.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retryLoad(
) → Future< void> -
Loads or retries loading metadata for the object asynchronously.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited