hbostic

graphicsLayer.getGraphicIDs(x, y, 25) - Newbie ?

Discussion created by hbostic on May 13, 2012
Latest reply on May 16, 2012 by Gwen_roy
Hello, I'm coming from the world of the web APIs and have a question.  Why must the graphicsLayer be visible and the graphics have symbology in order for graphicsLayer.getGraphicIDs(x, y, 25) to return a result?

If I have graphicsLayer.addGraphic(new Graphic(mapPoint,null,null,null)); or graphicsLayer.setVisible(false); then graphicsLayer.getGraphicIDs(x, y, 25)

Should it just be comparing the geomtry of the graphics?  Or am I misunderstanding something.  Any clarification would help

Outcomes