Select to view content in your preferred language

API 3.3 - Can't find Geoprocessor and LinearUnit

944
2
Jump to solution
01-15-2013 10:13 AM
BrunoSt-Aubin1
Deactivated User
Good day,

We just migrated to the 3.3 API from the 3.2 and we're experiencing certain problems with functions that worked fine in 3.2. Most notably, it seems I cannot instanciate a LinearUnit object or a Geoprocessor object. From the API reference, I can see that they are both supposed to be included in esri.tasks but I cannot find them when looking at esri.tasks in a debugger.

I keep getting this error :

TypeError: esri.tasks.LinearUnit is not a constructor


Am i doing something wrong here?

Thanks for the help,



Bruno
0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Notable Contributor
Here's a sample that uses both Geoprocessor and LinearUnit at version 3.3:

http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/gp_viewshed

View solution in original post

0 Kudos
2 Replies
KellyHutchins
Esri Notable Contributor
Here's a sample that uses both Geoprocessor and LinearUnit at version 3.3:

http://help.arcgis.com/en/webapi/javascript/arcgis/jssamples/#sample/gp_viewshed
0 Kudos
BrunoSt-Aubin1
Deactivated User
That worked, thanks!
0 Kudos