Skip to main content

Constants for the fields of the /insert/symbol request.

Option fields

options

Constants for options.

pub const COLOR: &str = “color”;

If symbol_format is ‘svg’ this is ignored. If symbol_format is ‘svg_path’ then this option specifies the color (in RRGGBB hex format) of the path. For example, to have the path rendered in red, used ‘FF0000’. If ‘color’ is not provided then ‘00FF00’ (i.e. green) is used by default.

symbol_format

Constants for symbol_format.

pub const SVG: &str = “svg”;
pub const SVG_PATH: &str = “svg_path”;