AnsweredAssumed Answered

map.setExtent not setting right values

Question asked by detroit on Mar 13, 2012
Latest reply on Mar 14, 2012 by detroit
var factor = 0;
  var xtent =new esri.geometry.Extent(xmin-factor, ymin-factor, xmax+factor, ymax+factor)
  alert(map.extent.xmin + ',' +  map.extent.ymin + ',' +map.extent.xmax + ',' + map.extent.ymax );

I got this code, and the xtent of a map differs from the extent of xtent. Any practical reason behind it or is my code just faulty?