Skip to content

gi-nx


gi-nx / createRawSections

ts
function createRawSections(features: Feature<
  | Point
  | LineString
  | Polygon, Record<string, any> & {
  id?: never;
}>[]): string[];

Bulk method of createRawSection. Returns the ids assigned to the created sections (in the same order as the input), or an empty array if creation was rejected.

Parameters

ParameterType
featuresFeature< | Point | LineString | Polygon, Record<string, any> & { id?: never; }>[]

Returns

string[]