OfflineMapTask

constructor(onlineMap: ArcGISMap)

Create the offline map task for the provided online map. The online map must represent a web map. The online map must be of type PortalItemType.WebMap, either on ArcGIS Online or an on-premise ArcGIS Enterprise Portal.

Since

200.1.0


constructor(portalItem: PortalItem)

Creates the offline map task with the provided portal item. The portal item must represent a web map. The PortalItem must be of type PortalItemType.WebMap, either on ArcGIS Online or an on-premise ArcGIS Enterprise Portal.

Since

200.1.0