I've added the My Location widget to a web app, but it doesn't seem to work at all. I have tried in several browsers on my Mac and on my iPhone, and I have not seen my location indicated at all.
Is there something else I need to do besides just adding the widget to my app?
Link to my app ArcGIS Web Application
Solved! Go to Solution.
There is no other setting to be changed as long as your approve your browser to share your location.
Sorry, in my application the localization does not work.
Even after you put HTTPS, the My location button does not activate.
My app can be found at the following address
https://poli.maps.arcgis.com/apps/webappviewer/index.html?id=80ed408de34242e68abe307e1710f128
Thank in advance
Gabriele
Gabriele,
Hmm.. Your site worked fine for me when I clicked on the locate button, Chrome asked me permission to use my current location and then the map zoomed to my location when i clicked allow.
http://poli.maps.arcgis.com/apps/webappviewer/index.html?id=84413906b13e4e60850b75cd580eca25
PS: if you wont, we can continue on private mail
Gabriele,
I see what you mean, I can not get the location button to work on any mobile device. The one thing I do see in the browser console is that you have mixed content in your app meaning that the app is using https protocol but you have layers or other items in your app that are using http protocol. Mixed content can be a big problem.
Thanks!
I was having a similar problem in my web app, on both on my computer and my ipad. Yet others on my team could see the little blue dot just fine. Turns out, all I needed was to update my privacy settings!! Location Services on the ipad and Settings>Advanced>Privacy>Location>(manage blocked URLs) in Chrome on the computer.