Find my location
The Find my location button shows the visitor's own position on the map, so they see which places are near them.
The button comes from the My Location for JoomMap plugin. It is disabled on install. It appears among the map buttons in the sidebar, so Sidebar must be Yes on the Map / Display tab of the options.
Turn it on
- Open System > Plugins and search for My Location for JoomMap.
- Open it and set the options below.
- Set Status to Enabled and click Save & Close.
| Field | What it does |
|---|---|
| Marker icon | The marker for the visitor's position. Leave it empty to use Google's default marker |
| Exclude maps | Maps that should not have the button |
How visitors use it
- The visitor clicks Find my location. The button says Locating you....
- The browser asks whether the site may use their location. They allow it.
- A marker shows their position, and the map zooms out until it is in view.
- The button now says Hide my location or, if the visitor moved the map away, Show my location.
The position comes from the visitor's device and browser. It can be inexact, especially on computers without GPS. Browsers only share the location on pages served over HTTPS. If the browser refuses or does not support it, the map shows a message.