I get this error esri.views.2d.engine.webgl.mesh.templates.WGLTemplateStore when use png for PictureMarkerSymbol, someone can help my issue?
this my code for PictureMarkerSymbol use png image
var symbol = {
type: "picture-marker",
url: "mario.png",
width: "10px",
height: "10px"
};
const RendererSymbol = {
type: "simple",
defaultSymbol: {
type: "simple-marker",
color: "red",
style: "circle",
size: "4px"
},
symbol: symbol
};
this error in browser
What happens if you provide the fully qualified URL to the png file? Can you provide a simplified test app that reproduces the issue on something like codepen?
@ZenBahsin were you able to resolve this error?