I have GIF images as PictureMarkerSymbols. The images are filled in black(as shown below, the letters 'N', 'F', 'R', 'L', 'Z').
Now I want to change the color of these GIFs to red or blue. I've tried some changing color codes in JS, but I'm not able to work them out successfully. Is there any other way to change GIF color dynamically in code in ArcGIS API? Thanks so much!
Snippet of my code :
var letterGraphic = new Graphic({
geometry: {
type: "multipoint",
points: [[0, 12]]
},
symbol: {
type: "picture-marker",
url: "http://localhost:{Port}/{Project name}/letterR.gif",
width: "80px",
height: "80px"
}
});
view.graphics.add(letterGraphic);