The ability to send a location share, whether static or live, is available without any additional configuration.
However, when receiving a location share, in order to display it on a map, the client must have access to a tile server. If it does not, the location will be displayed as text with coordinates.
By default, location sharing uses a MapTiler instance and API key that is sourced and paid for by Element. This is provided free, primarily for personal EMS users and those on Matrix.org.
If no alternate tileserver is configured either on the HomeServer or client then the mobile and desktop applications will fall back to Element's MapTiler instance. Element web on a non-Element or EMS URL will not fall back, and will show an error message.
Customers should be advised that our MapTiler instance is not intended for commercial use, it does not come with any uptime or suppoer SLA, we are not under any contractual obligation to provide it or continue to provide it, and for the most robust privacy customers should either source their own cloud-based tileserver or self-host one on-premises.
However, if they wish to use our instance for testing, demonstration or POC purposes, they can configure this by copying 'map_style_url' from our config.sample.json file into the config.json of Element web.
If the customer sources an alternate tileserver, whether from MapTiler or elsewhere, you should enter the tileserver URL in the .well known as follows:
... other info ...
Customers can also host their own tileserver if they wish to dedicate the resources to doing so. Detailed information on how to do so is available here.