GeographicTransformationStep.withWkid constructor
- int wkid
Creates a new GeographicTransformationStep 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 GeographicTransformationStep.wkid property returns the new (latest) WKID code.
Parameters:
wkid
— The well-known ID of the geographic transformation step to create.
Implementation
factory GeographicTransformationStep.withWkid(int wkid) {
_initializeArcGISEnvironmentIfNeeded();
final handle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_GeographicTransformationStep_createWithWKID(
wkid, errorHandler);
});
return GeographicTransformationStep._withHandle(handle);
}