Skip to main content

Settings Reference: Location

WP Admin → Better Messages → Settings → Location

This page is made from the settings page itself, so each name and description is what the admin shows.

Location Sharing#

Explained in Location Sharing.

SettingWhat it does
Location SharingAdd "Share location" to the attachment menu so users can send a place as a message
Coordinate PrecisionRounds the shared coordinates before they are stored, so a pin says which area someone is in rather than which building

Location Picker#

SettingWhat it does
Use My Current LocationShow the button that asks the browser for the visitor position. The browser still asks the visitor for permission
High AccuracyAsk the device for its most precise fix, which uses GPS on phones. Switching this off is faster and uses less battery, and returns a position accurate to roughly a city block
Place SearchShow the search field that looks up an address or a place by name
Nearby SuggestionsList the real places around the pin before anything is typed, nearest first, and refresh the list as the map is moved
Nearby RadiusHow far around the pin to look, in metres. A city centre is busy at 300, a village needs 1000 or more
Results Per Place ListHow many places a search or a nearby list may return (1-40)
Opening ZoomZoom level the picker opens at, from 1 for the whole world to 19 for a single building
Zoom On SelectionZoom level the map moves to once a place is picked or the current position is found
Starting PointWhere the map opens for someone who has not moved it yet and has not shared their position. Set it near your audience so the first thing they see is their own area

Map Provider#

SettingWhat it does
Tile URLTemplate of the raster tile server. {z}, {x} and {y} are replaced with the tile coordinates, and a commercial provider usually wants an access token appended
AttributionCredit printed in the corner of every map. Tile providers require this, and a link is allowed
Maximum ZoomDeepest zoom the tile server provides. Past it the map goes blank, so match it to what your provider serves
Geocoder URLBase address of a Nominatim server, used to search places by name and to name the spot under the pin
Nearby Places URLOverpass API endpoint. This is the one that answers "what is around this point", which a geocoder cannot do

Shared Locations#

SettingWhat it does
Map PreviewDraw a small map above the address. With this off the message is just the address card, and reading a conversation costs no tile requests
Preview ZoomZoom level of that preview map
Open InWhere the Open link on a shared location takes the reader