Files
gpx.studio/website/src/lib/docs/ru/integration.mdx
2026-03-29 20:30:37 +02:00

28 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: Интеграция
---
<script>
import DocsNote from '$lib/components/docs/DocsNote.svelte';
import EmbeddingPlayground from '$lib/components/embedding/EmbeddingPlayground.svelte';
</script>
# { title }
Вы можете использовать **gpx.studio** для создания карт, отображающих ваши GPX-файлы, и встроить их на ваш сайт.
Все, что вам нужно это:
1. GPX files hosted on your server or on Google Drive, or accessible via a public URL;
2. _Optional:_ a <a href="https://cloud.maptiler.com/auth/widget?next=https://cloud.maptiler.com/maps/" target="_blank">MapTiler key</a> to load MapTiler maps.
Затем вы можете поиграть с конфигуратором ниже, чтобы настроить свою карту и сгенерировать соответствующий HTML-код.
<DocsNote type="warning">
Вам потребуется настроить <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" target="_blank">заголовки CORS (Cross-Origin Resource Sharing)</a> на вашем сервере, чтобы разрешить <b>gpx.studio</b> загружать ваши GPX-файлы.
</DocsNote>
<EmbeddingPlayground />