AnsweredAssumed Answered

symbolPreview not working

Question asked by flor.habana93 on Apr 16, 2018
Latest reply on Apr 17, 2018 by flor.habana93
I try to add the symbols obtained from the map layers in a div, I'm using symbolPreview does not give any errors but does not add the symbols in the div.
What is wrong?

var symbol = drawingInfo.renderer; symbolPreview.renderPreviewHTML(symbol, { node: document.getElementById(nombreImg), size: 12, opacity: 1 });