includeBasemap property
Indicates whether or not a basemap will be included in the offline map.
If you do not want a basemap in the offline map then set this property to FALSE. After loading the offline map, your application can programmatically insert a basemap into the map. Note that, a programmatically inserted basemap will not be persisted in the map.
If you want a basemap in the offline map then set this property to TRUE. You can choose to either:
- Generate and download the online basemap using the GenerateOfflineMapJob. This is the default.
- Use a local basemap on the device by setting the GenerateOfflineMapParameters.referenceBasemapDirectory
The default value is true.
This property is superseded if the GenerateOfflineMapParameters is used in conjunction with GenerateOfflineMapParameterOverrides.
Implementation
bool get includeBasemap {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_GenerateOfflineMapParameters_getIncludeBasemap(
_handle,
errorHandler,
);
});
}
Implementation
set includeBasemap(bool value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_GenerateOfflineMapParameters_setIncludeBasemap(
_handle,
value,
errorHandler,
);
});
}