private var xThru:int = 0;
if(xThru == 0){ applyBuffer(); xThru++; }
xThru = 0;
Mark, Well that was my best guess...
isGraphicalBufferOp = false
if(isGraphicalBufferOp){ queryFeaturesGraphical(resultEvent, "esriSpatialRelIntersects", configSearchGraphical[(cboLayerGraphical.selectedIndex < 0)?0:cboLayerGraphical.selectedIndex]); } //Added by Mark 5/13/14 intersectResults("esriSpatialRelIntersects"); }
if(isGraphicalBufferOp){ queryFeaturesGraphical(resultEvent, "esriSpatialRelIntersects", configSearchGraphical[(cboLayerGraphical.selectedIndex < 0)?0:cboLayerGraphical.selectedIndex]); }
Mark, At the end of the bufferCompleteHandler there are these lines that are causing your loop scenario: if(isGraphicalBufferOp){ queryFeaturesGraphical(resultEvent, "esriSpatialRelIntersects", configSearchGraphical[(cboLayerGraphical.selectedIndex < 0)?0:cboLayerGraphical.selectedIndex]); } I would suggest you make that if statement false after you have completed your required steps.
if(isGraphicalBufferOp){ queryFeaturesGraphical(resultEvent, "esriSpatialRelIntersects", configSearchGraphical[(cboLayerGraphical.selectedIndex < 0)?0:cboLayerGraphical.selectedIndex]); } //Added by Mark 5/13/14 intersectResults("esriSpatialRelIntersects"); } catch (error:Error){ showMessage(error.message, false); }
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.