OgcFeatureCollectionTable.withFeatureCollectionInfo constructor

OgcFeatureCollectionTable.withFeatureCollectionInfo(
  1. OgcFeatureCollectionInfo featureCollectionInfo
)

Creates a new OGC API - Features feature collection table.

Parameters:

Implementation

factory OgcFeatureCollectionTable.withFeatureCollectionInfo(
  OgcFeatureCollectionInfo featureCollectionInfo,
) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore
        .RT_OGCFeatureCollectionTable_createWithFeatureCollectionInfo(
      featureCollectionInfo._handle,
      errorHandler,
    );
  });
  return FeatureTable._instanceCache.instanceWith(handle);
}