From 06fa4f4440a46d0ecd0361d60d0e36743894231b Mon Sep 17 00:00:00 2001 From: Andy Balaam Date: Fri, 21 Jan 2022 14:34:47 +0000 Subject: [PATCH] New config for maps (#20668) --- docs/config.md | 4 ++-- docs/labs.md | 6 +++--- element.io/develop/config.json | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/config.md b/docs/config.md index a9f7c0ab4ea..d9b8216c365 100644 --- a/docs/config.md +++ b/docs/config.md @@ -152,8 +152,8 @@ For a good example, see https://develop.element.io/config.json. 1. `sentry`: [Sentry](https://sentry.io/) configuration for rageshake data being sent to sentry. 1. `dsn`: the Sentry [DSN](https://docs.sentry.io/product/sentry-basics/dsn-explainer/) 2. `environment`: (optional) The [Environment](https://docs.sentry.io/product/sentry-basics/environments/) to pass to sentry -1. `map_style_url`: Maptile server URL for location sharing. e.g. - 'https://api.maptiler.com/maps/basic/style.json?key=YOUR_KEY_GOES_HERE' +1. `map_style_url`: Map tile server style URL for location sharing. e.g. + 'https://api.maptiler.com/maps/streets/style.json?key=YOUR_KEY_GOES_HERE' 1. `analyticsOwner`: The entity that analytics data is being sent to. Used in copy when explaining to the user where data is being sent. If not set, defaults to `brand`. diff --git a/docs/labs.md b/docs/labs.md index 2b09352ee7d..6aa62d9ec46 100644 --- a/docs/labs.md +++ b/docs/labs.md @@ -144,9 +144,9 @@ demonstrate viability and prove [MSC3488](https://github.com/matrix-org/matrix-d and [MSC3489](https://github.com/matrix-org/matrix-doc/pull/3489) - **the UI has not yet been designed, and it will not exit labs until it has**. -For this to work, you must specify a valid maptiler.com API key in -`"map_style_url": "https://api.maptiler.com/maps/basic/style.json?key=YOUR_KEY_GOES_HERE"` -in your config.json, or find an alternative map tile server. +For this to work, you must specify the URL of a valid map tile server style file in +the `map_style_url` setting in config.json. +For example: "https://api.maptiler.com/maps/streets/style.json?key=YOUR_KEY_GOES_HERE"` ## Breadcrumbs v2 (`feature_breadcrumbs_v2`) diff --git a/element.io/develop/config.json b/element.io/develop/config.json index 914dde9bcf6..806171573cf 100644 --- a/element.io/develop/config.json +++ b/element.io/develop/config.json @@ -60,5 +60,5 @@ "features": { "feature_spaces_metaspaces": true }, - "map_style_url": "https://api.maptiler.com/maps/basic/style.json?key=JCdnMQY3oGklTYYLIvtI" + "map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=fU3vlMsMn4Jb6dnEIFsx" }