I need know how to do map.extent to two features points?, please answer..
Can you explain a little more about what you are trying to do? Do you have two points that are close together and you need to have the extent larger? or do you have two points and want the points to be two corners of the extent?