Trying to figure it out - LocateButton does not work: http://jsfiddle.net/tikainesakinevienam/956pborp/
Raimonds,
make sure that you enable in your browser that your application is allowed to get your location. The locate button worked for me (it didnt locate me but I assume this is because you limit the view).
Tim
After pressing button map randomly zooms in, not showing my real location.
I am using custom custom mapserver.
Make sure to setup a geometry service since you're using a custom spatial reference. Then it will project to the correct location.
Default API Configurations | Guide | ArcGIS API for JavaScript