Help Center
-> 
Show current location

Show current location

You can add Current Location button to your map. When visitors click this button, their current location will appear on the map is a red circle.

Important: You cannot automatically get a visitors location — they will need to click the button first. This is because browsers require visitors to allow location access.

To turn on the Current Location button, go to Customize -> Controls and turn Current Location on.

If current location is not working:

Occasionally a website builder or CMS will will disable current location for embed codes like the ones Atlist uses.

In that case, you just need to add the following code to your Atlist embed code:

allow="geolocation 'self' https://my.atlistmaps.com".

Here is an example of the code added to an Atlist embed code:

<iframe src="https://www.atlistmaps.com/map/a2f9efb0-e969-47b3-b19a-bf577373239b?share=true&zoom=12&modal_open=false" allow="geolocation" width="100%" height="400px" frameborder="0" scrolling="no" allow="geolocation 'self' https://my.atlistmaps.com".></iframe>

Was this helpful? Send feedback.