Skip to main content

savedFileName

The file's name: the layer's id and the day, such as sample-points-2026-11-25.csv.

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

Signature​

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

function savedFileName(layerId: string, savedOn: string, format: FeatureFileFormat): string;

Parameters​

  • layerId (string)
  • savedOn (string)
  • format (FeatureFileFormat)

Returns​

string

See also​

Source: packages/core/src/layers/saveFeatures.ts:96