Why no "find my location" button in web map?

786
4
Jump to solution
12-10-2019 09:44 AM
AllenDailey1
Occasional Contributor III

Hi there,

My organization has a web map that shows data collected via Survey123.  Field workers are collecting more data on an ongoing basis.  We also have staff licensed just as viewers, who don't have access to Survey123.  These viewers would like to be able to view the web map when they are out in the field making observations (not submitting data).  This would really only work if they can easily see their current location on the web map, so they can tell which data point they are close to.  

But the web map does not have a "find my location" button.  I read in the documentation that it should in theory have one.  I tried the web map on my computer (with Chrome), and on my iPhone with both Safari and Firefox.  I checked that my phone settings allowed the browsers to use my location.  And I was using cell service, not wifi.  I never had a button to find my location.

The web map is shared only with certain users; it's not public.  (And I am the original creator of the web map.)

Any ideas as to why this is, and how to get the button?

Thank you!

Allen

0 Kudos
1 Solution

Accepted Solutions
KellyHutchins
Esri Frequent Contributor

In order for the Find my Location button to appear you'll need to view the map via https. Geolocation is only allowed via secure origins. 

View solution in original post

4 Replies
KellyHutchins
Esri Frequent Contributor

In order for the Find my Location button to appear you'll need to view the map via https. Geolocation is only allowed via secure origins. 

AllenDailey1
Occasional Contributor III

Thank you for your reply.  Ok, good to know.  

I'm sorry but I don't know much about this issue... is there any way to control whether it happens via http or https, or is it just random chance in a sense?

Thank you?

0 Kudos
KellyHutchins
Esri Frequent Contributor

If you send the link to the map to someone ensure the url is https://<url to map> instead of http://<url to map>

There are settings in ArcGIS Online to make an organization https only that you can also explore. Here's a FAQ with some details: FAQ—ArcGIS Online Help | Documentation 

AllenDailey1
Occasional Contributor III

Thank you!

When I manually typed https in front of the URL when viewing the map, I was able to see/use the "find my location" button!

I also found out that my organization allows access to AGOL over http.  So I will discuss this issue with my supervisor and see if we should change that organization setting.

Thanks for your help!

Allen

0 Kudos