diff --git a/docs/admin_docs/configuration/map-tiles.mdx b/docs/admin_docs/configuration/map-tiles.mdx index e83608c38bb..15c383132d0 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,6 +100,7 @@ TALISMAN_CONFIG = { "https://tile.openstreetmap.org", "https://tile.osm.ch", "https://your_personal_url/{z}/{x}/{y}.png", + "https://tiles.api-maps.yandex.ru", ], ... }