ESRI.ArcGIS.ADF.Web.UI.WebControls.Tools.MapFullExtent is broken after changing the spatial reference of the map from GCS to PCS.
Last Published: August 25, 2014No Product Found
Bug ID Number
NIM006136
Submitted
January 17, 2007
Last Modified
June 5, 2024
Applies to
No Product Found
Version found
9.2
Status
Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
Additional Information
No Public Explanation
Workaround
1. Create a custom command from IMapServerCommandAction to replace the out of the box MapFullExtent command. 2. Get the FullExtent before the new spatial reference is applied.3. Project the full extent envelope to the new coordinate system. 4. Save this in the Session. 5. Then in the command implementation just set the map control's extent to the envelope in the Session.