OfflineMapTask.withOnlineMap constructor
- ArcGISMap onlineMap
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.
Parameters:
onlineMap
— Online map specifying the map to take offline.