@vcmap/core
    Preparing search index...

    Type Alias GeoJSONwriteOptions

    type GeoJSONwriteOptions = {
        asObject?: boolean;
        embedIcons?: boolean;
        prettyPrint?: boolean;
        writeDefaultStyle?: boolean;
        writeId?: boolean;
        writeStyle?: boolean;
    }
    Index

    Properties

    asObject?: boolean

    whether to write an object or a string

    embedIcons?: boolean

    whether to embed custom icons when writing styles, otherwise no style is written for custom icons

    prettyPrint?: boolean

    pretty print the json, if not asObject

    writeDefaultStyle?: boolean

    whether to output the default style. if the style of a layer is the default layer it is not written.

    writeId?: boolean

    whether to output the feature ID

    writeStyle?: boolean

    whether to include vcsStyle options