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!
Los miembros que hayan iniciado sesión pueden publicar, seguir novedades y mucho más. ¿Eres nuevo por aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.