My function works fine but I need the final zoom extent to be further out.
My current code is:
//Zoom to the parcel when the user clicks a row
function onRowClickHandler(evt) {
var clickedTaxLotId = grid.getItem(evt.rowIndex).OBJECTID;
var selectedTaxLot;
for (var i=0, il=map.graphics.graphics.length; i<il; i++) {
var currentGraphic = map.graphics.graphics;
if ((currentGraphic.attributes) && currentGraphic.attributes.OBJECTID == clickedTaxLotId) {
selectedTaxLot = currentGraphic;
break;
}
}
Any ideas would be greatly appreciated.
Thanks!!