Skip to main content

SHAPE_FILE_TYPES

The file types the import offers in the picker: GeoJSON, CSV and WKT, by extension and by media type. WKT has no media type of its own, so it is offered by the extensions .wkt and .txt.

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

Signature​

import { SHAPE_FILE_TYPES } from "@mapcairn/core";

SHAPE_FILE_TYPES: readonly string[]

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