findParams = new esri.tasks.FindParameters(); findParams.outSR = '102100';
var sr = new esri.SpatialReference(102100); findParams = new esri.tasks.FindParameters(); findParams.outSR = sr;
Solved! Go to Solution.
var sr = new esri.SpatialReference({wkid:102100}); //findParams.outSR = sr (incorrect) findParams.outSpatialReference = sr
dojo.forEach(results, function(result) { var graphic = result.feature; // x = graphic; // dataForGrid.push([result.layerName, result.foundFieldName, result.value]); switch (graphic.geometry.type) { case "point": graphic.setSymbol(markerSymbol); break; case "polyline": graphic.setSymbol(lineSymbol); break; case "polygon": graphic.setSymbol(polygonSymbol); break; } console.log(graphic); map.graphics.add(graphic); });