Show coordinates in basic viewer template

Discussion created by filda21 on Aug 1, 2012
Latest reply on Apr 1, 2013 by andrewhayden
Hi, I just started using this api and I like basic viewer template but I can't find a way to show the coordinates in map. I found some examples where it is shown in footer or in a map when you drag your mouse cursor to some place by using onLoad function and that is what I want :)
Could anyone please write if there is an option to show it or how to save these xy coordinates to variables?
Thanks for response.