AnsweredAssumed Answered

get marker symbol size in 4.x

Question asked by bflessner on Feb 28, 2018
Latest reply on Feb 28, 2018 by bflessner

I have a point feature layer that uses a unique value renderer to symbolize by a qualitative attribute and then uses the size visual variable to make the point larger or smaller based on a quantitative attribute. I'm trying to highlight the graphic when it is moused over (essentially just change the outline color). Right now I'm doing a hittest on the view's pointer-move event and then if there's a graphic, I attempt to highlight it (I'm actually cloning the graphic, giving it a new symbol, and adding it to a separate graphicslayer). Because the layer is symbolized with a renderer, the graphic that is returned via the hittest has a symbol property of null. So, how do I figure out the size the symbol needs to be? I tried using the renderer's getUniqueValueInfo method, but returns the same size for all graphics I pass to it. Any ideas??