vendredi 27 mars 2015

ArcGIS JavaScript API 3.13 error with Measurement setTool() function


When upgrading to 3.13 the following code to disable the measurement tool returns an error:



measurement.setTool("distance", false);


Here is the error:



Uncaught TypeError: Cannot read property 'domNode' of undefined



When I switch back to 3.12 it works fine. I'm thinking it's a bug in 3.13, but wanted to see if anyone else has run across this?





Aucun commentaire:

Enregistrer un commentaire