Hi,
In the below sample after clicking locate the widget map zoom to the location.
https://developers.arcgis.com/javascript/latest/sample-code/widgets-locate/index.html
I am trying to use the Locate widget to locate the blue dot on the map without zooming or pan to the location. just want to see the blue dot. Any help will be appreciated.
Hi, you can set the goToLocationEnabled property to false on the Locate widget. This will just show the blue dot without zooming or panning.
Hope this helps!
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.