virensavaliya

How to get graphics from feature layer.

Discussion created by virensavaliya on Apr 11, 2012
Latest reply on Apr 12, 2012 by esri42195
Hello All,,


I want to get graphics from feature layer when I will tap on any feature.

Previously worked fine in old SDK.


code snipped.

map.setOnSingleTapListener(new OnSingleTapListener() {

   private static final long serialVersionUID = 1L;

   public void onSingleTap(float x, float y) {
    try {
     Point pointClicked = map.toMapPoint(x, y);
     Graphic[] graphic = fLayer.getGraphics(x, y, 10);





But in new SDK how I can get graphics object.

Thanks in advance..
Viren

Outcomes