featuresToGeoJsonText
The features as a GeoJSON FeatureCollection, written as text. The layer's
name, its credits and the day it was saved are members of the collection
(GeoJSON allows extra members), and each feature's properties are its
decoded fields. Every number is plain decimal text with no exponent.
This is a function exported by @mapcairn/core, checked against version 0.2.0.
Signature
import { featuresToGeoJsonText } from "@mapcairn/core";
function featuresToGeoJsonText(features: readonly LayerFeature[], info: FeatureFileInfo): string;
Parameters
features(readonly LayerFeature[])info(FeatureFileInfo)
Returns
string