Click or drag to resize

PreplannedMapAreaCreateAsync Method (PortalItem)

Initializes a new instance of the PreplannedMapArea class from the specified PortalItem. The resulting map area will be loaded.

Namespace:  Esri.ArcGISRuntime.Tasks.Offline
Assembly:  Esri.ArcGISRuntime (in Esri.ArcGISRuntime.dll) Version: 100.11.0
Syntax
public static Task<PreplannedMapArea> CreateAsync(
	PortalItem portalItem
)

Parameters

portalItem
Type: Esri.ArcGISRuntime.PortalPortalItem
The preplanned map area portal item

Return Value

Type: TaskPreplannedMapArea
A Task that represents the async create operation. The task's result will be the new PreplannedMapArea.
Remarks
The portalItem must of type WebMap.
See Also