Type Alias GeoJSONwriteOptions

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

Type declaration

  • OptionalasObject?: boolean

    whether to write an object or a string

  • OptionalembedIcons?: boolean

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

  • OptionalprettyPrint?: boolean

    pretty print the json, if not asObject

  • OptionalwriteDefaultStyle?: boolean

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

  • OptionalwriteId?: boolean

    whether to output the feature ID

  • OptionalwriteStyle?: boolean

    whether to include vcsStyle options