Skip to content

gi-nx


gi-nx / createRawSection

ts
function createRawSection(feature: Feature<
  | Point
  | LineString
  | Polygon, Record<string, any> & {
  id?: never;
}>): void;

create a Point, LineString or Polygon geometry that will be saved on Giraffe and that users can edit. NB. rate limited - do not call this unless there is a corresponding user action

Parameters

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

Returns

void