WfsFeatureTable.withLayerInfo constructor

WfsFeatureTable.withLayerInfo(
  1. WfsLayerInfo layerInfo
)

Creates a WFS feature table from WFS layer information.

Parameters:

Implementation

factory WfsFeatureTable.withLayerInfo(
  WfsLayerInfo layerInfo,
) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_WFSFeatureTable_createWithLayerInfo(
      layerInfo._handle,
      errorHandler,
    );
  });
  return FeatureTable._instanceCache.instanceWith(handle);
}