How do I set html attributes for graphics I'm placing in a map layer?
I am interested in modifying attributes like alt, style (z-index), title.
Here's a code sample:
point = new esri.geometry.Point(lng, lat);
point = esri.geometry.geographicToWebMercator(point);
symbol = new esri.symbol.PictureMarkerSymbol("image.png", width, height);
attribs = {"attribute1":"attribute1 value")};
graphic = new esri.Graphic(point, symbol, attribs, infoTemplate);
Thanks!