HorizontalVerticalTransformationStep.withWkid constructor

HorizontalVerticalTransformationStep.withWkid(
  1. int wkid
)

Creates a new HorizontalVerticalTransformationStep instance from a well-known ID.

Occasionally, WKIDs may change, and older codes may be deprecated in favor of a new code. Both old (deprecated) and new (latest) WKIDs continue to work for instantiation, as long as they are supported by the Projection Engine. The HorizontalVerticalTransformationStep.wkid property returns the new (latest) WKID code.

Parameters:

  • wkid — The well-known ID of the transformation step to create.

Implementation

factory HorizontalVerticalTransformationStep.withWkid(int wkid) {
  _initializeArcGISEnvironmentIfNeeded();
  final handle = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_HorizontalVerticalTransformationStep_createWithWKID(
        wkid, errorHandler);
  });
  return HorizontalVerticalTransformationStep._withHandle(handle);
}