• Generates a LuciadRIA painter from a Symbology Encoding in a JavaScript String. This method can be used if the Symbology Encoding definition is already downloaded from the server, for example by means of an Ajax call.

    Currently the Factory only supports FeatureTypeStyle symbology encodings. CoverageStyle encodings are not supported.

    For more information on supported features, please refer to the developer guide.

    Parameters

    • seString: string

      The symbology encoding XML definition in a JavaScript String.

    • Optional options: SEPainterCreateOptions

      an object containing configuration parameters for the factory

    Returns Promise<FeaturePainter>

    A promise for a LuciadRIA feature painter that realizes the given Symbology Encoding file.

    Throws

    InvalidXMLError if an error in the Symbology Encoding definition was encountered.