OK - still legacy code - only half way through refactoring it all as the current code (mostly) works.
But one issue. The returned geometry from a query task is being over generalized.
I have tried using maxAllowableOffset but nothing changes.
var queryTask = new esri.tasks.QueryTask(mapserviceCustom + "/0");
var query = new esri.tasks.Query();
query.maxAllowableOffset = 0.0001;
query.returnGeometry = true;
query.outFields = ["*"];
query.where = "username = 'BobbyTables'";
I've played around with different values, but the returned geometry is still slightly different from the actual feature returned from a normal request.
Any ideas people?