fromWkidOrNull

Creates a unit given its well-known ID.

Return

a unit. Depending on the well-known ID given, this may be a LinearUnit, AngularUnit, or AreaUnit. Returns null on error, such as if the given wkid is unknown

Parameters

wkid

the well-known ID of the unit