MultipointBuilder.fromMultipoint constructor

MultipointBuilder.fromMultipoint(
  1. Multipoint multipoint
)

Creates a multipoint builder from the specified Multipoint.

The SpatialReference of the multipoint point builder will match that of the specified Multipoint.

Parameters:

  • multipoint — A multipoint object.

Implementation

factory MultipointBuilder.fromMultipoint(
  Multipoint multipoint,
) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_MultipointBuilder_createFromMultipoint(
      multipoint._handle,
      errorHandler,
    );
  });
  return MultipointBuilder._withHandle(handle);
}