ESRI.ArcGIS.ADF.Web.UI.WebControls.Tools.MapFullExtent is broken after changing the spatial reference of the map from GCS to PCS.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM006136
已提交
January 17, 2007
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.2
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
No Public Explanation
解决办法
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.