Is there a way not zoom to the extent of the results if more than 1 feature is found?
Solved! Go to Solution.
Martin,
Sure you just need to bail out of the zoomAll function if the results are greater than one.
zoomall: function () {
if(this.currentLayerAdded.graphics.length > 1){
return;
}
....
Martin,
Sure you just need to bail out of the zoomAll function if the results are greater than one.
zoomall: function () {
if(this.currentLayerAdded.graphics.length > 1){
return;
}
....
Thanks Robert!