laptop and a wrench

Bogue

Unable to scroll with mouse wheel after executing esri.toolbars.Draw.FREEHAND_POLYLINE or esri.toolbars.Draw.EXTENT or esri.toolbars.Draw.FREEHAND_POLYGON.

Dernière publication: August 25, 2014 No Product Found
Numéro d’ID de bogue NIM062326
EnvoiOctober 27, 2010
Dernière modificationApril 2, 2025
S’applique àNo Product Found
Version trouvéeOther
Langue du programmeJavaScript
Version de correctionArcGIS.c
StatutFixed

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: NIM062326

Logiciel:

  • No Product Found

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement