Files
gpx.studio/website/src/lib/docs/cs/map-controls.mdx.mdx
vcoppe 855d4af70e New Crowdin updates (#23)
* New translations extract.mdx (Vietnamese)

* New translations minify.mdx (Romanian)

* New translations minify.mdx (French)

* New translations minify.mdx (Spanish)

* New translations minify.mdx (Catalan)

* New translations minify.mdx (Czech)

* New translations minify.mdx (German)

* New translations minify.mdx (Greek)

* New translations minify.mdx (Hungarian)

* New translations minify.mdx (Italian)

* New translations minify.mdx (Lithuanian)

* New translations minify.mdx (Dutch)

* New translations minify.mdx (Norwegian)

* New translations minify.mdx (Polish)

* New translations minify.mdx (Portuguese)

* New translations minify.mdx (Russian)

* New translations minify.mdx (Swedish)

* New translations minify.mdx (Chinese Simplified)

* New translations minify.mdx (Vietnamese)

* New translations routing.mdx (Romanian)

* New translations routing.mdx (French)

* New translations routing.mdx (Spanish)

* New translations routing.mdx (Catalan)

* New translations routing.mdx (Czech)

* New translations routing.mdx (German)

* New translations routing.mdx (Greek)

* New translations routing.mdx (Hungarian)

* New translations routing.mdx (Italian)

* New translations routing.mdx (Lithuanian)

* New translations routing.mdx (Dutch)

* New translations routing.mdx (Norwegian)

* New translations routing.mdx (Polish)

* New translations routing.mdx (Portuguese)

* New translations routing.mdx (Russian)

* New translations routing.mdx (Swedish)

* New translations routing.mdx (Chinese Simplified)

* New translations routing.mdx (Vietnamese)

* New translations time.mdx (Romanian)

* New translations time.mdx (French)

* New translations time.mdx (Spanish)

* New translations time.mdx (Catalan)

* New translations time.mdx (Czech)

* New translations time.mdx (German)

* New translations time.mdx (Greek)

* New translations time.mdx (Hungarian)

* New translations time.mdx (Italian)

* New translations time.mdx (Lithuanian)

* New translations time.mdx (Dutch)

* New translations time.mdx (Norwegian)

* New translations time.mdx (Polish)

* New translations time.mdx (Portuguese)

* New translations time.mdx (Russian)

* New translations time.mdx (Swedish)

* New translations time.mdx (Chinese Simplified)

* New translations time.mdx (Vietnamese)

* Update source file files-and-stats.mdx

* Update source file map-controls.mdx

* Update source file menu.mdx

* Update source file edit.mdx

* Update source file file.mdx

* Update source file settings.mdx

* Update source file view.mdx

* Update source file extract.mdx

* Update source file minify.mdx

* Update source file routing.mdx

* Update source file time.mdx

* New translations en.json (French)

* New translations en.json (Swedish)

* New translations files-and-stats.mdx (Spanish)

* New translations files-and-stats.mdx (Italian)

* New translations integration.mdx (Romanian)

* New translations integration.mdx (French)

* New translations integration.mdx (Spanish)

* New translations integration.mdx (Catalan)

* New translations integration.mdx (Czech)

* New translations integration.mdx (German)

* New translations integration.mdx (Greek)

* New translations integration.mdx (Hungarian)

* New translations integration.mdx (Italian)

* New translations integration.mdx (Lithuanian)

* New translations integration.mdx (Dutch)

* New translations integration.mdx (Norwegian)

* New translations integration.mdx (Polish)

* New translations integration.mdx (Portuguese)

* New translations integration.mdx (Russian)

* New translations integration.mdx (Swedish)

* New translations integration.mdx (Chinese Simplified)

* New translations integration.mdx (Vietnamese)

* New translations map-controls.mdx (Spanish)

* New translations file.mdx (Romanian)

* New translations menu.mdx (Spanish)

* New translations edit.mdx (Spanish)

* New translations file.mdx (French)

* New translations file.mdx (Spanish)

* New translations file.mdx (Catalan)

* New translations file.mdx (Czech)

* New translations file.mdx (German)

* New translations file.mdx (Greek)

* New translations file.mdx (Hungarian)

* New translations file.mdx (Italian)

* New translations file.mdx (Lithuanian)

* New translations file.mdx (Dutch)

* New translations file.mdx (Norwegian)

* New translations file.mdx (Polish)

* New translations file.mdx (Portuguese)

* New translations file.mdx (Russian)

* New translations file.mdx (Swedish)

* New translations file.mdx (Chinese Simplified)

* New translations file.mdx (Vietnamese)

* New translations view.mdx (Spanish)

* New translations routing.mdx (Romanian)

* New translations routing.mdx (French)

* New translations routing.mdx (Spanish)

* New translations routing.mdx (Catalan)

* New translations routing.mdx (Czech)

* New translations routing.mdx (German)

* New translations routing.mdx (Greek)

* New translations routing.mdx (Hungarian)

* New translations routing.mdx (Italian)

* New translations routing.mdx (Lithuanian)

* New translations routing.mdx (Dutch)

* New translations routing.mdx (Norwegian)

* New translations routing.mdx (Polish)

* New translations routing.mdx (Portuguese)

* New translations routing.mdx (Russian)

* New translations routing.mdx (Swedish)

* New translations routing.mdx (Chinese Simplified)

* New translations routing.mdx (Vietnamese)

* Update source file integration.mdx

* Update source file file.mdx

* Update source file routing.mdx

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Catalan)

* New translations en.json (Czech)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Lithuanian)

* New translations en.json (Dutch)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Chinese Simplified)

* New translations en.json (Vietnamese)

* New translations file.mdx (Spanish)

* New translations settings.mdx (Spanish)

* Update source file en.json

* Update source file routing.mdx

* New translations en.json (Romanian)

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations en.json (Catalan)

* New translations en.json (Czech)

* New translations en.json (German)

* New translations en.json (Greek)

* New translations en.json (Hungarian)

* New translations en.json (Italian)

* New translations en.json (Lithuanian)

* New translations en.json (Dutch)

* New translations en.json (Norwegian)

* New translations en.json (Polish)

* New translations en.json (Portuguese)

* New translations en.json (Russian)

* New translations en.json (Swedish)

* New translations en.json (Chinese Simplified)

* New translations en.json (Vietnamese)

* New translations funding.mdx (Spanish)

* New translations extract.mdx (Spanish)

* New translations minify.mdx (Spanish)

* New translations routing.mdx (Romanian)

* New translations routing.mdx (French)

* New translations routing.mdx (Spanish)

* New translations routing.mdx (Catalan)

* New translations routing.mdx (Czech)

* New translations routing.mdx (German)

* New translations routing.mdx (Greek)

* New translations routing.mdx (Hungarian)

* New translations routing.mdx (Italian)

* New translations routing.mdx (Lithuanian)

* New translations routing.mdx (Dutch)

* New translations routing.mdx (Norwegian)

* New translations routing.mdx (Polish)

* New translations routing.mdx (Portuguese)

* New translations routing.mdx (Russian)

* New translations routing.mdx (Swedish)

* New translations routing.mdx (Chinese Simplified)

* New translations routing.mdx (Vietnamese)

* New translations time.mdx (Spanish)

* Update source file en.json

* New translations en.json (French)

* New translations en.json (Spanish)

* New translations funding.mdx (Romanian)

* New translations funding.mdx (French)

* New translations funding.mdx (Spanish)

* New translations funding.mdx (Catalan)

* New translations funding.mdx (Czech)

* New translations funding.mdx (German)

* New translations funding.mdx (Greek)

* New translations funding.mdx (Hungarian)

* New translations funding.mdx (Italian)

* New translations funding.mdx (Lithuanian)

* New translations funding.mdx (Dutch)

* New translations funding.mdx (Norwegian)

* New translations funding.mdx (Polish)

* New translations funding.mdx (Portuguese)

* New translations funding.mdx (Russian)

* New translations funding.mdx (Swedish)

* New translations funding.mdx (Chinese Simplified)

* New translations funding.mdx (Vietnamese)

* New translations mapbox.mdx (Spanish)

* New translations translation.mdx (Spanish)

* New translations menu.mdx (Spanish)

* Update source file funding.mdx

* New translations en.json (Spanish)

* New translations en.json (Portuguese)

* New translations funding.mdx (Spanish)

* New translations mapbox.mdx (French)

* New translations funding.mdx (Portuguese)

* New translations translation.mdx (French)

* New translations mapbox.mdx (Portuguese)

* New translations translation.mdx (Portuguese)

* New translations toolbar.mdx (Portuguese)

* New translations en.json (Portuguese, Brazilian)

* New translations files-and-stats.mdx (Portuguese, Brazilian)

* New translations getting-started.mdx (Portuguese, Brazilian)

* New translations gpx.mdx (Portuguese, Brazilian)

* New translations funding.mdx (Portuguese, Brazilian)

* New translations mapbox.mdx (Portuguese, Brazilian)

* New translations translation.mdx (Portuguese, Brazilian)

* New translations integration.mdx (Portuguese, Brazilian)

* New translations map-controls.mdx (Portuguese, Brazilian)

* New translations menu.mdx (Portuguese, Brazilian)

* New translations edit.mdx (Portuguese, Brazilian)

* New translations file.mdx (Portuguese, Brazilian)

* New translations settings.mdx (Portuguese, Brazilian)

* New translations view.mdx (Portuguese, Brazilian)

* New translations toolbar.mdx (Portuguese, Brazilian)

* New translations clean.mdx (Portuguese, Brazilian)

* New translations extract.mdx (Portuguese, Brazilian)

* New translations merge.mdx (Portuguese, Brazilian)

* New translations minify.mdx (Portuguese, Brazilian)

* New translations poi.mdx (Portuguese, Brazilian)

* New translations routing.mdx (Portuguese, Brazilian)

* New translations scissors.mdx (Portuguese, Brazilian)

* New translations time.mdx (Portuguese, Brazilian)
2024-07-23 16:30:50 +02:00

72 lines
3.7 KiB
Plaintext

---
title: Map controls
---
<script>
import { Plus, Minus, Diff, Compass, Search, LocateFixed, PersonStanding, Layers3 } from 'lucide-svelte';
import DocsNote from '$lib/components/docs/DocsNote.svelte';
import DocsLayers from '$lib/components/docs/DocsLayers.svelte';
</script>
# { title }
### <Diff size="16" class="inline-block" style="margin-bottom: 2px" /> Map navigation
The controls at the top allow you to zoom in <Plus size="16" class="inline-block" style="margin-bottom: 2px" /> and out <Minus size="16" class="inline-block" style="margin-bottom: 2px" />, and to change the orientation of the map <Compass size="16" class="inline-block" style="margin-bottom: 2px" />.
<DocsNote>
```
To control the orientation and tilt of the map, you can also drag the map while holding <kbd>Ctrl</kbd>.
```
</DocsNote>
### <Search size="16" class="inline-block" style="margin-bottom: 2px" /> Search bar
You can use the search bar to look for an address and navigate to it on the map.
### <LocateFixed size="16" class="inline-block" style="margin-bottom: 2px" /> Locate button
The locate button will center the map on your current location.
<DocsNote>
```
This only works if you have allowed your browser and <b>gpx.studio</b> to access your location.
```
</DocsNote>
### <PersonStanding size="16" class="inline-block" style="margin-bottom: 2px" /> Street view
This button can be used to enable street view mode on the map.
Depending on the street view source chosen in the [settings](./menu/settings), street view imagery can be accessed differently.
- <a href="https://www.mapillary.com/" target="_blank">Mapillary</a>: the street view coverage will appear as green lines on the map. When zoomed in enough, green dots will show the exact locations where street view imagery is available. Hovering over a green dot will show the street view image at that location.
- <a href="https://www.google.com/streetview/" target="_blank">Google Street View</a>: click on the map to open a new tab with the street view imagery at that location.
### <Layers3 size="16" class="inline-block" style="margin-bottom: 2px" /> Map layers
The map layers button allows you to switch between different basemaps, and toggle map overlays and categories of points of interest.
- **Basemaps** are background maps that present the main geographic features of the world.
Depending on their purpose, basemaps will have different styles and levels of detail.
Only one basemap can be displayed at a time.
- **Overlays** are additional layers that can be displayed on top of the basemap to provide complementary information.
- **Points of interest** can be added to the map to show different categories of places, such as shops, restaurants, or accommodations.
<div class="flex flex-col items-center">
<DocsLayers />
<span class="text-sm text-center mt-2">
Hover over the map to show the <a href="https://hiking.waymarkedtrails.org" target="_blank">Waymarked Trails hiking</a> overlay on top of the <a href="https://www.mapbox.com/maps/outdoors" target="_blank">Mapbox Outdoors</a> basemap.
</span>
</div>
A large collection of global and local basemaps and overlays is available in **gpx.studio**, as well as a selection of point-of-interest categories.
They can be enabled in the [map layer settings dialog](./menu/settings).
In these settings, you can also manage the opacity of the overlays.
For advanced users, it is possible to add custom basemaps and overlays by providing <a href="https://en.wikipedia.org/wiki/Web_Map_Tile_Service" target="_blank">WMTS</a>, <a href="https://en.wikipedia.org/wiki/Web_Map_Service" target="_blank">WMS</a>, or <a href="https://docs.mapbox.com/help/glossary/style/" target="_blank">Mapbox style JSON</a> URLs.