You can add a button to the map which allows the user’s current location to be shown. The default value for this setting is available on the general settings page, but you can override this using the shortcode attribute
location=none. Value can be
There are a couple of points to note when using this.
If you are using the restricted pan setting to prevent the user from straying away from your designated map area, if they try to turn on location when outside the map area they will get a popup error message to say that the location appears to be outside the map bounds.
If you have more than one map on a page with location enabled, only one of them can actually use it at a time. If you enable on one map and then try to enable on another without turning off location on the first map, the button will show a spinning wheel on the second map as the first map has grabbed the update events. Unfortunately there is currently no way to detect and fix this automatically.« Using Layers Up Maps in Popups »