Locate Button and Imagery with Labels Questions

622
5
Jump to solution
02-13-2017 09:53 AM
PamLedin
New Contributor II

I have created separate story map tours and embedded them into a story map series.  For both the tour and the series, in the settings I have checked to include the Locate Button, however it will not show in the launched application.  I do see that it is described that "... the button only appears if you share your story as a HTTPS link and the story is not embedded".  Is there any way around this?

Also, I have selected the Imagery with Labels basemap, and would like to see the roads labeled on top of the imagery, but this option doesn't appear to supply that.  Is there any option which would?

If anyone has any insight I'd love to hear it; thanks!

0 Kudos
1 Solution

Accepted Solutions
StephenSylvia
Esri Regular Contributor

Unfortunately, there is no work around to show the locate button when the app uses a http (insecure) URL. This is a security restriction the browser puts in place to prevent a user's location being leaked to a hacker or unauthorized user. 

The standard imagery with labels basemap only has general POI labels and not all road labels. If you want road labels, you can add this transportation layer on top of an imagery basemap: http://www.arcgis.com/home/item.html?id=94f838a535334cf1aa061846514b77c7

View solution in original post

5 Replies
StephenSylvia
Esri Regular Contributor

Unfortunately, there is no work around to show the locate button when the app uses a http (insecure) URL. This is a security restriction the browser puts in place to prevent a user's location being leaked to a hacker or unauthorized user. 

The standard imagery with labels basemap only has general POI labels and not all road labels. If you want road labels, you can add this transportation layer on top of an imagery basemap: http://www.arcgis.com/home/item.html?id=94f838a535334cf1aa061846514b77c7

View solution in original post

PamLedin
New Contributor II

Thank you very much Stephen!  I just added in the transportation layer to my map and it looks great!  As for the URL for the locate button, I am under https.... but since the story map tours are embedded into the story map series it sounds like it still should not work since I would need to have both the https and no embedding in order for it to work.

0 Kudos
StephenSylvia
Esri Regular Contributor

That is correct, because the browser requires a secure connection, the app must ensure it has a secure connection before showing the button. If the app did not have a secure connection, a user could click on the button but they would always receive an error because the browser would reject our request for location. We believe this a poor user experience and have chosen to disable the button unless we can verify if the browser has a secure connection. The browser does not just require the app to have a secure connection but all parent frames the app is embedded in. Unfortunately, there is not a reliable way to determine if all parent frames have a secure connection from within embedded app so we always disable if the app is embedded. If you know that you have secure connection all the way to the embedded app and you are willing to host a customized version of the code, I can point out what needs to be changed.

0 Kudos
PamLedin
New Contributor II

I will check into the security of the connection here and get a feel for if this is possible to host a customized version as you pointed out.  If so I will be back in contact.  Thank you again for the help!

0 Kudos
RupertEssinger
Frequent Contributor II

PS. If you want to see what your area of interest looks like on the Imagery with Labels basemap with the World Transportation added, here's a handy web map combining them.

And here are some fun bookmarks that open that map

Golden Gate, California, USA
Taj Mahal, Agra, India
Vatican City
Bronze age white horse, Uffington, UK
Uluru (Ayres Rock), Australia

Rupert