ServiceAreaFacility constructor

ServiceAreaFacility(
  1. ArcGISPoint point
)

Creates a service area facility instance with point.

Creates a facility.

Parameters:

  • point — A point.

Implementation

factory ServiceAreaFacility(
  ArcGISPoint point,
) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_ServiceAreaFacility_createWithPoint(
      point._handle,
      errorHandler,
    );
  });
  return ServiceAreaFacility._withHandle(handle);
}