I'm using symbolUtils renderPreviewHTML to generate preview images of symbols. I've noticed that this function only seems to work with certain symbols types. For instance, I cannot get it to work with any 3D symbols, or with web-style symbols. I usually get an error in the console, for instance:
previewSymbol3D.js:formatted:525 Uncaught (in promise) TypeError: b.getItemAt is not a function
I cannot find any documentation regarding this in the API. Does anyone know?
An example of a symbol that does not work with renderPreviewHTML: