unsharableShapes
The finished, valid shapes that encodeShapes leaves out because a
link cannot carry them: a circle of under a metre, and a line or polygon
too small to keep its shape when its positions are whole units of
0.00001 degrees (about a metre). A caller says so, and offers a file.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { unsharableShapes } from "@mapcairn/core";
function unsharableShapes(shapes: readonly DrawShape[]): readonly DrawShape[];
Parameters
shapes(readonly DrawShape[])
Returns
readonly DrawShape[]