I am trying to create drive time areas for a point. When I call the routine that calls the code I get the following error:
string.substitute could not find key "layername" in template. I am following the scarce documentation for this so this is what I am doing
var params =
{
id: "analysisTool",
inputLayer: myLayer,
portalUrl: "https://www.arcgis.com",
showHelp: false,
map: map,
}
var analysisTool = new CreateDriveTimeAreas(params, "driveTimesDiv");
The code breaks when it calls the instantiation of the CreateDriveTimesAreas.
Can anyone please tell me what I am doing wrong here?