The VB.NET version of the Web Mapping Application defaults to Pan as the active tool but the Zoom In button is highlighed on the toolbar.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM035683
已提交
May 28, 2008
上次修改时间
June 5, 2024
适用范围
No Product Found
找到的版本
9.3
修正版本
N/A
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
In the VB template, edit the Toolbars CurrentTool property to use "MapPan". Alternatively, the Default.aspx could be edited directly to change CurrentTool="MapZoomIn to "CurrentTool="MapPan".If the user wants the default tool to be MapZoomIn they can also leave the Toolbars CurrentTool property as is and use JavaScript to set the zoom in tool to be the default startup tool: var map = $find('Map1'); map.set_mouseMode(ESRI.ADF.UI.MouseMode.ZoomIn);