Optional
asOptional
embedwhether to embed custom icons when writing styles, otherwise no style is written for custom icons
Optional
prettypretty print the json, if not asObject
Optional
writewhether to output the default style. if the style of a layer is the default layer it is not written.
Optional
writewhether to output the feature ID
Optional
writewhether to include vcsStyle options
whether to write an object or a string