Skip to main content
interface InsertSymbolRequest
options?: Record<string, string>;
symbol_data: string;
symbol_format: string;
symbol_id: string;
options?: Record<string, string>

Optional parameters.

symbol_data: string

The actual symbol data. If symbol_format is ‘svg’ then this should be the raw bytes representing an svg file. If symbol_format is svg path then this should be an svg path string; for example: ‘M25.979,12.896,5.979,12.896,5.979,19.562,25.979,19.562z’.

symbol_format: string

Specifies the symbol format. Must be either ‘svg’ or ‘svg_path’.

symbol_id: string

The id of the symbol being added. This is the same id that should be in the ‘SYMBOLCODE’ column for objects using this symbol.