Is anybody working on implementing geolocation API on Near Me Widget? Geolocation will be a great tool when people use mobile devices to locate nearby facilities.
Is there any near future plan that you will include Geolocation on Near Me Widget? I am not a programmer to customize the existing widget.
Thanks,
Hi City of Columbia GIS,
Technically you can take a reference from My Location Widget .js file to implement this Class:
"esri/dijit/LocateButton"
LocateButton | API Reference | ArcGIS API for JavaScript 3.20 into Near Me widget
The LocateButton has already implement the HTML5 Geolocation API
Hope this can help.
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.