A line feature may be created with either 2-dimensional or 3-dimensional points, based on what is provided by the argument array3 in LineAPI.createLine. If array3 is an empty string, i.e. "", the points are 2-dimensional. Otherwise, array3 must contain a comma-separated list of z-values or time values. The list must be the same length as the xArray and yArray arguments.
If array3 contains z-values, they must be in meters, with positive values for elevations above sea level and negative values for depths below sea level. If array3 contains time values, they must be in seconds, relative to the systemís standard time base.