Created
January 25, 2016 16:52
-
-
Save odoe/fb483f2c32a7a09ac2e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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