Is there a way to make the MyLocation widget stay on so that it will follow you around as you are moving?
Sure just add "useTracking": true to the locateButton object in the config.json for the myLocate widget.
So the config.json will look like this:
Thanks Robert I knew there was a parameter to add but I could not find it right off.
Is there a way to toggle this on and off?
Sure you just click the locate button again to turn it off, just like the standard LocateButton dijit in the JS API.
Retrieving data ...