ReyhaneMasumi/mapbox-gl-draw-split-polygon-mode

I want the split polygon to share this split line instead of gaps. Is there an option to control whether to share

Closed this issue · 1 comments

options to control the thickness of the splitting lineString are added now:

draw.changeMode(
  "split_polygon",
  /** Default option vlaues: */
  {
    highlightColor: "#222",
    lineWidth: 0.001,
    lineWidthUnit: "kilometers",
  }
);

these lineWidth* options are passed to [lineOffsetmethod](lineOffset) fromTurf.js`.