I don't believe you will be able to at 3.1. The LocateButton class was not added until version 3.7. See the following link:https://developers.arcgis.com/javascript/jsapi/locatebutton-amd.html
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.