mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-27 19:38:29 +01:00
77451c6a71
* Enable location sharing in Element * Update roles/custom/matrix-client-element/tasks/validate_config.yml Co-authored-by: Slavi Pantaleev <slavi@devture.com> * Update roles/custom/matrix-client-element/tasks/setup_install.yml Co-authored-by: Slavi Pantaleev <slavi@devture.com> * Rename location sharing vars to be consistent with other vars * Rename style.json to map_style.json * Add m.tile_server section to /.well-known/matrix/client Co-authored-by: Slavi Pantaleev <slavi@devture.com>
19 lines
529 B
Django/Jinja
19 lines
529 B
Django/Jinja
{
|
|
"layers": [
|
|
{
|
|
"id": "locallayer",
|
|
"source": "localsource",
|
|
"type": "raster"
|
|
}
|
|
],
|
|
"sources": {
|
|
"localsource": {
|
|
"attribution": {{ matrix_client_element_location_sharing_map_style_content_sources_localsource_attribution|to_json }},
|
|
"tileSize": 256,
|
|
"tiles": {{ matrix_client_element_location_sharing_map_style_content_sources_localsource_tiles|to_json }},
|
|
"type": "raster"
|
|
}
|
|
},
|
|
"version": 8
|
|
}
|