Skip to main content

ShapeImportRefusal

Why a whole file was refused. drawing-full is the caller's, when the shapes would take the drawing past MAX_DRAWING_SHAPES.

This is a type alias exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { ShapeImportRefusal } from "@mapcairn/core";

type ShapeImportRefusal = "drawing-full" | "empty" | "too-large" | "too-deep" | "not-recognised" | "wkt-unreadable" | "too-many-shapes" | "too-many-points";

Source: packages/core/src/draw/import.ts:63