how  to  get  the feature  by  the infowindow

306
1
10-22-2012 05:00 PM
yanli
by
New Contributor II
i  get  resultFeatures   by  querytask   ,the  the feature   set  InfoTemplate 
[HTML]

       for (var i=0, il=resultFeatures.length; i<il; i++) {
            var graphic = resultFeatures;
            graphic.setSymbol(symbol);
            graphic.setInfoTemplate(infoTemplate);
            map.graphics.add(graphic);
          }



var infoTempContent = "POP2007 = ${POP2007}<br/>POP2000 = ${POP2000}<br/>MALES = ${MALES}<br/>FEMALES = ${FEMALES}"
            + "<br/><A href='#' onclick='getfeature()'>Remove Selected Features</A>";
             var infoTemplate = new esri.InfoTemplate("Block: ${FIPS}", infoTempContent);

[/HTML]



how to    get the feature   by  the  click  function  of  "'getfeature()"  on the  infoTemplate?
i  want  to  get  the feature  point colletions   by  the  click  function  int  on  the infotemlate.
0 Kudos
1 Reply
yanli
by
New Contributor II
can  you  help me ? i  am hurry  to get the  reply
0 Kudos