MilStdIconRenderer

external class MilStdIconRenderer : JsAny

This class is used for rendering icons that represent the single point graphics in the MilStd 2525. It can also be used for rendering icon previews for multipoint graphics.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun AddCustomSymbol(msInfo: MSInfo, svgInfo: SVGInfo): Boolean
Link copied to clipboard
fun CanRender(symbolID: String, attributes: JsMap): Boolean

Checks symbol codes and returns whether they can be rendered. For multi-point graphics, modifiers are ignored because we don't need that information to show preview icons in the SymbolPicker.

Link copied to clipboard
Link copied to clipboard
fun RenderSVG(symbolID: String, modifiers: JsMap, attributes: JsMap): SVGSymbolInfo?