Basic Viewer - Implement Show x,y coordinates sample

Discussion created by new2jsapi on Mar 26, 2013
Latest reply on Mar 28, 2013 by new2jsapi
I've been trying to implement some of the javascript api samples in the Basic Viewer Template without much success.  I figured I'd start small and try adding "show x, y coordinates" as it only has a couple functions.  I can not get this wired up properly.  The only thing I can figure is I don't have the event listeners in the correct place.  Does anyone have a working example of this, or could anyone explain wiring this up properly in the basic viewer in a "to dummies" fashion?