From f02bc1ace52d22292cb28d61f8b14b0a12d15900 Mon Sep 17 00:00:00 2001 From: Viktor Gnidenko Date: Fri, 24 Jul 2026 09:09:39 +0300 Subject: [PATCH 1/2] docs: add Yandex Tiles API configuration --- docs/admin_docs/configuration/map-tiles.mdx | 31 ++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/docs/admin_docs/configuration/map-tiles.mdx b/docs/admin_docs/configuration/map-tiles.mdx index e83608c38bbc..37fd640609b0 100644 --- a/docs/admin_docs/configuration/map-tiles.mdx +++ b/docs/admin_docs/configuration/map-tiles.mdx @@ -25,6 +25,33 @@ DECKGL_BASE_MAP = [ ] ``` +[Yandex Tiles API](https://yandex.ru/maps-api/docs/tiles-api/request.html) can be used as a custom tile provider. The URL must include the `apikey` from the [Yandex Developer Dashboard](https://developer.tech.yandex.ru/services), tile coordinates (`x`, `y`, and `z`), and the required map layer parameters. + +```python +DECKGL_BASE_MAP = [ + [ + "tile://https://tiles.api-maps.yandex.ru/v1/tiles/" + "?apikey=YOUR_YANDEX_API_KEY" + "&lang=ru_RU" + "&x={x}&y={y}&z={z}" + "&l=map" + "&projection=web_mercator" + "&maptype=map", + "Yandex Maps - Web Mercator", + ], + [ + "tile://https://tiles.api-maps.yandex.ru/v1/tiles/" + "?apikey=YOUR_YANDEX_API_KEY" + "&lang=ru_RU" + "&x={x}&y={y}&z={z}" + "&l=map" + "&projection=wgs84_mercator" + "&maptype=map", + "Yandex Maps - WGS84 Mercator", + ], +] +``` + Default values are: ```python DECKGL_BASE_MAP = [ @@ -56,6 +83,7 @@ CORS_OPTIONS: dict[Any, Any] = { "https://tile.openstreetmap.org", "https://tile.osm.ch", "https://your_personal_url/{z}/{x}/{y}.png", + "https://tiles.api-maps.yandex.ru", ] } @@ -72,7 +100,8 @@ TALISMAN_CONFIG = { "https://tile.openstreetmap.org", "https://tile.osm.ch", "https://your_personal_url/{z}/{x}/{y}.png", + "https://tiles.api-maps.yandex.ru", ], ... } -``` +``` \ No newline at end of file From caeb7de7d0454a39edff791f9857e3b73b27b8d1 Mon Sep 17 00:00:00 2001 From: Viktor Gnidenko Date: Fri, 24 Jul 2026 11:49:31 +0300 Subject: [PATCH 2/2] docs: fix line endings --- docs/admin_docs/configuration/map-tiles.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin_docs/configuration/map-tiles.mdx b/docs/admin_docs/configuration/map-tiles.mdx index 37fd640609b0..15c383132d0e 100644 --- a/docs/admin_docs/configuration/map-tiles.mdx +++ b/docs/admin_docs/configuration/map-tiles.mdx @@ -104,4 +104,4 @@ TALISMAN_CONFIG = { ], ... } -``` \ No newline at end of file +```