Type alias GeoJSONwriteOptions

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

Type declaration

  • Optional asObject?: boolean

    whether to write an object or a string

  • Optional embedIcons?: boolean

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

  • Optional prettyPrint?: boolean

    pretty print the json, if not asObject

  • Optional writeDefaultStyle?: boolean

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

  • Optional writeId?: boolean

    whether to output the feature ID

  • Optional writeStyle?: boolean

    whether to include vcsStyle options

Generated using TypeDoc