AnsweredAssumed Answered

clear buffer ring

Question asked by sky12james on Mar 25, 2015

I try to modify clearParcelGrid() function here Buffer results  to clear buffer ring instead of remove all the graphics.  Can you show me how to do it?

 

function clearParcelGrid() {

           var newStore = new ItemFileReadStore({ 

          data: { 

            idenitifer: "",

            items: [] 

          } 

        }); 

       var grid = registry.byId("gridP"); 

       grid.setStore(newStore); 

        document.getElementById('parcelText').value = ''; 

       featureLayerParcel.clearSelection(); 

       map.graphics.clear(); 

    }

Thanks.

Outcomes