mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2025-12-03 10:22:13 +00:00
* New translations files-and-stats.mdx (Catalan) * New translations files-and-stats.mdx (Catalan) * New translations gpx.mdx (Catalan) * New translations en.json (Serbian (Latin)) * New translations en.json (Serbian (Latin)) * New translations files-and-stats.mdx (Serbian (Latin)) * New translations getting-started.mdx (Serbian (Latin)) * New translations gpx.mdx (Serbian (Latin)) * New translations map-controls.mdx (Serbian (Latin)) * New translations menu.mdx (Serbian (Latin)) * New translations edit.mdx (Serbian (Latin)) * New translations view.mdx (Serbian (Latin)) * New translations toolbar.mdx (Serbian (Latin)) * New translations integration.mdx (Catalan) * New translations integration.mdx (Catalan) * New translations map-controls.mdx (Catalan) * New translations view.mdx (Catalan)
28 lines
1007 B
Plaintext
28 lines
1007 B
Plaintext
---
|
|
title: Integració
|
|
---
|
|
|
|
<script>
|
|
import DocsNote from '$lib/components/docs/DocsNote.svelte';
|
|
import EmbeddingPlayground from '$lib/components/embedding/EmbeddingPlayground.svelte';
|
|
</script>
|
|
|
|
# { title }
|
|
|
|
Pots utilitzar **gpx.studio** per crear mapes que mostrin els teus arxius GPX i incrustar-los en la teva web.
|
|
|
|
Tot el que necessites és:
|
|
|
|
1. Un <a href="https://account.mapbox.com/auth/signup" target="_blank"> token d'accés a Mapbox</a> per carregar el mapa i
|
|
2. Arxius GPX allotjats en el teu servidor, a Google Drive o accessibles a través d'una URL pública.
|
|
|
|
Aleshores pots jugar amb el configurador de sota per personalitzar el teu mapa i generar el corresponent codi HTML.
|
|
|
|
<DocsNote type="warning">
|
|
|
|
Hauràs de configurar les capçaleres <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS" target="_blank"> Cross-Origin Resource Sharing (CORS)</a> en el teu servidor per permetre <b>gpx.studio</b> carregar els teus arxius GPX.
|
|
|
|
</DocsNote>
|
|
|
|
<EmbeddingPlayground />
|