generateGeodatabaseGeometry property

Geometry? generateGeodatabaseGeometry

The geometry that was used to generate the sync-enabled geodatabase.

If the geodatabase was created using the GenerateGeodatabaseJob, the geometry matches the GenerateGeodatabaseParameters.extent. If the geodatabase was created using the GenerateOfflineMapJob, the geometry reflects the GenerateOfflineMapParameters.areaOfInterest. If the geodatabase was downloaded as part of a PreplannedMapArea, this property will match the geometry used by the web map author when the offline map area was created. See Build offline applications for more information on taking data offline.

Edits made to a sync-enabled Geodatabase must intersect this geometry. If an edit is made outside this extent, or area of interest, it will be rejected.

This property is null if the geodatabase was authored using ArcGIS Pro or if the Geodatabase. loadStatus is not LoadStatus.loaded.

Implementation

Geometry? get generateGeodatabaseGeometry {
  final objectHandle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Geodatabase_getGenerateGeodatabaseGeometry(
        _handle, errorHandler);
  });
  return Geometry._fromHandle(objectHandle);
}