MultipointBuilder constructor
- SpatialReference? spatialReference,
Creates an empty multipoint builder with the specified SpatialReference.
The SpatialReference cannot be changed after instantiation.
Parameters:
spatialReference
— The builder's spatial reference.
Implementation
factory MultipointBuilder({
SpatialReference? spatialReference,
}) {
_initializeArcGISEnvironmentIfNeeded();
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_MultipointBuilder_createFromSpatialReference(
spatialReference?._handle ?? ffi.nullptr,
errorHandler,
);
});
final MultipointBuilder object = MultipointBuilder._withHandle(handle);
object._spatialReference.cache(spatialReference);
return object;
}