Skip to content

Commit

Permalink
New config for maps (#20668)
Browse files Browse the repository at this point in the history
  • Loading branch information
andybalaam committed Jan 21, 2022
1 parent 68f5826 commit 06fa4f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions docs/config.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`.

Expand Down
6 changes: 3 additions & 3 deletions docs/labs.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)

Expand Down
2 changes: 1 addition & 1 deletion element.io/develop/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 06fa4f4

Please sign in to comment.