map.setExtent where extent is common exten of array of features

Discussion created by detroit on Jul 26, 2012
Latest reply on Oct 15, 2012 by detroit
i get array of features via a function (like query) and i create common extent from the array and then i use map.setExtent(arrayExtent, true);

The problem is the map doesnt create extent where all features would be visible in other words it sets too small extent.
Has anyone else seen this peculiar behavior?