"...The service name should not contain spaces..."
import com.esri.ags.Units; import com.esri.ags.tasks.supportClasses.LinearUnit; params.buffer_distance_or_field = new LinearUnit(2.678, Units.MILES);
var params:Object = new Object(); params.in_features = "C:\Donnees\Adriatic\Adriatic.gdb\Situation_Geo\Sites_archeo"; params.buffer_distance_or_field = { "distance" : 2.678, "units" : "esriMiles" }; gp.execute(params);
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.