Skip to content

Instantly share code, notes, and snippets.

@raykendo
Created May 25, 2015 05:52
Show Gist options
  • Save raykendo/507839766456f90e76d6 to your computer and use it in GitHub Desktop.
Save raykendo/507839766456f90e76d6 to your computer and use it in GitHub Desktop.
ArcGIS JSAPI: Query Return Distinct - Quick and Dirty (V. < 3.11)
require(["esri/tasks/QueryTask"], function (QueryTask) {
var url = "http://www.cat-hurders.com:6080/arcgis/rest/services/CatSightings/MapServer/",
qTask = new QueryTask(url + "?returnDistinctValues=true");
//...
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment