Skip to content

Instantly share code, notes, and snippets.

Created Jan 25, 2016
What would you like to do?
if (has("featurelayer-debug")) {
// lazy-load dojo/aspect only when needed
require(["dojo/aspect"], function(aspect) {
aspect.after(featureLayer, "selectFeatures", function(args) {
console.debug("Object IDs count: ", args.objectIds.length);
// maybe write out to a log file
}, true);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment