Method GenerateOfflineMap
GenerateOfflineMap(GenerateOfflineMapParameters, String)
Returns a job that is used to generate an offline map using the specified parameters.
Declaration
public GenerateOfflineMapJob GenerateOfflineMap(GenerateOfflineMapParameters parameters, string downloadDirectoryPath)
Parameters
Type | Name | Description |
---|---|---|
Generate |
parameters | Generate |
System. |
downloadDirectoryPath | The path to a folder where the map content is stored on the device. For example, to create a new mobile map package "my_mobile_map_package" in a parent directory "[my root path]/my_mobile_maps", this property would be "[my root path]/my_mobile_maps/my_mobile_map_package". |
Returns
Type | Description |
---|---|
Generate |
A Generate |
Remarks
The job that is returned is dormant and needs to be explicitly started. The job will fail if the last directory in
the downloadDirectoryPath
cannot be created or is not empty.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 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.1 - 200.6 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.6 |
GenerateOfflineMap(GenerateOfflineMapParameters, String, GenerateOfflineMapParameterOverrides)
Returns a job that is used to generate an offline map using the specified parameters and overrides.
Declaration
public GenerateOfflineMapJob GenerateOfflineMap(GenerateOfflineMapParameters parameters, string downloadDirectoryPath, GenerateOfflineMapParameterOverrides overrides)
Parameters
Type | Name | Description |
---|---|---|
Generate |
parameters | Generate |
System. |
downloadDirectoryPath | The path to a folder where the map content is stored on the device. For example, to create a new mobile map package "my_mobile_map_package" in a parent directory "[my root path]/my_mobile_maps", this property would be "[my root path]/my_mobile_maps/my_mobile_map_package". |
Generate |
overrides | The overrides to the parameters. |
Returns
Type | Description |
---|---|
Generate |
A Generate |
Remarks
The job that is returned is dormant and needs to be explicitly started. The job will fail if the last directory in the download directory path cannot be created or is not empty.
The Generate
To create an instance Generate
Some properties on Generate
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.4 - 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.4 - 200.6 |
Xamarin.Android | 100.4 - 100.15 |
Xamarin.iOS | 100.4 - 100.15 |
UWP | 100.4 - 200.6 |