Unable to scroll with mouse wheel after executing esri.toolbars.Draw.FREEHAND_POLYLINE or esri.toolbars.Draw.EXTENT or esri.toolbars.Draw.FREEHAND_POLYGON.
上次发布: August 25, 2014No Product Found
漏洞 ID 编号
NIM062326
已提交
October 27, 2010
上次修改时间
April 2, 2025
适用范围
No Product Found
找到的版本
Other
编程语言
JavaScript
修正版本
ArcGIS.c
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
解决办法
Option#1: Click on “Deactivate” button before scrolling the mouse wheelOption#2: As shown below, call tb.deactivate(); inside the addGraphic(geometry){} function.function addGraphic(geometry) { var symbol = dojo.byId("symbol").value; if (symbol) { symbol = eval(symbol); } else { var type = geometry.type;alert(type); if (type === "point" || type === "multipoint") { symbol = tb.markerSymbol; } else if (type === "line" || type === "polyline") { symbol = tb.lineSymbol; } else { symbol = tb.fillSymbol; } } map.graphics.add(new esri.Graphic(geometry, symbol)); tb.deactivate(); }Note:The above solution will not allow the customer's to execute the same action again.They have to click on the buttons(Extent|FREEHAND_POLYGON|FREEHAND_POLYLINE) again.