Property IsMobileMapPackageReopenRequired
IsMobileMapPackageReopenRequired
Gets a value indicating whether the mobile map package must be closed and reopened with a new instance to allow the updates to take effect.
Declaration
public bool IsMobileMapPackageReopenRequired { get; }
Property Value
Type | Description |
---|---|
System. |
A value indicating whether the mobile map package must be closed and reopened with a new instance to allow the updates to take effect. |
Remarks
In some cases, applying updates may require files such as mobile geodatabases to be replaced with a new version.
When reopen is required, this property will be true
and you need to:
-
Release all instances of the Mobile
Map and its maps and layers. For example, you should remove any Map instances from the MapPackage View and remove layers and geodatabases from custom views such as lists and tables of contents. This will allow files to be closed. - Call Close() to close the mobile map package instance and files.
-
Create a new Mobile
Map instance with the same path.Package -
Load the new Mobile
Map . This will apply updates to geodatabases that have been replaced via a scheduled updates workflow.Package
If your offline map was created using
Download
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.6 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.6 - 200.6 |
Xamarin.Android | 100.6 - 100.15 |
Xamarin.iOS | 100.6 - 100.15 |
UWP | 100.6 - 200.6 |