I would like to know the best way to notify ESRI of a possible defect in the JSAPI and gis.stackexchange seems like the best mechanism for doing so (Derek reads it and fixes it). That being said, what is the proper way to notify ESRI of a defect?
The defect in this case is posted on jsfiddle and can be seen by placing the mouse over the map. Notice the onMouseMove event continuously fires. This required a workaround on my part because I was using the onMouseMove event to re-project (esri.config.defaults.geometryService.project) coordinates and if the user left the mouse over the map it was eating up bandwidth.
Documentation states:
Fires any time the mouse pointer moves over the map region. A common use for this event is to show the current x,y coordinate of the map as the user moves the mouse pointer.
Hence the claim that this is a defect. This is true in 2.8 and 2.9 (beta)
-
You might want to try posting the error on the java api script forum. I believe ESRI developers check that site. forums.arcgis.com/forums/15-ArcGIS-API-for-JavaScriptartwork21– artwork212012年05月01日 19:05:46 +00:00Commented May 1, 2012 at 19:05
-
1I'm not seeing this error on IE, Chrome, or Firefox. The counter does not change if I don't move the mouse.kenbuja– kenbuja2012年05月01日 20:41:28 +00:00Commented May 1, 2012 at 20:41
-
3The most important thing to do to report a bug is to have a repro case (which you've done, thank you). The official channel to report a is through support: support.esri.com/en/webform/support/customerId/5753/chat/false (you'll need to be logged into your Esri global account). That being said, in looking at your jsfiddle, I see the same thing as kenbuja– the onMouseMove event only fires when I move the mouse. If the mouse is not moving, no event is fired.Derek Swingley– Derek Swingley2012年05月02日 00:12:57 +00:00Commented May 2, 2012 at 0:12
-
3just as an aside, You ideally shouldn't project using a geometry service on Mouse Move. The service call can take time, if the client is on a slow connection and would get delayed results. In addition, every time the mouse moves over the map, requests will be sent, thus clogging the connection.Devdatta Tengshe– Devdatta Tengshe2012年05月02日 02:03:28 +00:00Commented May 2, 2012 at 2:03
-
Devdatta - actual code was buffering with a 2500ms delay - is a way to re-projection within JSAPI that I'm not aware of (I know proj4js can do this).ca0v– ca0v2012年05月02日 12:43:57 +00:00Commented May 2, 2012 at 12:43
1 Answer 1
The most important thing to do to report a bug is to have a repro case (which you've done, thank you).
The official channel to report a is through support: http://support.esri.com/en/webform/support/customerId/5753/chat/false (you'll need to be logged into your Esri global account).
That being said, looking at your jsfiddle, I see the same thing as kenbuja– the onMouseMove event only fires when I move the mouse. If the mouse is not moving, no event is fired.