Trying to figure it out - LocateButton does not work: http://jsfiddle.net/tikainesakinevienam/956pborp/
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
After pressing button map randomly zooms in, not showing my real location.
I am using custom custom mapserver.
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
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.