Offline Map State
Represents the state of the OfflineMapAreas composable.
Behavior
This state class provides two constructors to initialize the OfflineMapAreas composable using an ArcGISMap or an OfflineMapInfo. Therefore, the OfflineMapAreas composable can be used either when the device is connected to or disconnected from the network.
In other words, the composable can be used in the following situations:
When the device is connected to the network…
Displays preplanned map areas from a web map that are available for download.
When the web map doesn’t contain preplanned map areas, users can add and download on-demand map areas by specifying a geographic area and level of detail.
Use the constructor with ArcGISMap to create the state.
When the device is disconnected from the network…
Displays only downloaded map areas by retrieving offline map info from the device.
Use the constructor with OfflineMapInfo to create the state.
When the device network connection has changed…
Re-initialize the the state
OfflineMapState
using the desired constructor.
Associated Types
OfflineMapState
has the following associated types:
Since
200.8.0
Constructors
Represents the state of the offline map with a given ArcGISMap.
Represents the state of the offline map with a given OfflineMapInfo.