/*
Created By Gordon Luckett
Arrow Geomatics Inc.
Nov 2005
*/
function recenter(map,points,numPoints)
{

var theX = points.item(numPoints-1).getX(); 
var theY = points.item(numPoints-1).getY();
var theScale=getMap().getScale();

var theLat = parseFloat(theY);

var theLon = parseFloat(theX);

getMap().zoomScale(theLat, theLon, theScale);



}

