clear buffer ring

2649
0
03-25-2015 10:03 AM
jamesa
by
New Contributor III

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.

0 Kudos
0 Replies