├── public ├── index.html ├── favicon.png ├── img │ ├── dot.png │ ├── marker.png │ ├── map_mtb.ico │ ├── map_mtb.png │ ├── route_alp.png │ ├── route_int.png │ ├── route_mnt.png │ ├── route_nat.png │ ├── route_reg.png │ ├── route_ski.png │ ├── route_std.png │ ├── ajax-loader.gif │ ├── banner_mtb.jpg │ ├── map_cycling.ico │ ├── map_cycling.png │ ├── map_hiking.ico │ ├── map_hiking.png │ ├── map_riding.ico │ ├── map_riding.png │ ├── map_skating.ico │ ├── map_skating.png │ ├── map_slopes.ico │ ├── map_slopes.png │ ├── route_hike.png │ ├── route_mnt1.png │ ├── route_mnt2.png │ ├── route_other.png │ ├── route_sled.png │ ├── banner_cycling.jpg │ ├── banner_hiking.jpg │ ├── banner_riding.jpg │ ├── banner_skating.jpg │ ├── banner_slopes.jpg │ ├── route_nordic.png │ ├── route_unknown.png │ ├── white.svg │ ├── yellow_diamond.svg │ ├── white_blue_bar.svg │ ├── white_red_bar.svg │ ├── map_hiking.svg │ ├── map_cycling.svg │ └── map_mtb.svg ├── mtb.css ├── hiking.css ├── skating.css ├── cycling.css ├── slopes.css ├── riding.css ├── osmc_symbols.html ├── mtb.html ├── slopes.html ├── skating.html ├── riding.html ├── cycling.html └── hiking.html ├── .gitignore ├── src ├── main.js ├── osmc_symbols.js ├── ui │ ├── ButtonFooter.svelte │ ├── DetailsPropertyList.svelte │ ├── DetailsWeblink.svelte │ ├── OsmObjectLink.svelte │ ├── LinearState.svelte │ ├── SearchForm.svelte │ ├── ItineraryLine.svelte │ ├── RouteList.svelte │ ├── DetailsHeader.svelte │ ├── Collapsible.svelte │ ├── DetailsPropertyItem.svelte │ ├── CollapsibleTagList.svelte │ ├── InterLinkMapList.svelte │ ├── DetailsFooter.svelte │ ├── DropdownList.svelte │ ├── OpacitySlider.svelte │ └── SidePanel.svelte ├── i18n │ ├── he │ │ ├── helppages.yaml │ │ └── messages.yaml │ ├── fo │ │ ├── helppages.yaml │ │ └── messages.yaml │ ├── kum │ │ └── messages.yaml │ ├── sd │ │ └── messages.yaml │ ├── az │ │ ├── helppages.yaml │ │ └── messages.yaml │ ├── lt │ │ ├── helppages.yaml │ │ └── messages.yaml │ ├── lki │ │ └── messages.yaml │ ├── ja │ │ ├── helppages.yaml │ │ └── messages.yaml │ ├── ml │ │ └── messages.yaml │ ├── my │ │ └── messages.yaml │ ├── bs │ │ └── messages.yaml │ ├── te │ │ └── messages.yaml │ ├── bcc │ │ └── messages.yaml │ ├── ko │ │ ├── helppages.yaml │ │ └── messages.yaml │ ├── olo │ │ └── messages.yaml │ ├── kn │ │ └── messages.yaml │ ├── mg │ │ └── messages.yaml │ ├── ne │ │ └── messages.yaml │ ├── mnw │ │ └── messages.yaml │ ├── mni │ │ └── messages.yaml │ ├── mr │ │ ├── messages.yaml │ │ └── helppages.yaml │ ├── pfl │ │ └── messages.yaml │ ├── blk │ │ └── messages.yaml │ ├── ba │ │ └── messages.yaml │ ├── sr-el │ │ └── messages.yaml │ ├── azb │ │ └── messages.yaml │ ├── bxr │ │ └── messages.yaml │ ├── ur │ │ └── messages.yaml │ ├── id │ │ └── messages.yaml │ ├── kab │ │ └── messages.yaml │ ├── bn │ │ └── messages.yaml │ ├── xmf │ │ └── messages.yaml │ ├── fa │ │ └── messages.yaml │ ├── zh-hk │ │ └── messages.yaml │ ├── et │ │ └── messages.yaml │ ├── nn │ │ └── messages.yaml │ ├── ms │ │ └── messages.yaml │ ├── ce │ │ └── messages.yaml │ ├── mk │ │ └── helppages.yaml │ ├── bg │ │ └── messages.yaml │ ├── hy │ │ └── messages.yaml │ ├── lmo │ │ └── messages.yaml │ ├── ksh │ │ └── messages.yaml │ ├── oc │ │ └── messages.yaml │ ├── tly │ │ └── messages.yaml │ ├── nb │ │ └── messages.yaml │ ├── nqo │ │ └── messages.yaml │ ├── vec │ │ └── messages.yaml │ ├── ro │ │ └── helppages.yaml │ ├── scn │ │ └── messages.yaml │ ├── fi │ │ └── helppages.yaml │ ├── sr-ec │ │ └── messages.yaml │ ├── lb │ │ └── messages.yaml │ ├── tl │ │ └── helppages.yaml │ ├── vi │ │ └── messages.yaml │ ├── tt-cyrl │ │ └── messages.yaml │ ├── qqq │ │ ├── messages.yaml │ │ └── helppages.yaml │ ├── help.js │ ├── cs │ │ └── messages.yaml │ ├── en-gb │ │ └── messages.yaml │ ├── pl │ │ └── messages.yaml │ ├── ast │ │ └── messages.yaml │ ├── eo │ │ └── messages.yaml │ ├── skr-arab │ │ └── messages.yaml │ ├── ca │ │ └── messages.yaml │ └── eu │ │ └── messages.yaml ├── svg │ ├── Close.svelte │ ├── Back.svelte │ ├── GeoPin.svelte │ ├── Search.svelte │ ├── ArrowBarTop.svelte │ ├── ArrowBarBottom.svelte │ ├── Download.svelte │ ├── DoubleChevron.svelte │ ├── Info.svelte │ ├── Forward.svelte │ ├── Zoom.svelte │ ├── HourGlass.svelte │ ├── ListTask.svelte │ ├── Question.svelte │ └── Gear.svelte ├── util │ ├── route_transforms.js │ ├── load_json.js │ └── window_hash.js ├── page_state.svelte.js ├── UpdateInfo.svelte ├── map │ ├── MapAttribution.svelte │ ├── XYZLayer.svelte │ └── style_details.js ├── i18n.js ├── config.js ├── Footer.svelte ├── ElevationView.svelte ├── map_state.svelte.js └── PanelSettings.svelte ├── package.json ├── bin └── make_locale_js.sh ├── css └── global.css └── README.md /public/index.html: -------------------------------------------------------------------------------- 1 | hiking.html -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /public/build/ 2 | -------------------------------------------------------------------------------- /public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/favicon.png -------------------------------------------------------------------------------- /public/img/dot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/dot.png -------------------------------------------------------------------------------- /public/img/marker.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/marker.png -------------------------------------------------------------------------------- /public/img/map_mtb.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_mtb.ico -------------------------------------------------------------------------------- /public/img/map_mtb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_mtb.png -------------------------------------------------------------------------------- /public/img/route_alp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_alp.png -------------------------------------------------------------------------------- /public/img/route_int.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_int.png -------------------------------------------------------------------------------- /public/img/route_mnt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_mnt.png -------------------------------------------------------------------------------- /public/img/route_nat.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_nat.png -------------------------------------------------------------------------------- /public/img/route_reg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_reg.png -------------------------------------------------------------------------------- /public/img/route_ski.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_ski.png -------------------------------------------------------------------------------- /public/img/route_std.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_std.png -------------------------------------------------------------------------------- /public/img/ajax-loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/ajax-loader.gif -------------------------------------------------------------------------------- /public/img/banner_mtb.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/banner_mtb.jpg -------------------------------------------------------------------------------- /public/img/map_cycling.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_cycling.ico -------------------------------------------------------------------------------- /public/img/map_cycling.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_cycling.png -------------------------------------------------------------------------------- /public/img/map_hiking.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_hiking.ico -------------------------------------------------------------------------------- /public/img/map_hiking.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_hiking.png -------------------------------------------------------------------------------- /public/img/map_riding.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_riding.ico -------------------------------------------------------------------------------- /public/img/map_riding.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_riding.png -------------------------------------------------------------------------------- /public/img/map_skating.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_skating.ico -------------------------------------------------------------------------------- /public/img/map_skating.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_skating.png -------------------------------------------------------------------------------- /public/img/map_slopes.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_slopes.ico -------------------------------------------------------------------------------- /public/img/map_slopes.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/map_slopes.png -------------------------------------------------------------------------------- /public/img/route_hike.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_hike.png -------------------------------------------------------------------------------- /public/img/route_mnt1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_mnt1.png -------------------------------------------------------------------------------- /public/img/route_mnt2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_mnt2.png -------------------------------------------------------------------------------- /public/img/route_other.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_other.png -------------------------------------------------------------------------------- /public/img/route_sled.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_sled.png -------------------------------------------------------------------------------- /public/img/banner_cycling.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/banner_cycling.jpg -------------------------------------------------------------------------------- /public/img/banner_hiking.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/banner_hiking.jpg -------------------------------------------------------------------------------- /public/img/banner_riding.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/banner_riding.jpg -------------------------------------------------------------------------------- /public/img/banner_skating.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/banner_skating.jpg -------------------------------------------------------------------------------- /public/img/banner_slopes.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/banner_slopes.jpg -------------------------------------------------------------------------------- /public/img/route_nordic.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_nordic.png -------------------------------------------------------------------------------- /public/img/route_unknown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/waymarkedtrails/waymarkedtrails-website/HEAD/public/img/route_unknown.png -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | import './i18n.js'; 2 | import { mount } from 'svelte'; 3 | import App from './App.svelte'; 4 | 5 | const app = mount(App, {target: document.body}); 6 | 7 | export default app; 8 | -------------------------------------------------------------------------------- /src/osmc_symbols.js: -------------------------------------------------------------------------------- 1 | import './i18n.js'; 2 | import { mount } from 'svelte'; 3 | import App from './OsmcApp.svelte'; 4 | 5 | const app = mount(App, {target: document.body}); 6 | 7 | export default app; 8 | -------------------------------------------------------------------------------- /src/ui/ButtonFooter.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 9 | -------------------------------------------------------------------------------- /src/ui/DetailsPropertyList.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 11 | 12 |
{@render children_render?.()}
13 | -------------------------------------------------------------------------------- /src/i18n/he/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Hebrew (עברית) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Inkbug 5 | --- 6 | about: 7 | title: אודות המפה 8 | technical: 9 | title: פרטים טכניים 10 | acknowledgements: 11 | title: תודות 12 | contact: 13 | title: יצירת קשר 14 | ... 15 | -------------------------------------------------------------------------------- /src/svg/Close.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/svg/Back.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/svg/GeoPin.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /src/svg/Search.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /public/mtb.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --theme-background-color: #353d6b; 3 | --theme-font-color: #bfdcdb; 4 | --theme-sub-color: #161a2d; 5 | --theme-sub-font-color: #c9cdd2; 6 | --theme-sub-link-color: #c4fffd; 7 | --theme-banner-image: url('../img/banner_mtb.jpg'); 8 | --theme-link-color: #3d53d5; 9 | --theme-button-background: #5a6268; 10 | --theme-button-color: #ddd; 11 | } 12 | -------------------------------------------------------------------------------- /public/hiking.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --theme-background-color: #96C060; 3 | --theme-font-color: #030329; 4 | --theme-sub-color: #5a7537; 5 | --theme-sub-font-color: #dbfbb1; 6 | --theme-sub-link-color: #fcd76d; 7 | --theme-banner-image: url('../img/banner_hiking.jpg'); 8 | --theme-link-color: #12148d; 9 | --theme-button-background: #5a6268; 10 | --theme-button-color: #fff; 11 | } 12 | -------------------------------------------------------------------------------- /public/skating.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --theme-background-color: #c6929b; 3 | --theme-font-color: #000; 4 | --theme-sub-color: #ae5261; 5 | --theme-sub-font-color: #e0e3e3; 6 | --theme-sub-link-color: #6bbbbb; 7 | --theme-banner-image: url('../img/banner_skating.jpg'); 8 | --theme-link-color: #731222; 9 | --theme-button-background: #5a6268; 10 | --theme-button-color: #fff; 11 | } 12 | -------------------------------------------------------------------------------- /public/cycling.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --theme-background-color: #a9b7ff; 3 | --theme-font-color: #000; 4 | --theme-sub-color: #414c87; 5 | --theme-sub-font-color: #b6d293; 6 | --theme-sub-link-color: #dde530; 7 | --theme-banner-image: url('../img/banner_cycling.jpg'); 8 | --theme-link-color: #233fd3; 9 | --theme-button-background: #898f93; 10 | --theme-button-color: #f5f5f3; 11 | } 12 | -------------------------------------------------------------------------------- /public/slopes.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --theme-background-color: #a2a2a2; 3 | --theme-font-color: #000; 4 | --theme-sub-color: #424242; 5 | --theme-sub-font-color: #b5b5b5; 6 | --theme-sub-link-color: #c67a0e; 7 | --theme-banner-image: url('../img/banner_slopes.jpg'); 8 | --theme-link-color: #3d53d5; 9 | --theme-button-background: #5a6268; 10 | --theme-button-color: #fff; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /public/riding.css: -------------------------------------------------------------------------------- 1 | :root { 2 | --theme-background-color: #d9c885; 3 | --theme-font-color: #101010; 4 | --theme-sub-color: #7e744d; 5 | --theme-sub-font-color: #fae69b; 6 | --theme-sub-link-color: #fcfbf7; 7 | --theme-banner-image: url('../img/banner_riding.jpg'); 8 | --theme-link-color: #68570f; 9 | --theme-button-background: #5a6268; 10 | --theme-button-color: #fff; 11 | } 12 | 13 | -------------------------------------------------------------------------------- /src/ui/DetailsWeblink.svelte: -------------------------------------------------------------------------------- 1 | 6 | 7 | 17 | 18 | {#if url} 19 |
20 | {title} 21 |
22 | {/if} 23 | -------------------------------------------------------------------------------- /src/svg/ArrowBarTop.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/svg/ArrowBarBottom.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/svg/Download.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/svg/DoubleChevron.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/svg/Info.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /public/img/white.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /src/i18n/fo/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Faroese (føroyskt) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: EileenSanda 5 | --- 6 | about: 7 | title: Um kortið 8 | hiking: Hetta kortið vísir uppmerktar gongugøtur kring allan heimin. 9 | cycling: Hetta kortið vísir uppmerktar súkklurutur kring allan heimin. 10 | rendering: 11 | title: Vísing av OSM dáta 12 | hierarchies: 13 | title: Relasjónshierarki 14 | osmc: 15 | title: osmc:symbol tag 16 | technical: 17 | title: Tøkniligir smálutir 18 | ... 19 | -------------------------------------------------------------------------------- /public/img/yellow_diamond.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/svg/Forward.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/i18n/kum/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Kumyk (къумукъ) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: ArslanX 5 | --- 6 | details: 7 | subroutes_title: Бёлюклер 8 | website: Веб-сайфа 9 | download: 10 | format: 11 | GPX: GPX 12 | error: 13 | panel_title: Хата 14 | headline: 15 | last_update: Ахырынчы янгыртыв 16 | help: Хаританы гьакъында 17 | locate_me: Тап мени 18 | osmc_symbol: 19 | back: Артгъа 20 | routelist: 21 | close: Япмакъ 22 | search: 23 | title: Излемек 24 | settings: 25 | language: Тил 26 | site_title: 27 | hiking: Яяв юрюв 28 | ... 29 | -------------------------------------------------------------------------------- /src/ui/OsmObjectLink.svelte: -------------------------------------------------------------------------------- 1 | 11 | 12 | {$_('details.type.' + osm_type)} {osm_id} 13 | -------------------------------------------------------------------------------- /src/util/route_transforms.js: -------------------------------------------------------------------------------- 1 | export function make_route_title(route) { 2 | if (route.name) 3 | return route.name; 4 | if (route.itinerary) 5 | return route.itinerary.join(' - '); 6 | if (route.symbol_description) 7 | return route.symbol_description; 8 | if (route.ref) 9 | return '[' + route.ref + ']'; 10 | return '(' + route.id + ')'; 11 | }; 12 | 13 | export function make_route_subtitle(route) { 14 | if (route.local_name) 15 | return route.local_name; 16 | if (route.name && route.itinerary) 17 | return route.itinerary.join(' - '); 18 | return ''; 19 | }; 20 | -------------------------------------------------------------------------------- /src/ui/LinearState.svelte: -------------------------------------------------------------------------------- 1 | 7 | 8 | 25 | 26 | 27 | {#if state == 'no'} 28 | ✘ 29 | {:else if state == 'sorted'} 30 | ↭ 31 | {:else} 32 | ✔ 33 | {/if} 34 | 35 | -------------------------------------------------------------------------------- /src/i18n/sd/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Sindhi (سنڌي) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Indus Asia 5 | # Author: Mehtab ahmed 6 | --- 7 | details: 8 | subroutes_title: حصا 9 | superroutes_title: جو حصو 10 | website: ويب سائيٽ 11 | wikipedia: وڪيپيڊيا 12 | elevation: 13 | diagram: 14 | distance: مفاصلو (ڪلوميٽر) 15 | error: 16 | panel_title: خرابي 17 | osmc_symbol: 18 | background_heading: بيڪ گرائوند 19 | examples: مثال 20 | routelist: 21 | title: رستا 22 | search: 23 | routes: رستا 24 | title: ڳوليو 25 | settings: 26 | language: ٻولي 27 | site_title: 28 | cycling: سائيڪل هلائڻ 29 | riding: گھوڙي سواري 30 | ... 31 | -------------------------------------------------------------------------------- /src/i18n/az/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Azerbaijani (azərbaycanca) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: AZISS 5 | --- 6 | about: 7 | title: Xəritə haqqında 8 | hiking: Bu xəritədə dünyada üzrə turizm marşrutları göstərilmişdir. 9 | cycling: Bu xəritədə dünyada üzrə velosiped marşrutları göstərilmişdir. 10 | mtb: Bu xəritədə dünyada üzrə dağ velosipedi marşrutları göstərilmişdir. 11 | skating: Bu xəritədə dünyada üzrə skeyt marşrutları göstərilmişdir. 12 | rendering: 13 | title: OSM məlumatlarının renderi 14 | technical: 15 | title: Texniki detallar 16 | acknowledgements: 17 | title: Minnətdarlıqlar 18 | contact: 19 | title: Əlaqə 20 | ... 21 | -------------------------------------------------------------------------------- /src/svg/Zoom.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/svg/HourGlass.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /public/img/white_blue_bar.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /public/img/white_red_bar.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/svg/ListTask.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /src/i18n/lt/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Lithuanian (lietuvių) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Mantak111 5 | --- 6 | about: 7 | title: Apie žemėlapį 8 | hiking: Šis žemėlapis rodo ženklą paskelbtas pėsčiųjų visame pasaulyje. 9 | cycling: Šis žemėlapis rodo ženklą paskelbtus dviračių maršrutus visame pasaulyje. 10 | mtb: Šis žemėlapis rodo ženklą paskelbtus kalnų dviračių maršrutus visame pasaulyje. 11 | rendering: 12 | title: Atvaizduojami OSM duomenys 13 | hikinglocal: 14 | title: Lokalizuota atvaizduojama 15 | technical: 16 | title: Techniniai duomenys 17 | legal: 18 | title: Teisinis ir naudojimo sąlygos 19 | acknowledgements: 20 | title: Padėkos 21 | contact: 22 | title: Kontaktai 23 | ... 24 | -------------------------------------------------------------------------------- /src/svg/Question.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /src/i18n/lki/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Laki (لەکی) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Arash71 5 | # Author: Hosseinblue 6 | # Author: Lakzon 7 | --- 8 | details: 9 | note: ویرنۆیسة-یادداشت 10 | website: وبسایت 11 | error: 12 | panel_title: خطا 13 | headline: 14 | last_update: بروزرسانی دؤمائن 15 | osmc_symbol: 16 | background_heading: پیش‌زمینه 17 | routelist: 18 | title: مسیرها 19 | search: 20 | routes: مسیرها 21 | title: مِنِی کِردِن(گێردین) 22 | settings: 23 | base_map: تقشه پایه 24 | hillshading_layer: سایه تپه 25 | language: زوون 26 | route_layer: لایه مسیر 27 | transparency: شفافیت نقشه 28 | site_title: 29 | cycling: دوچرخه سواری 30 | hiking: پیاده‌روی 31 | mtb: ام تی بی 32 | ... 33 | -------------------------------------------------------------------------------- /src/i18n/ja/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Japanese (日本語) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Shirayuki 5 | --- 6 | about: 7 | title: 地図について 8 | rendering: 9 | title: OSM データのレンダリング 10 | osmc: 11 | title: osmc:symbol タグ 12 | hikinglocal: 13 | title: ローカライズされたレンダリング 14 | elevationprofiles: 15 | title: 高度のプロファイル 16 | technical: 17 | title: 技術的な詳細 18 | translation: |- 19 | ## 翻訳 20 | 21 | [translatewiki.net](http://translatewiki.net) の協力的な人々が翻訳作業をしています。あなたの言語への翻訳に貢献したい場合、または既存の翻訳にフィードバックしたい場合は、[translatewiki.net 上のプロジェクト ページ](http://translatewiki.net/wiki/Translating:Waymarked_Trails) をご覧ください。 22 | legal: 23 | title: 法的事項および利用規約 24 | acknowledgements: 25 | title: 謝辞 26 | contact: 27 | title: 連絡先 28 | ... 29 | -------------------------------------------------------------------------------- /src/page_state.svelte.js: -------------------------------------------------------------------------------- 1 | import { WindowHash } from './util/window_hash.js'; 2 | 3 | const hash = new WindowHash(); 4 | 5 | class PageState { 6 | page = $state(hash.page); 7 | params = hash.params; 8 | 9 | show_page(page = '', params = []) { 10 | this.params = new Map(params); 11 | if (page == this.page) { 12 | // force a refresh of the page 13 | this.page = ''; 14 | } 15 | this.page = page; 16 | } 17 | 18 | toggle_page(page_name) { 19 | this.params = new Map(); 20 | if (this.page === page_name) { 21 | this.page = ''; 22 | } else { 23 | this.page = page_name; 24 | } 25 | } 26 | }; 27 | 28 | export const page_state = new PageState(); 29 | -------------------------------------------------------------------------------- /src/ui/SearchForm.svelte: -------------------------------------------------------------------------------- 1 | 13 | 14 | 23 | 24 |
25 | 26 | 27 |
28 | 29 | -------------------------------------------------------------------------------- /src/i18n/ml/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Malayalam (മലയാളം) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Akhilan 5 | # Author: Praveenp 6 | --- 7 | details: 8 | note: കുറിപ്പ് 9 | official_len: ഔദ്യോഗിക നീളം 10 | subroutes_title: പ്രദേശങ്ങൾ 11 | superroutes_title: ഭാഗമാണ് 12 | website: 'വെബ്‌സൈറ്റ്:' 13 | elevation: 14 | diagram: 15 | altitude: ഉയരം (മീ.) 16 | distance: ദൂരം (കി.മീ.) 17 | error: 18 | panel_title: പിഴവ് 19 | headline: 20 | last_update: അവസാനം പുതുക്കിയത് 21 | osmc_symbol: 22 | background_heading: പശ്ചാത്തലം 23 | foreground_heading: പൂർവ്വതലം 24 | search: 25 | title: തിരയൂ 26 | settings: 27 | base_map: അടിസ്ഥാന ഭൂപടം 28 | language: ഭാഷ 29 | transparency: ഭൂപടത്തിന്റെ സുതാര്യത 30 | site_title: 31 | cycling: സൈക്ലിങ്ങ് 32 | ... 33 | -------------------------------------------------------------------------------- /src/i18n/my/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Burmese (မြန်မာဘာသာ) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dr Lotus Black 5 | --- 6 | details: 7 | note: မှတ်စု 8 | subroutes_title: အပိုင်းများ 9 | website: ဝဘ်ဆိုဒ် 10 | wikipedia: ဝီကီပီးဒီးယား 11 | elevation: 12 | diagram: 13 | distance: အကွာအဝေး (ကီလိုမီတာ) 14 | error: 15 | panel_title: အမှား 16 | headline: 17 | last_update: နောက်ဆုံး မွမ်းမံမှု 18 | help: မြေပုံအကြောင်း 19 | osmc_symbol: 20 | back: နောက်သို့ 21 | background_heading: နောက်ခံ 22 | examples: ဥပမာများ 23 | foreground_heading: ရှေ့ခံ 24 | preview_heading: ကြိုတင်အစမ်းကြည့်ရှုရန် 25 | routelist: 26 | close: ပိတ်ရန် 27 | search: 28 | title: ရှာဖွေရန် 29 | settings: 30 | language: ဘာသာစကား 31 | title: မြေပုံ အပြင်အဆင်များ 32 | ... 33 | -------------------------------------------------------------------------------- /src/i18n/bs/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Bosnian (bosanski) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Palapa 5 | # Author: Srdjan m 6 | # Author: Srđan 7 | --- 8 | details: 9 | official_len: Službena dužina 10 | operator: Operator 11 | subroutes_title: Potezi 12 | superroutes_title: Dio 13 | tags: 14 | title: Oznake OpenStreetMapa 15 | website: Veb-sajt 16 | elevation: 17 | diagram: 18 | altitude: Visina (m) 19 | error: 20 | panel_title: Greška 21 | help: O karti 22 | locate_me: Nađi me 23 | osmc_symbol: 24 | back: Nazad 25 | routelist: 26 | close: Zatvori 27 | search: 28 | title: Pretraži 29 | settings: 30 | language: Jezik 31 | title: Postavke karte 32 | transparency: Providnost karte 33 | site_title: 34 | mtb: Planinski biciklizam 35 | ... 36 | -------------------------------------------------------------------------------- /src/i18n/te/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Telugu (తెలుగు) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Chaduvari 5 | # Author: Kiranmayee 6 | # Author: Veeven 7 | --- 8 | details: 9 | note: గమనిక 10 | official_len: అధికారిక పొడవు 11 | operator: ఆపరేటరు 12 | subroutes_title: విభాగాలు 13 | superroutes_title: ఇందులో భాగం 14 | tags: 15 | title: ఓపెన్ స్ట్రీట్ మాప్ చిహ్నం 16 | wikipedia: వికీపీడియా 17 | error: 18 | panel_title: లోపం 19 | headline: 20 | last_update: చివరి మార్పు 21 | osmc_symbol: 22 | background_heading: వెనుతలం 23 | foreground_heading: మునుతలం 24 | routelist: 25 | title: దారులు 26 | search: 27 | routes: దారులు 28 | title: వెతుకు 29 | settings: 30 | base_map: మూల మ్యాపు 31 | language: భాష 32 | transparency: మ్యాపు పారదర్శకత 33 | ... 34 | -------------------------------------------------------------------------------- /src/i18n/bcc/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Southern Balochi (جهلسری بلوچی) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Baloch Afghanistan 5 | # Author: FarsiNevis 6 | # Author: Moshtank 7 | --- 8 | details: 9 | note: نکته 10 | official_len: Official length 11 | operator: اوپیراتور 12 | subroutes_title: بخش‌ها 13 | superroutes_title: بخشی شه 14 | tags: 15 | title: برچسب‌های نقشه باز شهری 16 | website: وب سایت 17 | error: 18 | panel_title: مِشتک 19 | headline: 20 | last_update: آخرین روزآمدسازی 21 | osmc_symbol: 22 | background_heading: پیش‌زمینه 23 | routelist: 24 | title: مسیرها 25 | search: 26 | routes: مسیرها 27 | settings: 28 | base_map: تقشه پایه 29 | hillshading_layer: سایه تپه 30 | language: زبان 31 | route_layer: لایه مسیر 32 | transparency: شفافیت نقشه 33 | ... 34 | -------------------------------------------------------------------------------- /src/i18n/ko/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Korean (한국어) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Hym411 5 | # Author: Jerrykim306 6 | # Author: Revi 7 | # Author: Ykhwong 8 | # Author: 아라 9 | --- 10 | about: 11 | title: 지도에 대해 12 | hiking: 이 지도는 전 세계의 표지가 있는 등산 경로를 보여줍니다. 13 | rendering: 14 | title: OSM 데이터 렌더링 15 | osmc: 16 | title: osmc:symbol 태그 17 | hikinglocal: 18 | title: 지역화된 렌더링 19 | elevationprofiles: 20 | title: 고도 프로필 21 | technical: 22 | title: 기술 세부 사항 23 | legal: 24 | title: 법률 및 이용 약관 25 | contact: 26 | title: 연락하기 27 | text: |- 28 | 이 사이트의 질문과 의견은 여기로 보낼 수 있습니다: [lonvia@denofr.de](mailto:lonvia@denofr.de). 29 | 30 | 버그는 [깃허브에 있는 프로젝트 이슈 트래커](https://github.com/waymarkedtrails/waymarked-trails-site/issues)에 보고할 수 있습니다. 버그를 보고하기 전에 문제가 OSM 데이터에 있지는 않은지 확인해 주십시오. 31 | ... 32 | -------------------------------------------------------------------------------- /src/ui/ItineraryLine.svelte: -------------------------------------------------------------------------------- 1 | 6 | 7 | 26 | 27 | {#if itinerary} 28 |
29 | {#each itinerary as stop, idx} 30 | {#if idx > 0}{/if} 31 | {stop} 32 | {/each} 33 |
34 | {/if} 35 | -------------------------------------------------------------------------------- /public/osmc_symbols.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Waymarked Trails - OSMCSymbol list 9 | 10 | 11 | 12 | 13 | 14 | 19 | 20 | 21 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /src/i18n/olo/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Livvi-Karelian (livvinkarjala) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Ilja.mos 5 | # Author: Mashoi7 6 | --- 7 | details: 8 | mapped_len: Kartoitettu piduhus 9 | official_len: Virralline piduhus 10 | operator: Operuattoru 11 | website: Internetsaitu 12 | elevation: 13 | diagram: 14 | distance: Loittozus (km) 15 | error: 16 | panel_title: Haireh 17 | headline: 18 | last_update: Jälgimäine päivitys 19 | help: Kartah näh 20 | network: 21 | downhill: alamägi 22 | osmc_symbol: 23 | back: Järilleh 24 | routelist: 25 | close: Salbua 26 | title: Maršrutat 27 | search: 28 | routes: Maršrutat 29 | title: Eččie 30 | settings: 31 | language: Kieli 32 | title: Kartan azetukset 33 | transparency: Kartan läbinägyvys 34 | site_title: 35 | riding: Račastus 36 | ... 37 | -------------------------------------------------------------------------------- /src/util/load_json.js: -------------------------------------------------------------------------------- 1 | import { API_URL } from '../config.js'; 2 | import { get_stored_locale } from '../i18n.js'; 3 | 4 | export function json_load(url, params, signal) { 5 | let urlobj = new URL(url.startsWith('http') ? url : API_URL + url); 6 | urlobj.search = new URLSearchParams(params).toString(); 7 | 8 | const options = {signal: signal}; 9 | const current_language = get_stored_locale(); 10 | if (current_language !== null) { 11 | options.headers = {'Accept-Language': current_language}; 12 | } 13 | 14 | return fetch(urlobj, options) 15 | .catch((e) => {throw new Error('error.load_error'); }) 16 | .then((res) => { 17 | if (res.ok) { 18 | return res.json(); 19 | } 20 | throw new Error(res.status == 404 ? 'error.object_not_found' : 'error.load_error'); 21 | }); 22 | } 23 | -------------------------------------------------------------------------------- /src/svg/Gear.svelte: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /src/i18n/kn/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Kannada (ಕನ್ನಡ) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: ಮಲ್ನಾಡಾಚ್ ಕೊಂಕ್ಣೊ 5 | --- 6 | destination_sign: 7 | more: ಹೆಚ್ಚಿನ ವಿವರಗಳು 8 | details: 9 | image: ಚಿತ್ರ 10 | note: ಟಿಪ್ಪಣಿ 11 | official_len: ಅಧಿಕೃತ ಉದ್ದ 12 | subroutes_title: ವಿಭಾಗಗಳು 13 | symbol: ಚಿಹ್ನೆ 14 | website: ಜಾಲತಾಣ 15 | wikipedia: ವಿಕಿಪೀಡಿಯ 16 | elevation: 17 | diagram: 18 | distance: ದೂರ (ಕಿ.ಮೀ) 19 | error: 20 | panel_title: ದೋಷ 21 | headline: 22 | last_update: ಕೊನೆಯ ಬದಲಾವಣೆ 23 | osmc_symbol: 24 | back: ಹಿಂದಕ್ಕೆ 25 | background_heading: ಹಿನ್ನೆಲೆ 26 | examples: ಉದಾಹರಣೆಗಳು 27 | foreground_heading: ಮುನ್ನೆಲೆ 28 | preview_heading: ಮುನ್ನೋಟ 29 | routelist: 30 | close: ಮುಚ್ಚಿ 31 | title: ದಾರಿಗಳು 32 | search: 33 | places: ಸ್ಥಳಗಳು 34 | routes: ದಾರಿಗಳು 35 | title: ಹುಡುಕಿ 36 | settings: 37 | base_map: ಮೂಲ ಭೂಪಟ 38 | language: ಭಾಷೆ 39 | ... 40 | -------------------------------------------------------------------------------- /src/i18n/mg/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Malagasy (Malagasy) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Jagwar 5 | --- 6 | details: 7 | note: Naoty 8 | subroutes_title: Fizarana 9 | superroutes_title: Singan'i 10 | website: Tranonkala 11 | download: 12 | format: 13 | GPX: GPX 14 | elevation: 15 | diagram: 16 | altitude: Haavo (m) 17 | distance: Halavirana (km) 18 | error: 19 | panel_title: Hadisoana 20 | headline: 21 | last_update: Nohavaozina farany 22 | locate_me: Aiza aho 23 | osmc_symbol: 24 | back: Hiverina 25 | routelist: 26 | close: Hidiana 27 | title: Lalana 28 | search: 29 | routes: Lalana 30 | title: Hikaroka 31 | settings: 32 | base_map: Sarintany fototra 33 | language: Fiteny 34 | title: Parametatry ny sarintany 35 | site_title: 36 | cycling: Bisikileta 37 | hiking: Tongotra 38 | mtb: Mandeha VTT 39 | riding: Soavaly 40 | ... 41 | -------------------------------------------------------------------------------- /src/UpdateInfo.svelte: -------------------------------------------------------------------------------- 1 | 22 | 23 | {$_('headline.last_update')}: 24 | {#if loader} 25 | {#await loader then db_update} 26 | {$date(db_update)} {$time(db_update)} 27 | {:catch error} 28 | {$_(error.message)} 29 | {/await} 30 | {/if} 31 | -------------------------------------------------------------------------------- /src/i18n/ne/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Nepali (नेपाली) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Bada Kaji 5 | # Author: RajeshPandey 6 | # Author: बडा काजी 7 | # Author: सरोज कुमार ढकाल 8 | # Author: हिमाल सुबेदी 9 | --- 10 | details: 11 | note: टिप्पणी 12 | official_len: आधिकारिक दुरी 13 | operator: सञ्चालक 14 | subroutes_title: खण्डहरू 15 | superroutes_title: खण्ड 16 | tags: 17 | title: OpenStreetMap ट्यागहरू 18 | website: वेवसाइट 19 | wikipedia: विकिपिडिया 20 | elevation: 21 | diagram: 22 | altitude: उचाइ (मि) 23 | distance: दुरी (किमि) 24 | error: 25 | panel_title: त्रुटि 26 | headline: 27 | last_update: अन्तिम सम्पादन 28 | help: यस नक्साको बारेमा 29 | network: 30 | downhill: ओरालो 31 | osmc_symbol: 32 | background_heading: पृष्ठभूमि 33 | routelist: 34 | loading: खुल्दै छ… 35 | title: बाटाहरू 36 | search: 37 | routes: बाटाहरू 38 | title: खोज्नुहोस् 39 | settings: 40 | language: भाषा 41 | ... 42 | -------------------------------------------------------------------------------- /src/i18n/mnw/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Mon (ဘာသာမန်) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Aue Nai 5 | # Author: Htawmonzel 6 | # Author: 咽頭べさ 7 | --- 8 | details: 9 | note: 'တၚ်စၟတ်:' 10 | subroutes_title: အခန် 11 | superroutes_title: မွဲလစှ်ေ ကု 12 | download: 13 | format: 14 | GPX: GPX 15 | elevation: 16 | diagram: 17 | distance: ဇမ္ၚောဲ(km) 18 | error: 19 | panel_title: ဗၠေတ် 20 | headline: 21 | last_update: ကလေင်ပလေဝ်လဝ်တၟိ လက္ကရဴအိုတ် 22 | help: ပရူ ဗီုတိ 23 | osmc_symbol: 24 | back: ကလေင် 25 | background_heading: စးဒုၚ်ကြဴ 26 | examples: ဥပမာဂမၠိုင် 27 | preview_heading: နမူနာ 28 | routelist: 29 | close: ကၟာတ် 30 | rollup: ခၟောပတိုန် 31 | title: လၟေၚ်တရဴဂမၠိုၚ် 32 | search: 33 | routes: လၟေၚ်တရဴဂမၠိုၚ် 34 | title: ဂၠာဲ 35 | settings: 36 | base_map: ဒုၚ်သ္ဇိုၚ်ဗီုတိ 37 | language: အရေဝ်ဘာသာ 38 | route_layer: ကဆံၚ်လၟေၚ်တရဴ 39 | title: ချိၚ်ဒၟံၚ် ဗီုတိ 40 | site_title: 41 | mtb: MTB 42 | ... 43 | -------------------------------------------------------------------------------- /src/map/MapAttribution.svelte: -------------------------------------------------------------------------------- 1 | 42 | 43 | 44 | -------------------------------------------------------------------------------- /src/ui/RouteList.svelte: -------------------------------------------------------------------------------- 1 | 7 | 8 | 27 | 28 | {#if route_data} 29 | 37 | {:else} 38 | {$_('routelist.loading')} 39 | {/if} 40 | 41 | -------------------------------------------------------------------------------- /src/i18n/mni/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Manipuri (ꯃꯤꯇꯩ ꯂꯣꯟ) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: ꯴꯰꯴ 5 | --- 6 | destination_sign: 7 | title: ꯂꯝꯊꯨꯡꯐꯝ 8 | details: 9 | altitude: ꯑꯋꯥꯡꯕ 10 | image: ꯃꯤꯔꯦꯜ 11 | note: ꯏꯁꯤꯟꯒꯗꯕ 12 | official_len: ꯂꯣꯏꯁꯪꯒꯤ ꯑꯁꯥꯡꯕ 13 | subroutes_title: ꯁꯔꯨꯛꯁꯤꯡ 14 | superroutes_title: ꯁꯔꯨꯛꯅꯤ 15 | website: ꯋꯦꯕꯁꯥꯏꯠ 16 | zoom_to: ꯃꯦꯞꯇ ꯑꯣꯏꯅ ꯎꯠꯂꯣ 17 | elevation: 18 | diagram: 19 | altitude: ꯑꯋꯥꯡꯕ (m) 20 | distance: ꯑꯔꯥꯞꯄ (Km) 21 | error: 22 | panel_title: ꯑꯔꯥꯟꯕ 23 | headline: 24 | last_update: ꯑꯔꯣꯏꯕ ꯅꯧꯊꯣꯛꯍꯟꯕ 25 | help: ꯃꯦꯞꯀꯤ ꯃꯇꯥꯡꯗ 26 | network: 27 | downhill: ꯆꯤꯡꯈꯣꯡ 28 | osmc_symbol: 29 | back: ꯍꯟꯂꯨ 30 | preview_heading: ꯃꯃꯥꯡꯒꯤꯗꯨ ꯎꯠꯄ 31 | routelist: 32 | close: ꯈꯨꯝꯖꯤꯟꯂꯦ 33 | rollup: ꯄꯨꯂꯞ ꯆꯤꯡꯈꯠꯂꯛꯄ 34 | title: ꯆꯠꯐꯝꯁꯤꯡ 35 | search: 36 | routes: ꯆꯠꯐꯝꯁꯤꯡ 37 | title: ꯊꯤꯕꯥ 38 | settings: 39 | browser_language: ꯕꯔꯥꯎꯁꯔꯒꯤ ꯁꯦꯝꯐꯝꯗꯨ ꯁꯤꯖꯤꯟꯅꯧ 40 | language: ꯂꯣꯟ 41 | route_layer: ꯆꯠꯐꯝꯒꯤ ꯃꯔꯣꯜ ꯃꯔꯣꯜ 42 | site_title: 43 | cycling: ꯁꯥꯏꯀꯜ ꯊꯧꯔꯤ 44 | riding: ꯁꯒꯣꯜ ꯊꯧꯔꯤ 45 | ... 46 | -------------------------------------------------------------------------------- /src/ui/DetailsHeader.svelte: -------------------------------------------------------------------------------- 1 | 5 | 6 | 38 | 39 |

40 |
{@render children_render?.()}
41 |
42 | {img_alt} 43 |
{ref}
44 |
45 |

46 | 47 | -------------------------------------------------------------------------------- /src/i18n/mr/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Marathi (मराठी) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Sau6402 5 | # Author: V.narsikar 6 | --- 7 | details: 8 | mapped_len: नकाशात असलेली लांबी 9 | note: टिप्पणी 10 | official_len: अधिकृत लांबी 11 | operator: यंत्रचालक 12 | subroutes_title: विभाग 13 | superroutes_title: चा भाग 14 | tags: 15 | title: ओपनस्ट्रीटमॅपच्या खूणपताका 16 | website: संकेतस्थळ 17 | elevation: 18 | diagram: 19 | altitude: उन्नतन (मि) 20 | distance: अंतर (किमी) 21 | title: एलिव्हेशन प्रोफाईल 22 | error: 23 | panel_title: चूक 24 | headline: 25 | last_update: शेवटील अद्यतन 26 | osmc_symbol: 27 | background_heading: मागची बाजु 28 | foreground_heading: समोरची बाजु 29 | routelist: 30 | title: वाटा 31 | search: 32 | routes: वाटा 33 | title: शोध 34 | settings: 35 | base_map: मूळ नकाशा 36 | hillshading_layer: डोंगराचे शेडींग 37 | language: भाषा 38 | route_layer: रस्त्याचा थर 39 | site_title: 40 | cycling: सायकलिंग 41 | hiking: हायकिंग 42 | mtb: एमटीबी 43 | skating: ईनलाईन स्केटींग 44 | ... 45 | -------------------------------------------------------------------------------- /src/i18n/pfl/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Palatine German (Pälzisch) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dimitar 5 | # Author: Manuae 6 | --- 7 | attribution: 8 | data: Kaadedaade vun [OpenStreetMap](https://www.openstreetmap.org) un Midawaida 9 | ([CC BY-SA](https://creativecommons.org/licenses/by-sa/2.0/)) 10 | details: 11 | mapped_len: Uffde Kaad gzaischd 12 | note: Hiewees 13 | official_len: Offiziell Leng 14 | operator: Bdraiwa 15 | subroutes_title: Abschnidd 16 | superroutes_title: Deel vun 17 | website: Websaid 18 | error: 19 | panel_title: Fehla 20 | headline: 21 | last_update: Ledschdi Agdualisiarung 22 | osmc_symbol: 23 | background_heading: Hinnagrund 24 | foreground_heading: Voadagrund 25 | routelist: 26 | title: Weesche 27 | search: 28 | routes: Weesche 29 | title: Suche 30 | settings: 31 | base_map: Basiskaad 32 | hillshading_layer: Schadierunge 33 | route_layer: Weesche 34 | site_title: 35 | cycling: Radfahre 36 | hiking: Wondare 37 | mtb: Maundebaige 38 | skating: Rollschuh laafe 39 | ... 40 | -------------------------------------------------------------------------------- /src/i18n/blk/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Pa'O (ပအိုဝ်ႏဘာႏသာႏ) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Khun Kt 5 | # Author: 咽頭べさ 6 | --- 7 | details: 8 | altitude: ထိုထဲင်းပင်ႏလယ်ႏထီခိုႏဆꩻကီ 9 | image: ရုက်ပုင်ႏ 10 | note: ရောမ်မုဲင် 11 | subroutes_title: အကွို့ꩻဖိုင်ႏ 12 | website: ဝဲက်သုဲက် 13 | zoom_to: အွောန်ႏနယ် ဟံႏပုင်ႏကို 14 | download: 15 | format: 16 | GPX: GPX 17 | KML: KML 18 | elevation: 19 | diagram: 20 | altitude: ထိုထဲင်းပင်ႏလယ်ႏထီခိုႏဆꩻကီ (မီတာ) 21 | distance: အဗွော့ꩻအညာꩻ (ကီလိုမီတာ) 22 | error: 23 | panel_title: အမာႏ 24 | headline: 25 | last_update: အဆုဲင်ꩻသွတ်ꩻ မွဉ်းဖျင်မုꩻ 26 | help: ဟံႏပုင်ႏခရာႏ 27 | osmc_symbol: 28 | back: သဲင်ꩻချာ 29 | background_heading: အခံႏဆꩻချာ 30 | examples: ဥပမာႏဖိုင်ႏ 31 | foreground_heading: အခံႏဖဲ့ꩻငါ 32 | preview_heading: ထွားကျိုႏစံꩻ 33 | routelist: 34 | close: ပေ့ꩻထိုꩻ 35 | search: 36 | title: ထိုမ်ႏ 37 | settings: 38 | base_map: အခေႏခံႏဟံႏပုင်ႏ 39 | language: ဘာႏသာႏငဝ်းငွါ 40 | title: ဟံႏပုင်ႏ အပွိုင်အဆင်ဖိုင်ႏ 41 | site_title: 42 | mtb: MTB 43 | ... 44 | -------------------------------------------------------------------------------- /src/ui/Collapsible.svelte: -------------------------------------------------------------------------------- 1 | 6 | 7 | 14 | 15 |

{collapsed = !collapsed}}> 16 | {#if collapsed} 17 | 18 | 19 | 20 | {:else} 21 | 22 | 23 | 24 | {/if} 25 | {title} 26 |

27 | 28 | {#if !collapsed} 29 |
{@render children?.()}
30 | {/if} 31 | -------------------------------------------------------------------------------- /src/i18n/ba/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Bashkir (башҡортса) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: AiseluRB 5 | # Author: Dimitar 6 | # Author: Sagan 7 | --- 8 | attribution: 9 | data: Карта мәғлүмәте © [OpenStreetMap](https://www.openstreetmap.org) under [ODbL](https://www.openstreetmap.org/copyright) 10 | details: 11 | mapped_len: Картала күрһәтергә 12 | note: Иҫкәртмә 13 | official_len: Маршрут оҙонлоғо 14 | operator: Оператор 15 | subroutes_title: Бүлектәр 16 | superroutes_title: Өлөш 17 | website: Веб-сайт 18 | elevation: 19 | diagram: 20 | distance: Алыҫлыҡ (ара) 21 | error: 22 | panel_title: Хата 23 | osmc_symbol: 24 | background_heading: Фон 25 | foreground_heading: Төп төҫ 26 | routelist: 27 | title: Маршруттар 28 | search: 29 | routes: Маршруттар 30 | title: Табырға 31 | settings: 32 | base_map: Төп карта 33 | hillshading_layer: Рельефты күрһәтергә 34 | route_layer: Маршрут ҡатламы 35 | site_title: 36 | cycling: Велосипед 37 | hiking: Йәйәү ял итергә сығыу 38 | mtb: Тау велосипеды 39 | skating: Тәгәрмәсле коньки 40 | ... 41 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "waymarkedtrails-app", 3 | "version": "1.0.0", 4 | "type": "module", 5 | "scripts": { 6 | "build": "rollup -c", 7 | "dev": "rollup -c -w", 8 | "start": "static -c 0 -p 5000 public" 9 | }, 10 | "devDependencies": { 11 | "@chiogen/rollup-plugin-terser": "^7.1.3", 12 | "@rollup/plugin-commonjs": "^28.0.6", 13 | "@rollup/plugin-json": "^6.1.0", 14 | "@rollup/plugin-node-resolve": "^16.0.1", 15 | "@rollup/plugin-virtual": "^3.0.2", 16 | "@rollup/plugin-yaml": "^4.1.2", 17 | "markdown-it": "^14.1.0", 18 | "node-static": "^0.7.11", 19 | "rollup": "^4.50.1", 20 | "rollup-plugin-css-porter": "^1.0.2", 21 | "rollup-plugin-hash": "^1.3.0", 22 | "rollup-plugin-livereload": "^2.0.5", 23 | "rollup-plugin-svelte": "^7.2.3", 24 | "svelte": "^5.38.10" 25 | }, 26 | "dependencies": { 27 | "d3-array": "^3.2.4", 28 | "d3-axis": "^3.0.0", 29 | "d3-scale": "^4.0.2", 30 | "d3-selection": "^3.0.0", 31 | "d3-shape": "^3.2.0", 32 | "ol": "^10.6.1", 33 | "svelte-i18n": "^4.0.1" 34 | }, 35 | "packageManager": "yarn@4.9.4" 36 | } 37 | -------------------------------------------------------------------------------- /src/ui/DetailsPropertyItem.svelte: -------------------------------------------------------------------------------- 1 | 21 | 22 | 34 | 35 | {#if value} 36 |
{title}:
{formatted.value} {formatted.unit}
37 | {/if} 38 | -------------------------------------------------------------------------------- /src/i18n/sr-el/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Serbian (Latin script) (srpski (latinica)) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dimitar 5 | # Author: Rancher 6 | --- 7 | attribution: 8 | data: Kartografski podaci © [Openstritmap](https://www.openstreetmap.org) pod licencom 9 | [ODbL](https://www.openstreetmap.org/copyright) 10 | details: 11 | mapped_len: Prikazano na mapi 12 | note: Beleška 13 | official_len: Zvanična dužina 14 | operator: Operator 15 | subroutes_title: Potezi 16 | superroutes_title: 'Deo:' 17 | tags: 18 | title: Oznake Openstritmapa 19 | website: Sajt 20 | error: 21 | panel_title: Greška 22 | headline: 23 | last_update: Poslednje ažuriranje 24 | osmc_symbol: 25 | background_heading: Pozadina 26 | foreground_heading: Prednji plan 27 | routelist: 28 | title: Putevi 29 | search: 30 | routes: Putevi 31 | title: Pretraži 32 | settings: 33 | base_map: Osnovna mapa 34 | hillshading_layer: Reljefno senčenje 35 | route_layer: Sloj puta 36 | site_title: 37 | cycling: Biciklizam 38 | hiking: Pešačenje 39 | mtb: Planinski biciklizam 40 | skating: Roleri 41 | ... 42 | -------------------------------------------------------------------------------- /src/i18n/azb/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for South Azerbaijani (تۆرکجه) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Alp Er Tunqa 5 | # Author: Amir a57 6 | # Author: Arjanizary 7 | # Author: Bir morty 8 | # Author: E THP 9 | # Author: Mousa 10 | --- 11 | details: 12 | mapped_len: ائشلئنئن اوزونلوغو 13 | note: یادداشت 14 | official_len: رسمی اوزون‌لوغو 15 | operator: 'اوپئراتور:' 16 | subroutes_title: بولوم لر 17 | superroutes_title: بولوم دن 18 | website: قایناقلاما 19 | wikipedia: ویکی‌پئدیا 20 | error: 21 | panel_title: خطا 22 | headline: 23 | last_update: سون یئنی لنمه 24 | locate_me: منیم یئریمی تاپ 25 | osmc_symbol: 26 | back: دالی 27 | background_heading: آرخا پلان 28 | foreground_heading: اؤن پلان 29 | routelist: 30 | close: باغلا 31 | title: مسیر لر 32 | search: 33 | routes: مسیرلر 34 | title: آختار 35 | settings: 36 | base_map: پایه خریطه 37 | hillshading_layer: تپه کؤلگه سی 38 | language: دیل 39 | route_layer: یول لایی 40 | title: نقشه تنظیملری 41 | transparency: نقشه آیدینلیغی 42 | site_title: 43 | cycling: چرخ سورمک 44 | hiking: یئرده گئتمک 45 | mtb: MTB 46 | skating: تکرلی کونکی 47 | ... 48 | -------------------------------------------------------------------------------- /src/ui/CollapsibleTagList.svelte: -------------------------------------------------------------------------------- 1 | 16 | 17 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | {#each keys as key, idx} 42 | 43 | {/each} 44 | 45 |
{$_('details.tags.key')}{$_('details.tags.value')}
{key}{tags[key]}
46 |
47 | 48 | -------------------------------------------------------------------------------- /src/ui/InterLinkMapList.svelte: -------------------------------------------------------------------------------- 1 | 16 | 17 | 46 | 47 | 53 | 54 | -------------------------------------------------------------------------------- /src/i18n/bxr/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Russia Buriat (буряад) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Bjargal 5 | # Author: Dimitar 6 | --- 7 | attribution: 8 | data: Газарай зурагай үгэгдэлые © [OpenStreetMap](https://www.openstreetmap.org) 9 | [ODbL](https://www.openstreetmap.org/copyright) лицензиин ёһоор хангаба. 10 | details: 11 | mapped_len: Газарай зурагта харуулагдаха 12 | note: Тэмдэглэл 13 | official_len: Албан ёһоной утань 14 | operator: Оператор 15 | subroutes_title: Хэһэг 16 | superroutes_title: 'Юунэйб:' 17 | website: Вэбсайт 18 | elevation: 19 | diagram: 20 | distance: Зай 21 | error: 22 | panel_title: Алдуу 23 | headline: 24 | last_update: Һүүлшын шэнэлэлтэ 25 | osmc_symbol: 26 | background_heading: Дэбисхэр 27 | foreground_heading: Бүрхүүл 28 | routelist: 29 | title: Аялха замууд 30 | search: 31 | routes: Аялха замууд 32 | title: Бэдэрэлтэ 33 | settings: 34 | base_map: Һуури газарай зураг 35 | hillshading_layer: Үндэрлигэй үнгэ 36 | route_layer: Замай дабхарга 37 | site_title: 38 | cycling: Велосипедээр ябаха 39 | hiking: Ябагаар аялха 40 | mtb: Уулын велосипед 41 | skating: Ролигоор гүйлгэхэ 42 | ... 43 | -------------------------------------------------------------------------------- /src/i18n/ur/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Urdu (اردو) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Hindustanilanguage 5 | # Author: Obaid Raza 6 | --- 7 | attribution: 8 | data: نقشے کی معلومات © [OpenStreetMap](https://www.openstreetmap.org) [ODbL] کے 9 | تحت (https://www.openstreetmap.org/copyright) 10 | details: 11 | mapped_len: نقشہ کی لمبائی 12 | note: یاددہانی 13 | official_len: سرکاری لمبائی 14 | operator: عامل 15 | superroutes_title: حصہ 16 | website: ویب سائٹ 17 | elevation: 18 | diagram: 19 | altitude: اونچائی (میٹر) 20 | distance: فاصلہ (کلومیٹر) 21 | title: ترقی پروفائل 22 | headline: 23 | last_update: آخری تبدیلی 24 | osmc_symbol: 25 | foreground: پیش منظر علامت ایک رنگ اور ہیئت جو خوشنما انڈراسکور پر مشتمل ہے۔ زیر 26 | کا جدول وہ تمام مرکبات بتاتا ہے جواس سائٹ کی جانب سے پہچانے جاتے ہیں۔ یہ ان پیش 27 | منظروں کو بھی پہچانتا ہے جو صرف ہیئت کے ناموں پر مشتمل ہیں۔ان کی علامتیں آخری 28 | کالم میں دکھائی گئی ہیں۔ 29 | search: 30 | title: تلاش 31 | settings: 32 | language: زبان 33 | site_title: 34 | cycling: سائکلنگ 35 | hiking: پیدل سفر 36 | mtb: ایم ٹی بی 37 | riding: گھڑ سواری 38 | skating: ان لائن سکیٹنگ 39 | ... 40 | -------------------------------------------------------------------------------- /src/i18n/mr/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Marathi (मराठी) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Shirayuki 5 | # Author: V.narsikar 6 | --- 7 | about: 8 | title: नकाशाबद्दल 9 | hiking: हा नकाशा संपूर्ण जगाचे,खूणा टाकलेले हायकिंग मार्ग दाखवितो. 10 | cycling: हा नकाशा संपूर्ण जगाचे,खूणा टाकलेले सायकलिंग मार्ग दाखवितो. 11 | mtb: हा नकाशा संपूर्ण जगाचे,खूणा टाकलेले माउंटन बायकिंगचे मार्ग दाखवितो. 12 | skating: हा नकाशा संपूर्ण जगाचे,खूणा टाकलेले स्केटींगचे मार्ग दाखवितो. 13 | rendering: 14 | title: OSM ची माहिती देत आहे 15 | elevationprofiles: 16 | title: एलिव्हेशन प्रोफाईल 17 | technical: 18 | title: तांत्रिक तपशिल 19 | translation: "##भाषांतरे\n\nसदैव मदतीस तयार असलेल्या [translatewiki.net](http://translatewiki.net)वरील 20 | लोकांकडून भाषांतरांचे प्रबंधन केल्या जाते.जर आपणास आपल्या भाषेतल्या भाषांतरास 21 | योगदान द्यायचे असेल तर किंवा \nउपलब्ध भाषांतरावर प्रतिक्रिया द्यायची असल्यास 22 | [translatewiki.net चे प्रकल्प पान](http://translatewiki.net/wiki/Translating:Waymarked_Trails) 23 | वर भेट द्या." 24 | legal: 25 | title: वैधानिक व वापरण्याच्या अटी 26 | acknowledgements: 27 | title: अभिस्वीकृती 28 | contact: 29 | title: संपर्क 30 | ... 31 | -------------------------------------------------------------------------------- /src/i18n/id/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Indonesian (Bahasa Indonesia) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dimitar 5 | # Author: Farras 6 | # Author: Veracious 7 | --- 8 | attribution: 9 | data: Data peta © [OpenStreetMap](https://www.openstreetmap.org) di bawah [ODbL](https://www.openstreetmap.org/copyright) 10 | destination_sign: 11 | title: Destinasi-destinasi 12 | details: 13 | mapped_len: Ditampilkan di peta 14 | note: Catatan 15 | official_len: Panjang resmi 16 | operator: Operator 17 | subroutes_title: Bagian 18 | superroutes_title: Bagian dari 19 | tags: 20 | title: Tag OpenStreetMap 21 | type: 22 | relation: Relasi 23 | website: Situs web 24 | error: 25 | panel_title: Galat 26 | headline: 27 | last_update: Pemutakhiran terakhir 28 | osmc_symbol: 29 | background_heading: Latar belakang 30 | foreground_heading: Latar depan 31 | routelist: 32 | title: Rute 33 | search: 34 | routes: Rute 35 | title: Cari 36 | settings: 37 | base_map: Peta dasar 38 | hillshading_layer: Bayangan bukit 39 | route_layer: Lapisan rute 40 | site_title: 41 | cycling: Bersepeda 42 | hiking: Mendaki 43 | mtb: MTB 44 | skating: Sepatu Roda 45 | ... 46 | -------------------------------------------------------------------------------- /src/ui/DetailsFooter.svelte: -------------------------------------------------------------------------------- 1 | 11 | 12 | 36 | 37 | {#if osm_type} 38 |
39 | 43 | 44 |
45 | {/if} 46 | -------------------------------------------------------------------------------- /src/i18n/kab/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Kabyle (Taqbaylit) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Belkacem77 5 | # Author: Sayem AtVkm 6 | --- 7 | details: 8 | note: Tazmilt 9 | official_len: Teɣzi tunsibt 10 | operator: Amahal 11 | subroutes_title: Tigezmiyin 12 | superroutes_title: D ayla n 13 | tags: 14 | title: Ticraḍ OpenStreetMap 15 | website: Asmel web 16 | elevation: 17 | diagram: 18 | distance: Ameccaq 19 | error: 20 | load_error: Tuccḍa n tuqqna ar uqedac 21 | panel_title: Tuccḍa 22 | headline: 23 | last_update: Lqem aneggaru 24 | help: ɣef tkarḍa 25 | locate_me: Sideg-iyi 26 | osmc_symbol: 27 | back: Uɣal 28 | background_heading: Agilal 29 | examples: Imedyaten 30 | foreground_heading: Aɣawas amezwaru 31 | routelist: 32 | close: Mdel 33 | rollup: Skur 34 | title: Iberdan 35 | search: 36 | routes: Iberdan 37 | title: Nadi 38 | settings: 39 | base_map: Takarḍa tazadurt 40 | browser_language: Seqdec iɣewwaṛen n iminig 41 | hillshading_layer: Agazal 42 | language: Tutlayt 43 | title: Iɣewwaṛen n tekarḍa 44 | transparency: Asuseɣ n tkarḍa 45 | site_title: 46 | cycling: S uvilu 47 | hiking: ɣef uḍar 48 | riding: Tanaka 49 | ... 50 | -------------------------------------------------------------------------------- /src/map/XYZLayer.svelte: -------------------------------------------------------------------------------- 1 | 39 | -------------------------------------------------------------------------------- /src/i18n/az/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Azerbaijani (azərbaycanca) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: AZISS 5 | # Author: Dimitar 6 | # Author: Toghrul Rahimli 7 | # Author: Şeyx Şamil 8 | --- 9 | attribution: 10 | data: Xəritə məlumatları © [OpenStreetMap](https://www.openstreetmap.org) üzərindən 11 | [ODbL](https://www.openstreetmap.org/copyright) 12 | details: 13 | mapped_len: Xəritədə göstər 14 | note: Qeyd 15 | official_len: Marşrutun rəsmi uzunluğu 16 | operator: Operator 17 | subroutes_title: Bölmələr 18 | superroutes_title: Hissəsidir 19 | tags: 20 | title: OpenStreetMap nişanları 21 | website: Vebsayt 22 | wikipedia: Vikipediya 23 | error: 24 | panel_title: Xəta 25 | headline: 26 | last_update: Son yeniləmə 27 | osmc_symbol: 28 | background_heading: Arxa planda 29 | foreground_heading: Ön planda 30 | routelist: 31 | title: Marçrutlar 32 | search: 33 | routes: Marşrutlar 34 | title: Axtar 35 | settings: 36 | base_map: Əsas xəritə 37 | hillshading_layer: Relyefi göstər 38 | language: Dil 39 | route_layer: Marşrutların təbəqəsi 40 | site_title: 41 | cycling: Veloidman 42 | hiking: Piyada gəzintisi 43 | mtb: Dag veloidmanı 44 | skating: Diyircəkli skeyt 45 | ... 46 | -------------------------------------------------------------------------------- /src/i18n/fo/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Faroese (føroyskt) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dimitar 5 | # Author: EileenSanda 6 | --- 7 | attribution: 8 | data: Kort dáta © [OpenStreetMap](https://www.openstreetmap.org) undir [ODbL](https://www.openstreetmap.org/copyright) 9 | details: 10 | mapped_len: Vís longdina á kortinum 11 | note: Viðmerking 12 | official_len: Almenna longdin 13 | operator: Ábygdari 14 | subroutes_title: Sektiónir 15 | superroutes_title: Partur av 16 | tags: 17 | title: OpenStreetMap tags 18 | website: Heimasíða 19 | elevation: 20 | descent: Samlað fall 21 | diagram: 22 | altitude: Hædd (m) 23 | distance: Fjarstøða (km) 24 | title: Hæddarprofilur 25 | error: 26 | panel_title: Feilur 27 | headline: 28 | last_update: Seinast dagført 29 | osmc_symbol: 30 | background_heading: Bakgrund 31 | foreground_heading: Forgrund 32 | routelist: 33 | title: Rutur, leiðir 34 | search: 35 | routes: Rutur, leiðir 36 | title: Leita 37 | settings: 38 | base_map: Grund kort 39 | hillshading_layer: Hæddarkurvar 40 | language: Mál 41 | route_layer: Rutur 42 | site_title: 43 | cycling: Súkkling 44 | hiking: Vallararutur, gangitúrar 45 | mtb: Fjallasúkkla 46 | skating: Inline Skating 47 | ... 48 | -------------------------------------------------------------------------------- /src/i18n.js: -------------------------------------------------------------------------------- 1 | import { register, init, getLocaleFromNavigator, locale } from 'svelte-i18n'; 2 | import msg_languages from './i18n/messages.js'; 3 | import languages from './i18n/languages.js'; 4 | 5 | export const aliases = { 6 | 'no' : 'nb', 7 | 'sr-EC' : 'sr-ec', 8 | 'sr-EL' : 'sr-el', 9 | 'zh-CN' : 'zh-hans', 10 | 'zh-TW' : 'zh-hant' 11 | } 12 | 13 | languages.forEach((item, idx) => { 14 | if (msg_languages.hasOwnProperty(item[0])) { 15 | register(item[0], msg_languages[item[0]]); 16 | } 17 | }); 18 | 19 | Object.keys(aliases).forEach(key => { 20 | if (!msg_languages.hasOwnProperty(key) && msg_languages.hasOwnProperty(aliases[key])) { 21 | register(key, msg_languages[aliases[key]]); 22 | } 23 | }); 24 | 25 | 26 | let storedLocale = localStorage.getItem('lang'); 27 | 28 | init({ 29 | fallbackLocale: 'en', 30 | initialLocale: storedLocale === null ? getLocaleFromNavigator() : storedLocale, 31 | }); 32 | 33 | export function set_stored_locale(lang) { 34 | storedLocale = lang; 35 | if (lang === null) { 36 | localStorage.removeItem('lang'); 37 | locale.set(getLocaleFromNavigator()); 38 | } else { 39 | localStorage.setItem('lang', lang); 40 | locale.set(lang); 41 | } 42 | } 43 | 44 | export function get_stored_locale() { 45 | return storedLocale; 46 | } 47 | -------------------------------------------------------------------------------- /src/i18n/ja/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Japanese (日本語) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dimitar 5 | # Author: MathXplore 6 | # Author: Omotecho 7 | # Author: Otokoume 8 | # Author: Shirayuki 9 | --- 10 | attribution: 11 | data: 地図データ © [OpenStreetMap](https://www.openstreetmap.org) 、ライセンス [ODbL](https://www.openstreetmap.org/copyright) 12 | elevation_title: '標高データ提供: [SRTM/ASTER](help/acknowledgements)' 13 | details: 14 | note: 注釈 15 | official_len: 公式な長さ 16 | operator: オペレーター 17 | subroutes_title: 節 18 | tags: 19 | title: OpenStreetMap タグ 20 | type: 21 | relation: 関係 22 | website: Web サイト 23 | elevation: 24 | diagram: 25 | altitude: 高度 (m) 26 | distance: 距離 (km) 27 | title: 高度のプロファイル 28 | error: 29 | panel_title: エラー 30 | headline: 31 | last_update: 最終更新 32 | osmc_symbol: 33 | back: 戻る 34 | background_heading: 背景 35 | examples: 例 36 | foreground_heading: 前景 37 | routelist: 38 | loading: 読み込み中... 39 | close: 閉じる 40 | title: 経路 41 | search: 42 | routes: 経路 43 | title: 検索 44 | settings: 45 | base_map: 基図 46 | language: 言語 47 | route_layer: 経路レイヤー 48 | title: 地図の設定 49 | transparency: 地図の透明度 50 | site_title: 51 | cycling: サイクリング 52 | hiking: ハイキング 53 | mtb: マウンテンバイク 54 | riding: 乗馬 55 | skating: インライン スケート 56 | slopes: ウィンター スポーツの斜面 57 | ... 58 | -------------------------------------------------------------------------------- /src/i18n/bn/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Bangla (বাংলা) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Aftabuzzaman 5 | # Author: Aishik Rehman 6 | # Author: Bellayet 7 | # Author: Nokib Sarkar 8 | # Author: Runab 9 | # Author: Wikisagnik 10 | # Author: আজিজ 11 | # Author: আফতাবুজ্জামান 12 | --- 13 | destination_sign: 14 | more: আরও বিস্তারিত 15 | details: 16 | image: চিত্র 17 | mapped_len: ম্যাপ করা অংশের ধৈর্ঘ্য 18 | note: টীকা 19 | official_len: অফিসিয়াল দৈর্ঘ্য 20 | operator: পরিচালনকারী 21 | website: ওয়েবসাইট 22 | zoom_to: মানচিত্রে দেখান 23 | download: 24 | format: 25 | KML: KML 26 | elevation: 27 | diagram: 28 | altitude: উচ্চতা (মি) 29 | distance: দূরত্ব (কিমি) 30 | error: 31 | panel_title: ত্রুটি 32 | headline: 33 | last_update: সর্বশেষ হালনাগাদ 34 | help: মানচিত্র সম্পর্কে 35 | osmc_symbol: 36 | back: পিছনে 37 | examples: উদাহরণ 38 | intro_header: একনজরে 39 | preview_heading: প্রাকদর্শন 40 | symbol_reference_heading: সমর্থিত প্রতীকগুলির সম্পূর্ণ তালিকা 41 | routelist: 42 | loading: লোড হচ্ছে... 43 | title: রুট 44 | search: 45 | routes: রুট 46 | title: অনুসন্ধান 47 | settings: 48 | language: ভাষা 49 | transparency: মানচিত্রের স্বচ্ছতা 50 | site_title: 51 | cycling: সাইকেল করার পথ 52 | hiking: পায়ে চলা পথ 53 | mtb: পাহাড়ী পথ (MTB) 54 | riding: অশ্বারোহন 55 | ... 56 | -------------------------------------------------------------------------------- /src/i18n/xmf/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Mingrelian (მარგალური) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Narazeni 5 | --- 6 | destination_sign: 7 | more: უმოსი დეტალეფი 8 | title: მალობეფი 9 | details: 10 | altitude: სიმაღალა 11 | image: სურათი 12 | note: ხვილაფა 13 | operator: ოპერატორი 14 | subroutes_title: გიმნართეფი 15 | tags: 16 | title: OpenStreetMap ხინტკეფი 17 | website: ვებ-ხასჷლა 18 | zoom_to: რუკას ძირაფა 19 | download: 20 | format: 21 | GPX: GPX 22 | KML: KML 23 | elevation: 24 | ascent: ართამი ეშულა 25 | descent: ართამი დილულა 26 | diagram: 27 | altitude: სიმაღალა (მ) 28 | distance: მეძენა (კმ) 29 | title: რელიეფიშ პროფილი 30 | error: 31 | load_error: სერვერშა მერსხუაფაშ ჩილათა. 32 | panel_title: ჩილათა 33 | headline: 34 | last_update: ბოლო გოახალაფა 35 | help: რუკაშ გეშა 36 | locate_me: დობგორით 37 | osmc_symbol: 38 | back: უკახალე 39 | background_heading: ფონი 40 | examples: სამანგეფი 41 | foreground_heading: თარი ფერი 42 | preview_heading: გიწოთოლორაფა 43 | routelist: 44 | close: კილუა 45 | rollup: ტყობინაფა 46 | title: მარშრუტეფი 47 | search: 48 | routes: მარშრუტეფი 49 | title: გორუა 50 | settings: 51 | base_map: საბაზე რუკა 52 | hillshading_layer: რელიეფიშ ლანდი 53 | language: ნინა 54 | title: რუკაშ პარამეტრეფი 55 | site_title: 56 | cycling: ველოსპორტი 57 | riding: ცხენენჯუა 58 | ... 59 | -------------------------------------------------------------------------------- /src/i18n/fa/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Persian (فارسی) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Alireza Ivaz 5 | # Author: Ebraminio 6 | # Author: FarsiNevis 7 | # Author: Hooshmand.hasannia 8 | # Author: Jeeputer 9 | # Author: Ladsgroup 10 | # Author: Mohammad ebz 11 | # Author: Reza1615 12 | --- 13 | details: 14 | image: تصویر 15 | note: یادداشت 16 | subroutes_title: بخش‌ها 17 | superroutes_title: بخشی از 18 | symbol: نماد 19 | tags: 20 | key: کلید 21 | title: برچسب‌های نقشه باز شهری 22 | value: مقدار 23 | type: 24 | node: گره 25 | way: راه 26 | website: وب سایت 27 | wikipedia: ویکی‌پدیا 28 | error: 29 | panel_title: خطا 30 | headline: 31 | last_update: آخرین روزآمدسازی 32 | network: 33 | national: مسیرهای ملی 34 | other: سایر مسیرها 35 | regional: مسیرهای منطقه‌ای 36 | skitour: تورهای اسکی 37 | osmc_symbol: 38 | back: بازگشت 39 | background_heading: پیش‌زمینه 40 | preview_heading: پیش‌نمایش 41 | routelist: 42 | loading: در حال بارگیری... 43 | more: برای دیدن مسیرهای بیشتر، بزرگ‌نمایی کنید. 44 | title: مسیرها 45 | search: 46 | places: مکان‌ها 47 | routes: مسیرها 48 | title: جستجو 49 | settings: 50 | base_map: تقشه پایه 51 | browser_language: از تنظیمات مرورگر استفاده کن 52 | hillshading_layer: سایه تپه 53 | language: زبان 54 | route_layer: لایه مسیر 55 | transparency: شفافیت نقشه 56 | site_title: 57 | cycling: دوچرخه سواری 58 | hiking: پیاده‌روی 59 | ... 60 | -------------------------------------------------------------------------------- /src/i18n/zh-hk/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Chinese (Hong Kong) (中文(香港)) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: C933103 5 | --- 6 | attribution: 7 | data: 地圖資料 © [OpenStreetMap](https://www.openstreetmap.org)以 [ODbL](https://www.openstreetmap.org/copyright) 8 | 授權 9 | elevation_title: 海拔資料由[SRTM/ASTER](help/acknowledgements)提供 10 | destination_sign: 11 | more: 更多詳情 12 | title: 目的地 13 | details: 14 | altitude: 海拔 15 | image: 圖片 16 | official_len: 官方長度 17 | operator: 營運者 18 | superroutes_title: 屬於 19 | tags: 20 | title: OpenStreetMap標籤 21 | website: 網站 22 | zoom_to: 顯示到地圖上 23 | download: 24 | format: 25 | GPX: GPX 26 | KML: KML 27 | elevation: 28 | ascent: 累積上斜 29 | descent: 累積落斜 30 | diagram: 31 | altitude: 海拔(米) 32 | distance: 距離(公里) 33 | warn_unsorted: 路線可能未經排序或者不完整。海拔資訊可能不精準。 34 | error: 35 | load_error: 連接至伺服器時出現錯誤。 36 | panel_title: 錯誤 37 | headline: 38 | last_update: 最後更新 39 | help: 關於地圖 40 | osmc_symbol: 41 | back: 返回 42 | background_heading: 背景 43 | examples: 例子 44 | foreground_heading: 前景 45 | preview_heading: 預覽 46 | routelist: 47 | close: 關閉 48 | title: 路線 49 | search: 50 | routes: 路線 51 | title: 搜尋 52 | settings: 53 | base_map: 底層地圖 54 | browser_language: 使用瀏覽器設定 55 | language: 語言 56 | route_layer: 路線層 57 | title: 地圖設定 58 | transparency: 地圖透明度 59 | site_title: 60 | cycling: 踩單車 61 | hiking: 遠足 62 | mtb: MTB 63 | riding: 騎馬 64 | ... 65 | -------------------------------------------------------------------------------- /src/i18n/et/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Estonian (eesti) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: AivoK 5 | # Author: Dimitar 6 | --- 7 | attribution: 8 | data: Kaardi andmed © [OpenStreetMap](https://www.openstreetmap.org) [ODbL litsentsiga](https://www.openstreetmap.org/copyright) 9 | elevation_title: reljeefi info [SRTM/ASTER](help/acknowledgements) 10 | details: 11 | mapped_len: Kaardistatud pikkus 12 | note: Märkus 13 | official_len: Ametlik pikkus 14 | operator: Operaator 15 | subroutes_title: Jaotised 16 | superroutes_title: Osa rajast 17 | tags: 18 | title: OpenStreetMapi sildid 19 | website: Veebileht 20 | elevation: 21 | ascent: Akumuleerunud tõus 22 | descent: Akumuleerunud laskumine 23 | diagram: 24 | altitude: Kõrgus (m) 25 | distance: Kaugus (km) 26 | title: Reljeefi profiil 27 | error: 28 | panel_title: Tõrge 29 | headline: 30 | last_update: Viimati uuendatud 31 | osmc_symbol: 32 | background_heading: Taust 33 | foreground_heading: Esiplaan 34 | routelist: 35 | title: Rajad 36 | search: 37 | routes: Rajad 38 | title: Otsi 39 | settings: 40 | base_map: Aluskaart 41 | hillshading_layer: Reljeefi varjustus 42 | language: Keel 43 | route_layer: Radade kiht 44 | transparency: Kaardi läbipaistvus 45 | site_title: 46 | cycling: Rattasõit 47 | hiking: Matkamine 48 | mtb: Mägirattasport 49 | riding: kelgutamine 50 | skating: Rulluisutamine 51 | slopes: Talispordi nõlvad 52 | ... 53 | -------------------------------------------------------------------------------- /src/i18n/nn/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Norwegian Nynorsk (norsk nynorsk) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dimitar 5 | # Author: Dittaeva 6 | # Author: Njardarlogar 7 | --- 8 | attribution: 9 | data: Kartdata © [OpenStreetMap](https://www.openstreetmap.org) under [ODbL](https://www.openstreetmap.org/copyright) 10 | elevation_title: høgdedata av [SRTM/ASTER](help/acknowledgements) 11 | details: 12 | mapped_len: Vist på kartet 13 | note: Melding 14 | official_len: Offisiell lengd 15 | operator: Ansvarleg 16 | subroutes_title: Deler 17 | superroutes_title: Del av 18 | tags: 19 | title: OpenStreetMap-taggar 20 | website: Vevside 21 | elevation: 22 | ascent: Akummulert stiging 23 | descent: Akkumulert nedstiging 24 | diagram: 25 | altitude: Høgd (m) 26 | distance: Avstand (km) 27 | title: Høgdeprofil 28 | error: 29 | panel_title: Feil 30 | headline: 31 | last_update: Sist oppdatert 32 | osmc_symbol: 33 | background_heading: Bakgrunn 34 | foreground_heading: Framgrunn 35 | routelist: 36 | title: Ruter 37 | search: 38 | routes: Ruter 39 | title: Søk 40 | settings: 41 | base_map: Bakgrunnskart 42 | hillshading_layer: Høgdelag 43 | language: Språk 44 | route_layer: Ruter 45 | transparency: Kart-transparens 46 | site_title: 47 | cycling: Sykkelruter 48 | hiking: Vandreruter 49 | mtb: Terrengsykkelruter 50 | riding: aking 51 | skating: Inline-skøyte-ruter 52 | slopes: Vintersportsbakkar 53 | ... 54 | -------------------------------------------------------------------------------- /bin/make_locale_js.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | MSG_JS=src/i18n/messages.js 4 | HELP_JS=src/i18n/help.js 5 | LANGLIST_JS=src/i18n/languages.js 6 | 7 | LANGS=`find src/i18n -mindepth 1 -type d ! -name 'qot' ! -name 'qqq' -printf '%f '` 8 | 9 | echo 'const langs = {' > $MSG_JS 10 | for lang in $LANGS; do 11 | if [ -f "src/i18n/$lang/messages.yaml" ]; then 12 | echo " '$lang': () => import ('./$lang/messages.yaml')," >> $MSG_JS 13 | fi 14 | done 15 | echo " 'en': () => import ('./qot/messages.yaml') };" >> $MSG_JS 16 | 17 | echo 'export { langs as default };' >> $MSG_JS 18 | 19 | 20 | echo 'const langs = {' > $HELP_JS 21 | for lang in $LANGS; do 22 | if [ -f "src/i18n/$lang/helppages.yaml" ]; then 23 | echo " '$lang': () => import ('./$lang/helppages.yaml')," >> $HELP_JS 24 | fi 25 | done 26 | echo " 'en': () => import ('./qot/helppages.yaml') };" >> $HELP_JS 27 | echo 'export { langs as default };' >> $HELP_JS 28 | 29 | echo '' > /tmp/waymarkedtrails.langlist 30 | for lang in $LANGS; do 31 | if [ -f "src/i18n/$lang/messages.yaml" ]; then 32 | LANGNAME=`head -n 1 src/i18n/$lang/messages.yaml | sed 's:.*Translation.* to ::'` 33 | if [[ "x$LANGNAME" != "x" ]]; then 34 | echo "$lang: $LANGNAME" 35 | echo " ,['$lang', \"$LANGNAME\"]" >> /tmp/waymarkedtrails.langlist 36 | fi 37 | fi 38 | done 39 | echo "const langs = [['en', 'English']" > $LANGLIST_JS 40 | sort -k 2 /tmp/waymarkedtrails.langlist >> $LANGLIST_JS 41 | echo ']; export { langs as default };' >> $LANGLIST_JS 42 | -------------------------------------------------------------------------------- /src/config.js: -------------------------------------------------------------------------------- 1 | import base_url from 'CFG_BASE_URL'; 2 | import media_url from 'CFG_MEDIA_URL'; 3 | import symbol_url from 'CFG_SYMBOL_URL'; 4 | import api_url from 'CFG_API_URL'; 5 | import tile_url from 'CFG_TILE_URL'; 6 | import theme_url from 'CFG_THEME_URL'; 7 | 8 | const config = JSON.parse(document.getElementById("WMTConfig").text); 9 | 10 | const style = config.TITLE === 'osmc_symbol' ? 'hiking' : config.TITLE; 11 | 12 | export const BASE_URL = base_url; 13 | export const API_URL = api_url.replace ('{theme}', style); 14 | export const HELP = config.HELP; 15 | export const MEDIA_URL = media_url; 16 | export const SYMBOL_URL = symbol_url + '/' + style; 17 | export const ROUTE_GROUPS = config.ROUTE_GROUPS; 18 | export const TILE_URL = tile_url.replace ('{theme}', style) + '/{z}/{x}/{y}.png'; 19 | export const THEME_URL = theme_url; 20 | export const TITLE = config.TITLE; 21 | 22 | export const BASEMAPS = [ 23 | { id: "osm-mapnik", 24 | name: "OSM Standard Map", 25 | url: "https://tile.openstreetmap.org/{z}/{x}/{y}.png", 26 | attribution: "OpenStreetMap" 27 | }, 28 | { id: "opentopo", 29 | name: "OpenTopoMap", 30 | url: "https://{a-c}.tile.opentopomap.org/{z}/{x}/{y}.png", 31 | attribution: "OpenTopoMap(CC-by-SA)" 32 | }]; 33 | export const HILLSHADING_URL = "https://hillshading.waymarkedtrails.org/srtm/{z}/{x}/{-y}.png"; 34 | -------------------------------------------------------------------------------- /src/i18n/ms/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Malay (Bahasa Melayu) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Anakmalaysia 5 | # Author: Dimitar 6 | --- 7 | attribution: 8 | data: Data peta © [OpenStreetMap](https://www.openstreetmap.org) di bawah [ODbL](https://www.openstreetmap.org/copyright) 9 | elevation_title: data ketinggian oleh [SRTM/ASTER](help/acknowledgements) 10 | details: 11 | mapped_len: Kepanjangan terpeta 12 | note: Catatan 13 | official_len: Kepanjangan rasmi 14 | operator: Pengendali 15 | subroutes_title: Bahagian 16 | superroutes_title: Sebahagian daripada 17 | tags: 18 | title: Tag OpenStreetMap 19 | website: Tapak sesawang 20 | elevation: 21 | ascent: Kenaikan terkumpul 22 | descent: Keturunan terkumpul 23 | diagram: 24 | altitude: Altitud (m) 25 | distance: Jarak (km) 26 | title: Profil ketinggian 27 | error: 28 | panel_title: Ralat 29 | headline: 30 | last_update: Kemas kini terkini 31 | osmc_symbol: 32 | background_heading: Latar belakang 33 | foreground_heading: Latar hadapan 34 | routelist: 35 | title: Jalan 36 | search: 37 | routes: Jalan 38 | title: Cari 39 | settings: 40 | base_map: Peta asas 41 | hillshading_layer: Bayangan bukit 42 | language: Bahasa 43 | route_layer: Lapisan jalan 44 | transparency: Kelutsinaran peta 45 | site_title: 46 | cycling: Basikal 47 | hiking: Kembara 48 | mtb: MTB 49 | riding: Tunggang Kuda 50 | skating: Kasut Roda 51 | slopes: Cerun Sukan Musim Sejuk 52 | ... 53 | -------------------------------------------------------------------------------- /src/i18n/ce/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Chechen (нохчийн) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Умар 5 | --- 6 | destination_sign: 7 | more: Ма-дарра 8 | details: 9 | altitude: Локхалла 10 | image: Сурт 11 | mapped_len: Гайта картин тӀехь 12 | note: Билгалдаккхар 13 | operator: Оператор 14 | subroutes_title: Дакъош 15 | superroutes_title: Дакъа 16 | symbol: Хьаьрк 17 | tags: 18 | key: догӀа 19 | title: OpenStreetMap тегаш 20 | value: маьӀна 21 | wikipedia: Википеди 22 | zoom_to: Гайта картин тӀехь 23 | elevation: 24 | diagram: 25 | altitude: Локхалла (м) 26 | distance: Йукъ (км) 27 | error: 28 | panel_title: ГӀалат 29 | headline: 30 | last_update: ТӀаьххьара карлайаккхар 31 | help: Картех лаьцна 32 | locate_me: Со кара ве(йе) 33 | network: 34 | continental: Континенталан маршруташ 35 | downhill: Охьане 36 | national: Къоман маршруташ 37 | osmc_symbol: 38 | back: Йуха 39 | examples: Масалаш 40 | preview_heading: Хьалххе хьажар 41 | routelist: 42 | loading: Чуйолуш йу… 43 | close: ДӀачӀагӀа 44 | title: Маршруташ 45 | search: 46 | places: Меттигаш 47 | routes: Маршруташ 48 | title: Лахар 49 | settings: 50 | base_map: Базин карта 51 | browser_language: Лелабе браузеран нисдаран гӀирс 52 | language: Мотт 53 | route_layer: Маршрутийн чкъор 54 | title: Картин нисдаран гӀирс 55 | transparency: Чекх са го картанаш 56 | site_title: 57 | cycling: Велоспорт 58 | mtb: Ломан велоспорт 59 | osmc_symbol: osmc:symbol тег 60 | ... 61 | -------------------------------------------------------------------------------- /src/i18n/mk/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Macedonian (македонски) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Bjankuloski06 5 | # Author: Vlad5250 6 | --- 7 | about: 8 | title: За картава 9 | hiking: На картава се покажани означени пешачки патеки ширум светот. 10 | cycling: На картава се покажани означени велосипедски патеки ширум светот. 11 | mtb: На картава се покажани означени патеки за планински велосипедизам ширум светот. 12 | skating: На картава се покажани означени патеки за ролерки ширум светот. 13 | rendering: 14 | title: Испис на податоци од OSM 15 | hierarchies: 16 | title: Односни хиерархии 17 | osmc: 18 | title: Ознаката osmc:symbol 19 | hikinglocal: 20 | title: Регионален испис 21 | text: |- 22 | Во светот постојат многу различни начини на означување на планинарски патеки. Иако на картата настојуваме да ги користиме најопштите ознаки за да се прикажат добро, системот не може да работи за сите системи, особено кај мрежи од патеки. За да се вклучат и овие ситеми, картата може да се прилагоди за региони кајшто стандарниот испис е недоволен. 23 | 24 | Подолу е наведен список на региони што користат посебни картографски симболи. На крајот од страницата има совети за тоа како да наместите вашиот регион да се испише на посебен начин. 25 | elevationprofiles: 26 | title: Висински профили 27 | technical: 28 | title: Технички поединости 29 | legal: 30 | title: Услови на употреба 31 | acknowledgements: 32 | title: Благодарности 33 | contact: 34 | title: Контакт 35 | ... 36 | -------------------------------------------------------------------------------- /src/i18n/bg/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Bulgarian (български) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: DCLXVI 5 | # Author: K2 6 | # Author: StanProg 7 | # Author: Ted Masters 8 | # Author: Vodnokon4e 9 | --- 10 | attribution: 11 | data: Картографски данни © [OpenStreetMap](https://www.openstreetmap.org) под [ODbL](https://www.openstreetmap.org/copyright) 12 | elevation_title: височинни данни от [SRTM/ASTER](help/acknowledgements) 13 | details: 14 | mapped_len: Картирана дължина 15 | note: Бележка 16 | official_len: Официална дължина 17 | operator: Оператор 18 | subroutes_title: Секции 19 | superroutes_title: Част от 20 | tags: 21 | title: OpenStreetMap тагове 22 | website: Уебсайт 23 | wikipedia: Уикипедия 24 | elevation: 25 | ascent: Натрупано изкачване 26 | descent: Натрупано слизане 27 | diagram: 28 | altitude: Височина (м) 29 | distance: Разстояние (км) 30 | title: Височинен профил 31 | error: 32 | panel_title: Грешка 33 | headline: 34 | last_update: Последно обновяване 35 | osmc_symbol: 36 | back: Връщане 37 | background_heading: Фон 38 | foreground_heading: Основен цвят 39 | routelist: 40 | close: Затваряне 41 | title: Маршрути 42 | search: 43 | routes: Маршрути 44 | title: Търсене 45 | settings: 46 | base_map: Базова карта 47 | hillshading_layer: Светлосенки на релефа 48 | language: Език 49 | route_layer: Слой маршрути 50 | transparency: Прозрачност картата 51 | site_title: 52 | cycling: Колоездене 53 | hiking: Туризъм 54 | mtb: МТБ 55 | riding: Конна езда 56 | skating: Ролери 57 | slopes: Ски писти 58 | ... 59 | -------------------------------------------------------------------------------- /src/i18n/hy/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Armenian (հայերեն) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dimitar 5 | # Author: Kareyac 6 | --- 7 | attribution: 8 | data: Քարտեզի տվյալները © [OpenStreetMap](https://www.openstreetmap.org) [ODbL](https://www.openstreetmap.org/copyright) 9 | լիցենզիայի տակ 10 | destination_sign: 11 | title: Ուղղություններ 12 | details: 13 | altitude: Բարձրություն 14 | image: Պատկեր 15 | note: Նշում 16 | official_len: Երթուղու պաշտոնական երկարությունը 17 | operator: Օպերատոր 18 | subroutes_title: Բաժիններ 19 | superroutes_title: Մասն է 20 | symbol: Նշան 21 | website: Կայք 22 | download: 23 | format: 24 | GPX: GPX 25 | elevation: 26 | diagram: 27 | altitude: Բարձրությունը (մ) 28 | distance: Հեռավորությունը (կմ) 29 | error: 30 | panel_title: Սխալ 31 | headline: 32 | last_update: Վերջին թարմացումը 33 | help: Քարտեզի մասին 34 | locate_me: Տեղադրեք ինձ 35 | osmc_symbol: 36 | back: Հետ 37 | examples: Օրինակներ 38 | foreground_heading: Հիմնական գույնը 39 | preview_heading: Նախադիտում 40 | routelist: 41 | loading: Բեռնվում է… 42 | close: Փակել 43 | rollup: Գլորում 44 | title: Երթուղիներ 45 | search: 46 | routes: Երթուղիներ 47 | title: Որոնել 48 | settings: 49 | base_map: Բազային քարտեզը 50 | language: Լեզու 51 | route_layer: Երթուղիների շերտը 52 | title: Քարտեզի կարգավորումներ 53 | transparency: Քարտեզի թափանցիկությունը 54 | site_title: 55 | cycling: Հեծանվավազք 56 | hiking: Ոտքով զբոսնելն 57 | mtb: Լեռնային հեծանվավազք 58 | riding: Ձիասպորտ 59 | slopes: Լանջերը ձմեռային սպորտաձևերի համար 60 | ... 61 | -------------------------------------------------------------------------------- /src/i18n/lt/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Lithuanian (lietuvių) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dimitar 5 | # Author: Dittaeva 6 | # Author: Eitvys200 7 | # Author: Mantak111 8 | # Author: Shirayuki 9 | # Author: Zygimantus 10 | --- 11 | attribution: 12 | data: Žemėlapio duomenys © [OpenStreetMap](https://www.openstreetmap.org) pagal 13 | [ODbL](https://www.openstreetmap.org/copyright) 14 | details: 15 | note: Pastaba 16 | official_len: Oficialus ilgis 17 | operator: Operatorius 18 | subroutes_title: Skyriai 19 | superroutes_title: Dalis 20 | tags: 21 | title: OpenStreetMap žymės 22 | website: Tinklalapis 23 | download: 24 | format: 25 | GPX: GPX 26 | elevation: 27 | diagram: 28 | altitude: Aukštis (m) 29 | distance: Atstumas (km) 30 | title: Aukščio profilis 31 | error: 32 | panel_title: Klaida 33 | headline: 34 | last_update: Paskutinis įrašas 35 | help: Apie žemėlapį 36 | locate_me: Raskite mane 37 | osmc_symbol: 38 | back: Atgal 39 | background_heading: Antrasis planas 40 | foreground_heading: Pirmasis planas 41 | routelist: 42 | close: Uždaryti 43 | title: Maršrutai 44 | search: 45 | routes: Maršrutai 46 | title: Ieškoti 47 | settings: 48 | base_map: Pagrindinis žemėlapis 49 | browser_language: Naudoti naršyklės nustatymus 50 | hillshading_layer: Kalnų šešėliavimas 51 | language: Kalba 52 | route_layer: Maršrutų klodas 53 | title: Žemėlapio nustatymai 54 | transparency: Žemėlapio skaidrumas 55 | site_title: 56 | cycling: Dviračių sportas 57 | hiking: Žygiai 58 | mtb: Kalnų dviračių sportas 59 | riding: Jodinėjimas 60 | skating: Riedučių sportas 61 | ... 62 | -------------------------------------------------------------------------------- /src/i18n/lmo/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Lombard (lombard) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Salvemm el lombard 5 | --- 6 | details: 7 | route_symbol: Simbol del percors 8 | symbol: Simbol 9 | tags: 10 | key: ciav 11 | value: valor 12 | type: 13 | node: Noeud 14 | relation: Relazzion 15 | way: Senter 16 | wayset: Grup de senter 17 | elevation: 18 | total: Elevazzion total 19 | error: 20 | missing_id: A ghe cala el parametro 'id'. 21 | missing_query: A ghe cala el parametro 'query'. 22 | network: 23 | continental: Percors continentai 24 | downhill: Discesa 25 | national: Percors nazionai 26 | node: Conession de red del noeud 27 | nordic: Sci nordich 28 | other: Alter percors 29 | regional: Percors regionai 30 | skitour: Sci alpinismo 31 | sled: Pista per i slitine 32 | sleigh: Pista per i slite 33 | winter_hike: Escursion invernai 34 | routelist: 35 | more: Ingrandiment per vedé pussee de percors. 36 | search: 37 | places: Sit 38 | routes: Percors 39 | site_description: 40 | cycling: Percors locai e distantcon per andà in sgir con la spiciola, con mape e 41 | informazzion de OpenStreetMap. 42 | hiking: Percorsi de escursionicmo longh e locai e percors per andà a pee, con mape 43 | e informazzion de OpenStreetMap. 44 | mtb: Percors per el rampeghin (MTB), con di mape e di informazziono de OpenStreetMap. 45 | riding: Percors de andà a cavall, con mape e informazzion de OpenStreetMap 46 | skating: Percors de patinaggio in linea, con mape e informazzion de OpenStreetMap. 47 | slopes: Piste per sport invernai, sci alpin, patinagg de fond, sgiret invernai, 48 | con mape e informazzion de OpenStreetMap. 49 | ... 50 | -------------------------------------------------------------------------------- /src/util/window_hash.js: -------------------------------------------------------------------------------- 1 | export class WindowHash { 2 | #page; 3 | #params; 4 | 5 | #to_str () { 6 | let h = '#' + this.#page; 7 | 8 | if (this.#params.size > 0) { 9 | let delim = '?'; 10 | for (const k of this.#params.keys()) { 11 | h += delim + encodeURI(k) + '=' + encodeURI(this.#params.get(k)); 12 | delim = '&'; 13 | } 14 | } 15 | 16 | return h; 17 | } 18 | 19 | constructor (page, params) { 20 | this.#params = params ?? new Map(); 21 | 22 | if (typeof page !== 'undefined') { 23 | this.#page = page; 24 | } else if (!window.location.hash) { 25 | this.#page = ''; 26 | } else { 27 | const parts = window.location.hash.substr(1).split('?', 2); 28 | this.#page = parts[0]; 29 | 30 | if (parts.length > 1) { 31 | for (const part of parts[1].split('&')) { 32 | const kv = part.split('='); 33 | if (kv.length == 2) { 34 | this.#params.set(decodeURI(kv[0]), decodeURI(kv[1])); 35 | } 36 | } 37 | } 38 | } 39 | } 40 | 41 | get page() { 42 | return this.#page; 43 | } 44 | 45 | get params() { 46 | return this.#params; 47 | } 48 | 49 | with_param(key, func) { 50 | if (this.#params.has(key)) { 51 | func(this.#params.get(key)); 52 | } 53 | } 54 | 55 | set_param(k, v) { 56 | this.#params.set(k, v); 57 | } 58 | 59 | replace_history() { 60 | window.history.replaceState(window.history.state, document.title, this.#to_str()); 61 | } 62 | 63 | push_history() { 64 | window.history.pushState({}, '', this.#to_str()); 65 | } 66 | }; 67 | -------------------------------------------------------------------------------- /src/i18n/ksh/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Colognian (Ripoarisch) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dimitar 5 | # Author: Dittaeva 6 | # Author: Purodha 7 | --- 8 | attribution: 9 | data: Kaate-Daate sin_er © vun [OpenStreetMap](https://www.openstreetmap.org), ze 10 | han onger dä [ODbL](https://www.openstreetmap.org/copyright) 11 | elevation_title: Daate övver de Hühde vun [SRTM/ASTER](Hölp un Aanäkännonge) 12 | details: 13 | mapped_len: Op dä Landkaat aanjezeisch 14 | note: Notez 15 | official_len: De ofizjälle Längde 16 | operator: Zohschtändesch es 17 | subroutes_title: Afschnedde 18 | superroutes_title: Deijl vun 19 | tags: 20 | title: OpenStreetMap sing Befähle 21 | website: Wäbßaijt 22 | wikipedia: Wikkipehdija 23 | elevation: 24 | ascent: Der Aanschteesch, zesammejenumme 25 | descent: Der Afschteesch, zesammejenumme 26 | diagram: 27 | altitude: De Hühde en Meeter 28 | distance: Der Afschtand en Killomeeter 29 | title: Et Profihl för de Hühde 30 | error: 31 | panel_title: Fähler 32 | headline: 33 | last_update: Zoläz jeändert 34 | network: 35 | downhill: der Bersch eraf 36 | osmc_symbol: 37 | back: Retuhr 38 | background_heading: Hengerjrond 39 | foreground_heading: Vüürjrond 40 | routelist: 41 | close: Zohmaache 42 | title: Wääje 43 | search: 44 | routes: Wääje 45 | title: Söhke 46 | settings: 47 | base_map: De Jrondkaat 48 | browser_language: Nemm dem Brauser sing Enschtällonge 49 | hillshading_layer: Schummerong 50 | language: De Schprohch 51 | route_layer: De Wääje 52 | title: Enschtällonge för de Kaat 53 | transparency: Dorschseeschteschkeit vun dä Kaat 54 | site_title: 55 | cycling: Radfahre 56 | hiking: Wandere 57 | mtb: Mauntenbaike 58 | riding: Pähdsrigge 59 | skating: Enlainerfahre 60 | slopes: Pißte för der Winnterschpocht 61 | ... 62 | -------------------------------------------------------------------------------- /src/i18n/oc/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Occitan (occitan) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Cedric31 5 | # Author: Dimitar 6 | # Author: Shirayuki 7 | --- 8 | attribution: 9 | data: Donadas cartograficas © [OpenStreetMap](https://www.openstreetmap.org) jos 10 | [ODbL](https://www.openstreetmap.org/copyright) 11 | elevation_title: donnadas altimetricas per [SRTM/ASTER](help/acknowledgements) 12 | details: 13 | mapped_len: Longor cartografiada 14 | note: Nòta 15 | official_len: Longor oficiala 16 | operator: Operador 17 | subroutes_title: Seccions 18 | superroutes_title: Aparten a 19 | tags: 20 | title: Balisas OpenStreetMap 21 | website: Site web 22 | download: 23 | format: 24 | GPX: GPX 25 | elevation: 26 | ascent: Montada cumulada 27 | descent: Davalada cumulada 28 | diagram: 29 | altitude: Altitud (m) 30 | distance: Distància (km) 31 | title: Perfil d’altitud 32 | error: 33 | load_error: Error de connexion al servidor. 34 | panel_title: Error 35 | headline: 36 | last_update: Darrièra mesa a jorn 37 | locate_me: Me localizar 38 | network: 39 | downhill: davalada 40 | osmc_symbol: 41 | back: Retorn 42 | background_heading: Rèireplan 43 | foreground_heading: Primièr plan 44 | routelist: 45 | close: Tampar 46 | rollup: Enrotlar 47 | title: Itineraris 48 | search: 49 | routes: Itineraris 50 | title: Recercar 51 | settings: 52 | base_map: Mapa de fons 53 | browser_language: Utilizar los paramètres del navigador 54 | hillshading_layer: Ombratge 55 | language: Lenga 56 | route_layer: Calc dels itineraris 57 | title: Paramètres de la mapa 58 | transparency: Transparéncia de la mapa 59 | site_title: 60 | cycling: A bicicleta 61 | hiking: A pè 62 | mtb: A VTT 63 | riding: Equitacion 64 | skating: En rollers 65 | slopes: Pistas d'espòrt d’ivèrn 66 | ... 67 | -------------------------------------------------------------------------------- /src/i18n/tly/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Talysh (tolışi) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Patriot Kor 5 | # Author: Patriot Kur 6 | # Author: Гусейн 7 | --- 8 | attribution: 9 | data: Xəritə məlimot © [OpenStreetMap](https://www.openstreetmap.org) de lisenzijə 10 | [ODbL](https://www.openstreetmap.org/copyright) 11 | destination_sign: 12 | more: Чәмин 13 | title: Шә вырон 14 | details: 15 | altitude: Barzəti 16 | image: Šikil 17 | mapped_len: Хәритәдә нишо дој 18 | note: Ğeyd 19 | official_len: Rəsmiyə dıruzəti 20 | operator: Operator 21 | subroutes_title: Baxşəon 22 | superroutes_title: Поә 23 | symbol: Rəmz 24 | tags: 25 | key: kilid 26 | title: OpenStreetMap nışonon 27 | value: məno 28 | type: 29 | relation: Əloǧə 30 | way: Ro 31 | website: Vebsoyt 32 | zoom_to: Xəritədə nišon doj 33 | download: 34 | format: 35 | GPX: GPX 36 | KML: KML 37 | elevation: 38 | ascent: Умуми пеше 39 | descent: Умуми етат 40 | diagram: 41 | altitude: Barzəti (m) 42 | distance: Məsofə (km) 43 | title: Релјефи профил 44 | error: 45 | load_error: Бә сервери дәшејәдә хәто беше. 46 | panel_title: Səhv 47 | headline: 48 | last_update: Охонә тожә кардә чиј 49 | help: Xəritə barədə məlumot 50 | locate_me: Мыни пәјдокән 51 | osmc_symbol: 52 | back: Oqarde 53 | background_heading: Zəmin 54 | examples: Misolon 55 | foreground_heading: Əsosi ranq 56 | preview_heading: Syftənə nišon doj 57 | routelist: 58 | loading: Əlovə kardejdə… 59 | close: Жәј 60 | title: Marşruton 61 | search: 62 | routes: Marşruton 63 | title: Nəve 64 | settings: 65 | base_map: Əsosə xəritə 66 | hillshading_layer: Relyefi nişo doy 67 | language: Zyvon 68 | route_layer: Marşruton ğat 69 | title: Хәритә сәбәро 70 | transparency: Хәритә виндејәти 71 | site_title: 72 | cycling: Velovərzış 73 | hiking: Lınqəseyr 74 | mtb: Bandə velovərzış 75 | riding: Аспи роме 76 | skating: Лулә лискә мәшо 77 | ... 78 | -------------------------------------------------------------------------------- /src/i18n/ko/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Korean (한국어) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Garam 5 | # Author: Idh0854 6 | # Author: Jerrykim306 7 | # Author: Kurousagi 8 | # Author: Suleiman the Magnificent Television 9 | # Author: YeBoy371 10 | # Author: Ykhwong 11 | # Author: 아라 12 | --- 13 | attribution: 14 | data: 지도 데이터는 © [OpenStreetMap](https://www.openstreetmap.org) [ODbL](https://www.openstreetmap.org/copyright)에 15 | 따라 제공 16 | elevation_title: 고도 데이터는 [SRTM/ASTER](help/acknowledgements) 제공 17 | destination_sign: 18 | more: 자세한 내용 19 | title: 목적지 20 | details: 21 | altitude: 고도 22 | image: 그림 23 | mapped_len: 매핑된 거리 24 | note: 참고 25 | official_len: 공식 거리 26 | operator: 연산자 27 | subroutes_title: 문단 28 | superroutes_title: '다음의 부분:' 29 | tags: 30 | title: 오픈스트리트맵 태그 31 | value: 값 32 | type: 33 | node: 노드 34 | relation: 관계 35 | way: 길 36 | website: 웹사이트 37 | wikipedia: 위키백과 38 | zoom_to: 지도에 보이기 39 | download: 40 | format: 41 | GPX: GPX 42 | KML: KML 43 | elevation: 44 | ascent: 누적된 오르막 45 | descent: 누적된 내리막 46 | diagram: 47 | altitude: 고도 (m) 48 | distance: 거리 (km) 49 | title: 고도 프로필 50 | error: 51 | load_error: 서버 연결 오류. 52 | panel_title: 오류 53 | headline: 54 | last_update: 마지막 업데이트 55 | help: 지도 정보 56 | network: 57 | downhill: 내리막길 58 | node: 노드 네트워크 연결 59 | other: 다른 경로 60 | osmc_symbol: 61 | back: 뒤로 62 | background_heading: 배경 63 | examples: 예시 64 | foreground_heading: 전경 65 | preview_heading: 미리 보기 66 | routelist: 67 | loading: 불러오는 중... 68 | close: 닫기 69 | title: 노선 70 | search: 71 | routes: 노선 72 | title: 검색 73 | settings: 74 | base_map: 기본 지도 75 | browser_language: 브라우저 설정 사용 76 | hillshading_layer: 힐 셰이딩 77 | language: 언어 78 | route_layer: 경로 레이어 79 | title: 지도 설정 80 | transparency: 지도 투명도 81 | site_title: 82 | cycling: 자전거 타기 83 | hiking: 하이킹 84 | mtb: 산악 자전거 85 | riding: 승마 86 | skating: 인라인 스케이팅 87 | slopes: 동계 종목 슬로프 88 | ... 89 | -------------------------------------------------------------------------------- /public/mtb.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Waymarked Trails - MTB 9 | 10 | 11 | 12 | 13 | 14 | 38 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /src/i18n/nb/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Norwegian Bokmål (norsk bokmål) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dittaeva 5 | # Author: Jon Harald Søby 6 | # Author: Kingu 7 | # Author: SuperPotato 8 | # Author: Wouterkoch 9 | --- 10 | attribution: 11 | data: Kartdata © [OpenStreetMap](https://www.openstreetmap.org) under [ODbL](https://www.openstreetmap.org/copyright) 12 | elevation_title: høgdedata av [SRTM/ASTER](help/acknowledgements) 13 | destination_sign: 14 | more: Flere detaljer 15 | title: Mål 16 | details: 17 | mapped_len: Vist på kartet 18 | note: Melding 19 | official_len: Offisiell lengde 20 | operator: Ansvarlig 21 | subroutes_title: Deler 22 | superroutes_title: Del av 23 | tags: 24 | title: OpenStreetMap-tagger 25 | website: Vevside 26 | zoom_to: Vis på kart 27 | download: 28 | format: 29 | GPX: GPX 30 | elevation: 31 | ascent: Akkumulert stigning 32 | descent: Akkumulert nedstigning 33 | diagram: 34 | altitude: Høyde (m) 35 | distance: Avstand (km) 36 | title: Høgdeprofil 37 | error: 38 | load_error: Feil under tilkobling til tjeneren. 39 | panel_title: Feil 40 | headline: 41 | last_update: Sist oppdatert 42 | help: Om kartet 43 | locate_me: Finn meg 44 | network: 45 | downhill: nedoverbakke 46 | osmc_symbol: 47 | back: Tilbake 48 | background_heading: Bakgrunn 49 | examples: Eksempler 50 | foreground_heading: Forgrunn 51 | preview_heading: Forhåndsvis 52 | routelist: 53 | close: Lukk 54 | rollup: Rull opp 55 | title: Ruter 56 | search: 57 | routes: Ruter 58 | title: Søk 59 | settings: 60 | base_map: Bakgrunnskart 61 | browser_language: Bruk nettleserens innstillinger 62 | hillshading_layer: Høydelag 63 | language: Språk 64 | route_layer: Ruter 65 | title: Kartinnstillinger 66 | transparency: Kart-transparens 67 | site_title: 68 | cycling: Sykkelruter 69 | hiking: Vandreruter 70 | mtb: Terrengsykkelruter 71 | riding: Ridning 72 | skating: Inline-skøyte-ruter 73 | slopes: Vintersportbakker 74 | ... 75 | -------------------------------------------------------------------------------- /public/slopes.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Waymarked Trails - Winter Sports 9 | 10 | 11 | 12 | 13 | 14 | 39 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /src/Footer.svelte: -------------------------------------------------------------------------------- 1 | 16 | 17 | 44 | 45 |
46 |
47 |
page_state.toggle_page('search')}>
48 |
49 | page_state.toggle_page('settings')}> 50 | 51 | page_state.show_page(page_state.page?.startsWith('help')?'':'help-about')}> 52 |
53 |
54 | page_state.toggle_page('routelist')}> 55 | 56 | {$_('routelist.title')} 57 | 58 |
59 |
60 | -------------------------------------------------------------------------------- /public/skating.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Waymarked Trails - Inline Skating 9 | 10 | 11 | 12 | 13 | 14 | 38 | 41 | 42 | 43 | 44 | 45 | 46 | -------------------------------------------------------------------------------- /src/ui/DropdownList.svelte: -------------------------------------------------------------------------------- 1 | 33 | 34 | 65 | 66 | 76 | 77 | -------------------------------------------------------------------------------- /src/ui/OpacitySlider.svelte: -------------------------------------------------------------------------------- 1 | 4 | 5 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | -------------------------------------------------------------------------------- /src/i18n/nqo/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for N’Ko (ߒߞߏ) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Lancine.kounfantoh.fofana 5 | # Author: Lanciné.kounfantoh.fofana 6 | --- 7 | destination_sign: 8 | more: ߝߊߙߊ߲ߝߊ߯ߛߌ߫ ߜߘߍ ߟߎ߬ 9 | title: ߕߊ߯ߦߙߐ 10 | details: 11 | altitude: ߞߐߓߋ 12 | image: ߖߌ߬ߦߊ߬ߓߍ 13 | mapped_len: ߖߊ߲߰ߧߊ ߡߊߔߎߣߍ߲ 14 | note: ߦߟߌߣߐ 15 | operator: ߘߐ߬ߓߛߏ߬ߟߊ 16 | subroutes_title: ߕߍߕߍ߮ ߟߎ߬ 17 | superroutes_title: ߝߊ߲߭ ߘߏ߫ 18 | tags: 19 | key: ߞߏ߲ߢߌ߲ 20 | title: ߏߔߌ߲ߛߑߕߙߌߕߑߡߊߔ ߘߎ߲ߛߓߍ 21 | value: ߡߐ߬ߟߐ߲ 22 | type: 23 | guidepost: ߟߊ߬ߛߌ߲߬ߠߌ߲߫ ߟߐ߲ 24 | node: ߥߎߙߋ߲ߛߋ߲ 25 | relation: ߕߍߓߊ߯ߦߊ 26 | way: ߛߌߟߊ 27 | wayset: ߛߌߟߊ ߟߎ߬ ߟߊߞߊ߬ߝߏ߬ߣߍ߲ 28 | website: ߓߟߐߟߐ߫ ߞߍߦߙߐ 29 | wikipedia: ߥߞߌߔߋߘߌߦߊ 30 | zoom_to: ߊ߬ ߦߌ߬ߘߊ߬ ߡߊߔ ߞߊ߲߬ 31 | download: 32 | format: 33 | GPX: GPX 34 | KML: KML 35 | elevation: 36 | diagram: 37 | altitude: ߞߐߓߋ (ߜ) 38 | distance: ߝߏ߬ߣߊ߲ (ߞߎߘߍ) 39 | error: 40 | load_error: ߝߎ߬ߕߎ߲߬ߕߌ ߞߵߌ ߕߴߌ ߜߊ߲߬ߞߎ߲ ߠߊ߫ ߡߊ߬ߛߐ߬ߟߊ ߟߊ߫ 41 | panel_title: ߝߎ߬ߕߎ߲߬ߕߌ 42 | headline: 43 | last_update: ߟߏ߲ߘߐߦߊߟߌ ߞߐ߯ߟߕߊ 44 | help: ߞߊ߬ ߓߍ߲߬ ߡߊߔ ߡߊ߬ 45 | locate_me: ߒ ߘߌ߲߬ߞߌߙߊ ߦߌ߬ߘߊ߬ 46 | network: 47 | downhill: ߣߍߣߍߞߊ߲߫ ߕߏߙߏ߲ߘߏ 48 | national: ߝߊ߬ߛߏ ߛߌߟߊ ߟߎ߬ 49 | node: ߥߎߙߋ߲ߛߋ߲ ߞߙߏ߬ߝߏ ߜߊ߲߬ߞߎ߲߬ߠߌ߲ 50 | other: ߛߌߟߊ߫ ߜߘߍ ߟߎ߬ 51 | regional: ߕߌ߲߬ߞߎߘߎ߲ ߛߌߟߊ 52 | osmc_symbol: 53 | back: ߌ ߞߐߛߊ߬ߦߌ߬ 54 | background_heading: ߝߊ߲߬ߝߘߊ ߞߘߐߟߊ 55 | examples: ߟߊߒߡߊ߫ ߘߐ߫ 56 | foreground_heading: ߝߊ߲߬ߝߘߊ߬ ߝߟߐ 57 | preview_heading: ߊ߬ ߘߐߜߍ߫ ߡߎߣߎ߲߬ 58 | routelist: 59 | loading: ߟߊ߬ߢߎ߲߬ߠߌ߲... 60 | close: ߊ߬ ߘߊߕߎ߲߯ 61 | more: ߊ߬ ߡߊߛߊ߬ߡߊ߲߫ ߞߊ߬ ߛߌߟߊ߫ ߜߘߍ߫ ߟߎ߫ ߦߋ߫. 62 | title: ߛߌߟߊ 63 | search: 64 | routes: ߛߌߟߊ 65 | title: ߢߌߣߌ߲ߠߌ߲ 66 | settings: 67 | base_map: ߔߊ߬ߔߘߊ ߓߊߖߎ 68 | browser_language: ߛߏ߲߯ߓߊߟߊ߲ ߟߊ߬ߓߍ߲߬ߢߐ߲߰ߡߦߊ߬ߘߊ ߟߊߓߊ߯ߙߊ߫ 69 | hillshading_layer: ߞߎ߬ߙߎ ߞߟߐ߬ ߓߐߣߍ߲ߢߐ߲߯ߡߊ 70 | language: ߞߊ߲ 71 | route_layer: ߛߌߟߊ߫ ߓߐߟߊ 72 | title: ߡߊߔ ߟߊ߬ߓߍ߲߬ߢߐ߲߰ߡߦߊ߬ߘߊ 73 | transparency: ߡߊߔ ߟߊ߲ߞߣߍߡߊߟߌ 74 | site_title: 75 | cycling: ߣߍ߰ߛߏ߬ߞߊ߲߬ߦߊ 76 | hiking: ߡߊ߬ߕߊ߰ߡߊ߬ߟߌ 77 | mtb: MTB 78 | riding: ߛߏ߬ ߓߏߙߌ 79 | ... 80 | -------------------------------------------------------------------------------- /public/riding.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Waymarked Trails - Riding 9 | 10 | 11 | 12 | 13 | 14 | 39 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /public/cycling.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Waymarked Trails - Cycling 9 | 10 | 11 | 12 | 13 | 14 | 39 | 42 | 43 | 44 | 45 | 46 | 47 | -------------------------------------------------------------------------------- /src/i18n/vec/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Venetian (vèneto) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Alunardon90 5 | # Author: Fierodelveneto 6 | --- 7 | attribution: 8 | data: Dati mapa © [OpenStreetMap](https://www.openstreetmap.org) soto licensa [ODbL](https://www.openstreetmap.org/copyright) 9 | elevation_title: dati de cuora de [SRTM/ASTER](help/acknowledgements) 10 | destination_sign: 11 | more: Pì detaji 12 | title: Destinasion 13 | details: 14 | altitude: Altitùdene 15 | image: Imàzene 16 | mapped_len: Vixuałixà so ła mapa 17 | note: Note 18 | official_len: Longhesa oficiałe 19 | operator: Operador 20 | subroutes_title: Sesion 21 | superroutes_title: Parte de 22 | tags: 23 | title: Note de OpenStreetMap 24 | website: sito web 25 | zoom_to: Mostra inte ła mapa 26 | download: 27 | format: 28 | GPX: GPX 29 | KML: KML 30 | elevation: 31 | ascent: Aseza cumułada 32 | descent: Deseza cumułada 33 | diagram: 34 | altitude: Altitùdene (m) 35 | distance: Distansa (km) 36 | title: Profiło altimètrego 37 | unavailable: Nisun dato catà su l'altura ojeto. 38 | error: 39 | load_error: Eror de conesion al sèrver. 40 | panel_title: Erore 41 | headline: 42 | last_update: Ultimo ajornamento 43 | help: Informasion so ła mapa 44 | locate_me: Pozisióname 45 | network: 46 | downhill: diseze 47 | osmc_symbol: 48 | back: Indrio 49 | background_heading: Sfondo 50 | examples: Ezenpi 51 | foreground_heading: In primo pian 52 | preview_heading: Vista prèvia 53 | routelist: 54 | close: Sara 55 | rollup: Inròdoła 56 | title: Percorsi 57 | search: 58 | routes: Percorsi 59 | title: Serca 60 | settings: 61 | base_map: Mapa de baxe 62 | browser_language: Dòpara łe inpostasion del navegadore web 63 | hillshading_layer: Onbrejamento rilievi 64 | language: Łéngua 65 | route_layer: Liveło de percorso 66 | title: Costuma ła mapa 67 | transparency: Trasparense mapa 68 | site_title: 69 | cycling: Ciclixmo 70 | hiking: Escursion a pie 71 | mtb: Bici da montagna 72 | riding: A spaso a cavało 73 | skating: Patinajo in linea 74 | slopes: Piste par spor de inverno 75 | ... 76 | -------------------------------------------------------------------------------- /src/i18n/ro/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Romanian (română) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Buraddo 5 | # Author: Minisarm 6 | --- 7 | about: 8 | title: Despre hartă 9 | hiking: Această hartă afișează traseele turistice marcate din toată lumea. 10 | cycling: Această hartă afișează traseele de ciclism marcate din toată lumea. 11 | mtb: Această hartă afișează traseele de ciclism montan marcate din toată lumea. 12 | skating: Această hartă afișează traseele de patinaj marcate din toată lumea. 13 | riding: Această hartă afișează traseele de echitație marcate din toată lumea. 14 | slopemap: Această hartă afișează traseele de pârtii de zăpadă marcate din toată 15 | lumea. 16 | osm: |- 17 | Rutele sunt suprapuse pe OpenStreetMap standard și, opțional, un strat de umbrire a dealurilor. Harta rutei este generată folosind date din proiectul [OpenStreetMap](https://www.openstreetmap.org) (OSM). OSM este o hartă a lumii care poate fi editată gratuit la care oricine poate 18 | participa. Ceea ce înseamnă că nu este deloc complet, 19 | dar înseamnă și că poți contribui prin adăugarea de rute noi și corectând greșelile din cele existente. Pentru a afla mai multe despre OpenStreetMap, consultați [Ghidul pentru începători](https://wiki.openstreetmap.org/wiki/Beginners%27_Guide). 20 | rendering: 21 | title: Randarea datelor OSM 22 | hikingroutes: |- 23 | Traseele de drumeții în OSM trebuie introduse ca relații. Cum funcționează acest lucru este descris în detaliu pe pagina de etichetare despre [trasee de mers pe jos](https://wiki.openstreetmap.org/wiki/Walking_Routes) în wikiul OSM. Această hartă arată relații care au cel puțin 24 | următoarele etichete: 25 | 26 | type = route|superroute 27 | route = foot|walking|hiking 28 | hierarchies: 29 | title: Ierarhii de relații 30 | osmc: 31 | title: Eticheta osmc:symbol 32 | hikinglocal: 33 | title: Randare localizată 34 | elevationprofiles: 35 | title: Profile de altitudine 36 | technical: 37 | title: Detalii tehnice 38 | legal: 39 | title: Termeni juridici și de utilizare 40 | acknowledgements: 41 | title: Mulțumiri 42 | contact: 43 | title: Contact 44 | ... 45 | -------------------------------------------------------------------------------- /src/i18n/scn/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Sicilian (sicilianu) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Ajeje Brazorf 5 | # Author: GianAntonucci 6 | # Author: Sarvaturi 7 | --- 8 | attribution: 9 | data: Dati mappa © [OpenStreetMap](https://www.openstreetmap.org) cu licenza [ODbL](https://www.openstreetmap.org/copyright) 10 | elevation_title: dati di cota di [SRTM/ASTER](help/acknowledgements) 11 | destination_sign: 12 | more: Cchiossai dittagghî 13 | details: 14 | altitude: Autitùtini 15 | image: Mmàggini 16 | mapped_len: Taliatu ntâ mappa 17 | note: Nota 18 | official_len: Lunghizza officiali 19 | operator: Upiraturi 20 | subroutes_title: Sizzioni 21 | superroutes_title: Parti di 22 | symbol: Sìmmulu 23 | tags: 24 | key: chiavi 25 | title: Etichetti OpenStreetMap 26 | value: valuri 27 | type: 28 | node: Nudu 29 | relation: Rilazzioni 30 | way: Passu 31 | website: Situ web 32 | zoom_to: Ammustra ntâ mappa 33 | download: 34 | format: 35 | GPX: GPX 36 | KML: KML 37 | elevation: 38 | ascent: Acchianata accumulata 39 | descent: Scisa accumulata 40 | diagram: 41 | altitude: Altitùdini (m) 42 | distance: Distanza (km) 43 | title: Prufilu altimètricu 44 | error: 45 | panel_title: Erruri 46 | headline: 47 | last_update: Ùrtimu aggiurnamentu 48 | help: Nfurmazzioni supra la mappa 49 | osmc_symbol: 50 | background_heading: Sfunnu 51 | examples: Asempi 52 | foreground_heading: Ntô primu pianu 53 | preview_heading: Antiprima 54 | routelist: 55 | close: Chiudi 56 | title: Pircursi 57 | search: 58 | places: Lochi 59 | routes: Pircursi 60 | title: Cerca 61 | settings: 62 | base_map: Mappa di basi 63 | browser_language: Usa mpustazzioni dû browser 64 | hillshading_layer: Hill shading 65 | language: Lingua 66 | route_layer: Route layer 67 | title: Mpustazzioni mappa 68 | transparency: Trasparenza mappa 69 | site_title: 70 | cycling: Ciclismu 71 | hiking: Escursioni a pedi 72 | mtb: Mountain bike 73 | osmc_symbol: Lu tag osmc:symbol 74 | riding: Passiati a cavaddu 75 | skating: Pattinaggiu n lìnia 76 | slopes: Pisti pi sport mmirnali 77 | ... 78 | -------------------------------------------------------------------------------- /public/img/map_hiking.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /public/img/map_cycling.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /src/i18n/fi/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Finnish (suomi) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Markus Mikkonen 5 | # Author: Nike 6 | # Author: Pyscowicz 7 | # Author: Silvonen 8 | # Author: Snidata 9 | --- 10 | about: 11 | title: Tietoja kartasta 12 | hiking: Tämä kartta näyttää viitoitettuja vaellusreittejä ympäri maailman. 13 | cycling: Tämä kartta näyttää viitoitettuja pyöräilyreittejä ympäri maailman. 14 | mtb: Tämä kartta näyttää viitoitettuja maastopyöräilyreittejä ympäri maailman. 15 | skating: Tämä kartta näyttää viitoitettuja rullaluistelureittejä ympäri maailman. 16 | riding: Tämä kartta näyttää viitoitettuja vaellusreittejä ympäri maailman. 17 | slopemap: Tämä kartta osoittaa selvästi talviurheilurinteitä ympäri maailmaa. 18 | osm: Reitit piirretään tavalliselle OpenStreetMap-karttatasolle tai tasolle jossa 19 | pinnanmuodot on varjostettu. 20 | rendering: 21 | title: Renderöidään OSM-aineistoa. 22 | hikingroutes: |- 23 | Vaellusreitit pitää OSM-järjestelmään syöttää relaatioina. Tämä on selitetty yksityiskohtaisemmin [vaellusreitit](https://wiki.openstreetmap.org/wiki/Walking_Routes)-sivulla OSM-wikissä. Tämä kartta näyttää relaatiot joihin on liitetty vähintään seuraavat tagit: 24 | 25 | type = route|superroute 26 | route = foot|walking|hiking 27 | hierarchies: 28 | title: Liittyvät hierarkiat 29 | osmc: 30 | title: osmc:symbol-tagi 31 | hikinglocal: 32 | title: Lokalisoitu renderöinti 33 | elevationprofiles: 34 | title: Korkeusprofiilit 35 | technical: 36 | title: Tekniset tiedot 37 | legal: 38 | title: Oikeudelliset- ja käyttöehdot 39 | acknowledgements: 40 | title: Kiitokset 41 | text: |- 42 | Kaikki kartta-aineisto on saatu [OpenStreetMapista ja osallistujilta](http://www.openstreetmap.org) 43 | ja aineistoa levitetään ODbL-lisenssillä. 44 | contact: 45 | title: Ota yhteyttä 46 | text: |- 47 | Kysymykset ja kommentit tähän sivuun liittyen voidaan lähettää osoitteeseen: [lonvia@denofr.de](mailto:lonvia@denofr.de). 48 | 49 | Bugeista voi myös raportoida [the project's issue tracker on github](https://github.com/waymarkedtrails/waymarked-trails-site/issues). Ennen bugeista raportointia, varmista että ongelmasi ei ole OSM-datassa. 50 | ... 51 | -------------------------------------------------------------------------------- /src/i18n/sr-ec/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Serbian (Cyrillic script) (српски (ћирилица)) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Acamicamacaraca 5 | # Author: Aktron 6 | # Author: BadDog 7 | # Author: Kizule 8 | # Author: Milicevic01 9 | # Author: Nikola Smolenski 10 | # Author: Rancher 11 | # Author: Srdjan m 12 | # Author: Srđan 13 | # Author: Zoranzoki21 14 | --- 15 | attribution: 16 | data: Подаци мапе © [OpenStreetMap (https://www.openstreetmap.org) под лиценцом 17 | [ODbL](https://www.openstreetmap.org/copyright) 18 | destination_sign: 19 | more: Више детаља 20 | title: Дестинације 21 | details: 22 | altitude: Надморска висина 23 | mapped_len: Приказано на мапи 24 | note: Белешка 25 | official_len: Званична дужина 26 | operator: Оператор 27 | subroutes_title: Одељци 28 | superroutes_title: Део 29 | tags: 30 | title: Ознаке OpenStreetMap-а 31 | website: Веб-сајт 32 | zoom_to: Прикажи на мапи 33 | download: 34 | format: 35 | GPX: GPX 36 | KML: KML 37 | elevation: 38 | ascent: Акумулирани успон 39 | descent: Акумулирани спуст 40 | diagram: 41 | altitude: Висина (м) 42 | distance: Удаљеност (км) 43 | title: Висински профил 44 | unavailable: Нису пронађени подаци о висини. 45 | warn_unsorted: Пут је потенцијално неуређен или непотпун. Информације о висини могу 46 | бити нетачне. 47 | error: 48 | load_error: Грешка при повезивању на сервер. 49 | panel_title: Грешка 50 | headline: 51 | last_update: Последње ажурирање 52 | help: О мапи 53 | locate_me: Нађи ме 54 | osmc_symbol: 55 | back: Назад 56 | background_heading: Позадина 57 | examples: Примери 58 | foreground_heading: Предњи план 59 | preview_heading: Преглед 60 | routelist: 61 | close: Затвори 62 | rollup: Окретање 63 | title: Руте 64 | search: 65 | routes: Руте 66 | title: Претражи 67 | settings: 68 | base_map: Основна мапа 69 | browser_language: Користи подешавања прегледача 70 | hillshading_layer: Рељефно сенчење 71 | language: Језик 72 | route_layer: Слој руте 73 | title: Подешавања мапе 74 | transparency: Прозирност мапе 75 | site_title: 76 | cycling: Бициклизам 77 | hiking: Пешачење 78 | mtb: Планински бициклизам 79 | riding: Јахање коња 80 | skating: Ролери 81 | ... 82 | -------------------------------------------------------------------------------- /src/i18n/lb/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Luxembourgish (Lëtzebuergesch) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Robby 5 | # Author: Volvox 6 | --- 7 | destination_sign: 8 | more: Méi Detailer 9 | title: Destinatiounen 10 | details: 11 | altitude: Héicht 12 | image: Bild 13 | note: Notiz 14 | official_len: Offiziell Längt 15 | subroutes_title: Abschnitter 16 | superroutes_title: Deel vu(n) 17 | symbol: Symbol 18 | tags: 19 | key: Schlëssel 20 | value: Wäert 21 | type: 22 | relation: Relatioun 23 | way: Wee 24 | website: Internetsite 25 | wikipedia: Wikipedia 26 | zoom_to: Op der Kaart weisen 27 | download: 28 | need_format: Wielt e Format 29 | format: 30 | title: Format 31 | GPX: GPX 32 | KML: KML 33 | elevation: 34 | diagram: 35 | altitude: Héicht(m) 36 | distance: Distanz (km) 37 | total: Gesamthéicht 38 | error: 39 | load_error: Feeler beim Verbanne mam Server. 40 | panel_title: Feeler 41 | object_not_found: Objet net fonnt. 42 | api_unavailable: API net disponibel. 43 | headline: 44 | last_update: Lescht Aktualiséierung 45 | help: Iwwer dës Kaart 46 | locate_me: Mech lokaliséieren 47 | network: 48 | downhill: Biergof 49 | national: National Stroossen 50 | nordic: Schilaanglaf 51 | other: Aner Routen 52 | regional: Regional Stroossen 53 | skitour: Schi-Touren 54 | sleigh: Schlittepist 55 | winter_hike: Wanterwanderen 56 | osmc_symbol: 57 | back: Zeréck 58 | background_heading: Hannergrond 59 | examples: Beispiller 60 | foreground_heading: Vierdergrond 61 | intro_header: Iwwersiicht 62 | preview_heading: Kucken ouni ze späicheren 63 | symbol_reference_heading: Vollstänneg Lëscht vun ënnerstëtzte Symboler 64 | routelist: 65 | loading: Lueden... 66 | close: Zoumaachen 67 | title: Strecken 68 | search: 69 | places: Plazen 70 | routes: Strecken 71 | title: Sichen 72 | settings: 73 | base_map: Basiskaart 74 | browser_language: Browserastellunge benotzen 75 | language: Sprooch 76 | title: Astellunge vun der Kaart 77 | transparency: Kaartentransparenz 78 | site_title: 79 | cycling: Mam Vëlo 80 | hiking: Zu Fouss 81 | osmc_symbol: Den Tag osmc:symbol 82 | riding: Reiden 83 | skating: Inline-Skating 84 | slopes: Wantersportpisten 85 | ... 86 | -------------------------------------------------------------------------------- /src/ElevationView.svelte: -------------------------------------------------------------------------------- 1 | 23 | 24 | 56 | 57 | {#if loader} 58 | {#await loader} 59 | 60 | {:then profile} 61 | {#if route.continuity === 'none'} 62 |

{$_('elevation.warn_unsorted')}

63 | {/if} 64 |
65 |
{$_('elevation.diagram.altitude')}
66 | 67 |
{$_('elevation.diagram.distance')}
68 |
69 |
{$_('elevation.total')}: 70 | ↗ {profile.ascent}m 71 | ↘ {profile.descent}m 72 |
73 | {:catch error} 74 | {$_(error.message)} 75 | {/await} 76 | {/if} 77 | -------------------------------------------------------------------------------- /public/hiking.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | Waymarked Trails - Hiking 9 | 10 | 11 | 12 | 13 | 14 | 40 | 43 | 44 | 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /src/i18n/he/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Hebrew (עברית) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Amire80 5 | # Author: Inkbug 6 | # Author: Steeve815 7 | # Author: YaronSh 8 | --- 9 | attribution: 10 | data: נתוני מפה © [OpenStreetMap](https://www.openstreetmap.org) לפי תנאי [ODbL](https://www.openstreetmap.org/copyright) 11 | elevation_title: נתוני גובה מאת [SRTM/ASTER](help/acknowledgements) 12 | destination_sign: 13 | more: פרטים נוספים 14 | no_data: אין פירוט יעד זמין לתמרור ההכוונה הזה. 15 | title: יעדים 16 | details: 17 | altitude: גובה 18 | image: תמונה 19 | mapped_len: אורך ממופה 20 | note: פתק 21 | official_len: אורך רשמי 22 | operator: מפעיל 23 | route_symbol: סמל מסלול 24 | subroutes_title: מקטעים 25 | superroutes_title: חלק מתוך 26 | symbol: סמל 27 | tags: 28 | key: מפתח 29 | title: תגי OpenStreetMap 30 | value: ערך 31 | type: 32 | guidepost: תמרור הכוונה 33 | node: נקודה 34 | relation: יחס 35 | way: דרך 36 | website: אתר אינטרנט 37 | wikipedia: ויקיפדיה 38 | zoom_to: הצגה במפה 39 | download: 40 | format: 41 | GPX: GPX 42 | KML: KML 43 | elevation: 44 | ascent: עלייה מצטברת 45 | descent: ירידה מצטברת 46 | diagram: 47 | altitude: גובה (מ׳) 48 | distance: מרחק (ק״מ) 49 | title: פרופיל גובה 50 | unavailable: לא נמצאו נתוני עילוי. 51 | error: 52 | load_error: שגיאה בהתחברות לשרת. 53 | panel_title: שגיאה 54 | headline: 55 | last_update: עדכון אחרון 56 | help: על אודות המפה 57 | locate_me: איתור עצמי 58 | network: 59 | national: מסלולים לאומיים 60 | nordic: סקי נורדי 61 | skitour: טיולי סקי 62 | osmc_symbol: 63 | back: חזרה 64 | background_heading: רקע 65 | examples: דוגמאות 66 | foreground_heading: חזית 67 | preview_heading: תצוגה מקדימה 68 | routelist: 69 | loading: בטעינה… 70 | close: סגירה 71 | title: נתיבים 72 | search: 73 | routes: נתיבים 74 | title: חיפוש 75 | settings: 76 | base_map: מפת יסוד 77 | browser_language: שימוש בהגדרות הדפדפן 78 | hillshading_layer: הצללת גבעות 79 | language: שפה 80 | route_layer: שכבת נתיב 81 | title: הגדרות מפה 82 | transparency: שקיפות מפה 83 | site_title: 84 | cycling: אופניים 85 | hiking: הליכה 86 | mtb: אופני הרים 87 | riding: רכיבה על סוסים 88 | skating: גלגיליות 89 | slopes: מדרוני ספורט חורפי 90 | ... 91 | -------------------------------------------------------------------------------- /src/i18n/tl/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Tagalog (Tagalog) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: AnakngAraw 5 | # Author: GinawaSaHapon 6 | # Author: Shirayuki 7 | --- 8 | about: 9 | title: Patungkol sa mapa 10 | hiking: Ang mapang ito ay nagpapakita ng mga ruta ng magiliw na paglalakad na mayroong 11 | nakapaskil na palatandaan sa paligid ng mundo. 12 | cycling: Ang mapang ito ay nagpapakita ng mga ruta ng pagbibisikleta na mayroong 13 | nakapaskil na palatandaan sa paligid ng mundo. 14 | mtb: Ang mapang ito ay nagpapakita ng mga ruta ng pagbibisikletang pambundok na 15 | mayroong nakapaskil na palatandaan sa paligid ng mundo. 16 | skating: Ang mapang ito ay nagpapakita ng mga ruta ng pag-iiskeyt na mayroong nakapaskil 17 | na palatandaan sa paligid ng mundo. 18 | riding: Ipinapakita ng mapa na ito ang mga naka-sign post na ruta sa pangangabayo 19 | sa iba't-ibang bahagi ng mundo. 20 | slopemap: Ipinapakita ng mapa na ito ang mga markadong ruta sa winter sport slopes 21 | sa iba't-ibang bahagi ng mundo. 22 | osm: Naka-overlay ang mga ruta sa isang standard na OpenStreetMal at pwedeng magkaroon 23 | ng layer na hillshading. Gine-generate ang mapa ng ruta nula sa data mula sa proyektong 24 | [OpenStreetMap](https://www.openstreetmap.org) (OSM). Ang OSM ay isang mae-edit 25 | na pandaigdigang mapa kung saan pwedeng sumali ang kahit sino. Ibig sabihin, hindi 26 | ito dapat ituring na kumpleto, pero ibig sabihin din na pwede ka ring mag-ambag 27 | ng mga bagong ruta at magtama ng mga mali sa mga rutang nakalagay na rito. Para 28 | matuto pa tungkol sa OpenStreetMap, tingnan ang [Beginner's guide](https://wiki.openstreetmap.org/wiki/Beginners%27_Guide). 29 | rendering: 30 | title: Paghaharap ng dato ng OSM 31 | classification: Ang klasipikasyon (at kung gayon ang kulay ng ruta na nasa loob 32 | ng mapa) ay inaalam magmula sa tatak ng `network`. 33 | hierarchy: Tinatangkilik din ng mapa ang [mga hirarkiya ng ugnayan](rendering/hierarchies). 34 | hierarchies: 35 | title: Mga hirarkiya ng ugnayan 36 | osmc: 37 | title: Ang osmc:tatak ng sagisag 38 | hikinglocal: 39 | title: Isinakatutubong paghaharap 40 | technical: 41 | title: Mga detalyeng teknikal 42 | acknowledgements: 43 | title: Mga pagkilala 44 | contact: 45 | title: Kaugnayan 46 | ... 47 | -------------------------------------------------------------------------------- /src/i18n/vi/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Vietnamese (Tiếng Việt) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Bapham123 5 | # Author: Caden99 6 | # Author: Max20091 7 | # Author: Minh Nguyen 8 | --- 9 | attribution: 10 | data: Dữ liệu bản đồ © [OpenStreetMap](https://www.openstreetmap.org) theo [ODbL](https://www.openstreetmap.org/copyright) 11 | elevation_title: dữ liệu cao độ do [SRTM/ASTER](help/acknowledgements) cung cấp 12 | destination_sign: 13 | more: Thêm chi tiết 14 | title: Điểm đến 15 | details: 16 | altitude: Cao độ 17 | image: Hình ảnh 18 | mapped_len: Chiều dài trên bản đồ 19 | note: Ghi chú 20 | official_len: Chiều dài chính thức 21 | operator: Cơ quan giữ gìn 22 | subroutes_title: Giai đoạn 23 | superroutes_title: Trực thuộc 24 | symbol: Biểu trưng 25 | tags: 26 | title: Các thẻ OpenStreetMap 27 | website: Trang Web 28 | wikipedia: Wikipedia 29 | zoom_to: Xem trên bản đồ 30 | download: 31 | format: 32 | GPX: GPX 33 | KML: KML 34 | elevation: 35 | ascent: Chiều cao leo lên tổng cộng 36 | descent: Chiều cao đi xuống tổng cộng 37 | diagram: 38 | altitude: Cao độ (m) 39 | distance: Tầm xa (km) 40 | title: Biểu đồ cao độ 41 | warn_unsorted: Tuyến đường có thể sai thứ tự hoặc không hoàn toàn. Các thông tin 42 | về độ cao có thể không chính xác. 43 | error: 44 | load_error: Lỗi kết nối với máy chủ. 45 | panel_title: Lỗi 46 | headline: 47 | last_update: Lúc cập nhật 48 | help: Giới thiệu về bản đồ 49 | locate_me: Định vị 50 | network: 51 | downhill: Xuống dốc 52 | node: Lối kết nối mạng nút 53 | osmc_symbol: 54 | back: Quay lại 55 | background_heading: Nền 56 | examples: Ví dụ 57 | foreground_heading: Cận cảnh 58 | preview_heading: Xem trước 59 | routelist: 60 | close: Đóng 61 | rollup: Cuộn lên 62 | title: Các tuyến đường 63 | search: 64 | routes: Các tuyến đường 65 | title: Tìm kiếm 66 | settings: 67 | base_map: Bản đồ gốc 68 | browser_language: Dùng thiết lập của trình duyệt 69 | hillshading_layer: Đồi bóng 70 | language: Ngôn ngữ 71 | route_layer: Lớp tuyến đường 72 | title: Tùy chọn bản đồ 73 | transparency: Độ trong suốt bản đồ 74 | site_title: 75 | cycling: Xe đạp 76 | hiking: Đường đi bộ dài 77 | mtb: Xe đạp leo núi 78 | riding: Cưỡi ngựa 79 | skating: Trượt băng nội tuyến 80 | slopes: Dốc Dành cho các Môn Thể thao Mùa đông 81 | ... 82 | -------------------------------------------------------------------------------- /src/map/style_details.js: -------------------------------------------------------------------------------- 1 | import {Stroke, Style, Circle, Fill, Text} from 'ol/style'; 2 | 3 | function get_dashing(role, res, color, width) { 4 | if (role === '') { 5 | return {color: color, width: width}; 6 | } 7 | if (role === 'alternative') { 8 | color[3] -= 0.1 9 | return {lineDash: [4, 10], 10 | lineCap: 'square', 11 | color: color, 12 | width: width*0.6}; 13 | } 14 | 15 | return {lineDash: [1, 17], color: color, width: width - 0.8}; 16 | } 17 | 18 | export function make_shadow_style() { 19 | return function(feat, res) { 20 | const props = feat.getProperties(); 21 | var width = 9; 22 | var op = 0.6; 23 | if (res < 500) { 24 | width += (500.0 - res)/100.0; 25 | op -= (500.0 - res)/2000.0; 26 | } 27 | 28 | return new Style({ 29 | geometry: function(feat) { 30 | let geom = feat.getGeometry().clone(); geom.translate(1.5*res,-1.5*res); return geom; }, 31 | stroke: new Stroke({color: [21, 25, 0, op], width: width}) 32 | }); 33 | } 34 | }; 35 | 36 | export function make_style(hilight) { 37 | return function(feat, res) { 38 | const props = feat.getProperties(); 39 | var width = 6; 40 | var op = 1.0; 41 | if (res < 500) { 42 | width += (500.0 - res)/100.0; 43 | op -= (500.0 - res)/2500.0; 44 | } 45 | 46 | var color; 47 | if (hilight && props.relations.indexOf(hilight) >= 0) { 48 | color = [255, 211, 5, 1.0]; 49 | } else { 50 | color = [211, 255, 5, op] 51 | } 52 | 53 | const styles = [new Style({ 54 | stroke: new Stroke(get_dashing(props.role, res, color, width)) 55 | })]; 56 | 57 | if (props.dir && res < 10) { 58 | styles.push(new Style({ 59 | text: new Text({ 60 | text: props.dir > 0 ? '❯' : '❮', 61 | placement: 'line', 62 | repeat: 20, 63 | keepUpright: false, 64 | stroke: new Stroke({color: [122, 139, 41], width: 3}), 65 | fill: new Fill({color: [122, 139, 41]}) 66 | 67 | }) 68 | })); 69 | } 70 | 71 | return styles; 72 | } 73 | }; 74 | -------------------------------------------------------------------------------- /src/map_state.svelte.js: -------------------------------------------------------------------------------- 1 | import { BASEMAPS } from './config.js'; 2 | import { WindowHash } from './util/window_hash.js'; 3 | import {Map} from 'ol'; 4 | 5 | function with_local_storage(key, f) { 6 | let v = localStorage.getItem(key); 7 | if (v !== null) { 8 | f(v); 9 | } 10 | } 11 | 12 | function get_opacity(hash, storage_id, uri_id, defvalue) { 13 | let value = defvalue; 14 | 15 | with_local_storage(storage_id, function(saved) { 16 | let parsed = parseInt(saved, 10); 17 | if (parsed >= 0 && parsed <= 100) { 18 | value = parsed/100.0; 19 | } 20 | }); 21 | 22 | hash.with_param(uri_id, function(v) { 23 | let parsed = parseFloat(v); 24 | if (parsed >= 0.0 && parsed <= 1.0) { 25 | value = parsed; 26 | } 27 | }); 28 | 29 | return value; 30 | }; 31 | 32 | 33 | class MapState { 34 | extent = $state(false); 35 | basemap_id = $state(0); 36 | map_opacity_base = $state(); 37 | map_opacity_route = $state(); 38 | map_opacity_shade = $state(); 39 | vector_routes = $state.raw([]); // routes that need to be available as vector data 40 | highlighted_route = $state.raw(); 41 | 42 | // derived properties 43 | zoom = 0; 44 | center = [0, 0]; 45 | #ol_map; 46 | 47 | #set_basemap_id_from(saved_id) { 48 | let newidx = BASEMAPS.findIndex((elem) => { return elem.id === saved_id; }); 49 | if (newidx >= 0) { 50 | this.basemap_id = newidx; 51 | } 52 | } 53 | 54 | constructor() { 55 | let hash = new WindowHash(); 56 | 57 | with_local_storage('basemap-id', this.#set_basemap_id_from.bind(this)); 58 | hash.with_param('basemap', this.#set_basemap_id_from.bind(this)); 59 | 60 | this.map_opacity_base = get_opacity(hash, 'opacity-base-layer', 'basemap-opacity', 1.0); 61 | this.map_opacity_route = get_opacity(hash, 'opacity-route-layer', 'routemap-opacity', 0.8); 62 | this.map_opacity_shade = get_opacity(hash, 'opacity-shade-layer', 'hill', 0.0); 63 | 64 | this.ol_map = new Map({controls: []}); 65 | } 66 | 67 | get map() { 68 | return this.ol_map; 69 | } 70 | 71 | set_map_view(bbox) { 72 | if (bbox && this.map) { 73 | this.map.getView()?.fit(bbox, {size: this.map.getSize(), maxZoom: 18}); 74 | } 75 | }; 76 | 77 | }; 78 | 79 | export const map_state = new MapState(); 80 | -------------------------------------------------------------------------------- /src/i18n/tt-cyrl/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Tatar (Cyrillic script) (татарча) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Ерней 5 | --- 6 | attribution: 7 | data: © [OpenStreetMap](https://www.openstreetmap.org) харитасы мәгълүматлары [ODbL](https://www.openstreetmap.org/copyright) 8 | рөхсәтнамәсе астында 9 | elevation_title: '[SRTM/ASTER](help/acknowledgements) тарафыннан биеклек мәгълүматлары' 10 | destination_sign: 11 | more: Тулырак 12 | details: 13 | altitude: Югарылык 14 | image: Сурәт 15 | mapped_len: Харитада күрсәтү 16 | note: Искәрмә 17 | official_len: Рәсми озынлык 18 | operator: Оператор 19 | route_symbol: Маршрут билгесе 20 | subroutes_title: Бүлекләр 21 | superroutes_title: Өлеш 22 | symbol: Билге 23 | tags: 24 | key: ачкыч 25 | title: OpenStreetMap тамгалары 26 | value: мәгънә 27 | type: 28 | node: Төен 29 | relation: Мөнәсәбәт 30 | way: Юл 31 | website: Веб-сәхифә 32 | wikipedia: Википедия 33 | zoom_to: Харитада күрсәтү 34 | download: 35 | format: 36 | GPX: GPX 37 | KML: KML 38 | elevation: 39 | ascent: Тупланган менеш 40 | descent: Тупланган төшеш 41 | diagram: 42 | altitude: Югарылык (м) 43 | distance: Ераклык (км) 44 | title: Биеклек өске йөзе 45 | total: Барлыгы менү/тешү 46 | unavailable: Биеклек мәгълүматлары табылмаган. 47 | error: 48 | load_error: Сервер белән тоташтыру хатасы. 49 | panel_title: Хата 50 | headline: 51 | last_update: Соңгы яңарту 52 | help: Харита турында 53 | locate_me: Табыгыз мине 54 | network: 55 | continental: Континент маршрутлары 56 | downhill: Төшү юлы 57 | other: Башка маршрутлар 58 | sleigh: Чана юлы 59 | osmc_symbol: 60 | back: Кирегә 61 | background_heading: Җирлек 62 | examples: Мисаллар 63 | foreground_heading: Төп төс 64 | preview_heading: Алдан карау 65 | routelist: 66 | loading: Төяү бара… 67 | close: Ябу 68 | rollup: Җыярга 69 | title: Маршрутлар 70 | search: 71 | places: Урыннар 72 | routes: Маршрутлар 73 | title: Эзләү 74 | settings: 75 | base_map: Төп харита 76 | browser_language: Браузер көйләнмәләрен куллану 77 | hillshading_layer: Калкулык шәүләләнүе 78 | language: Тел 79 | route_layer: Маршрут катламы 80 | title: Харита көйләнмәләре 81 | transparency: Харита үтәкүренмәлеге 82 | site_title: 83 | cycling: Велоспорт 84 | hiking: Йөреп кайту 85 | mtb: Таулы велоспорт 86 | riding: Атланып йөрү 87 | skating: Тәгәрмәчле тимераяк шуу 88 | slopes: Кышкы спорт өчен тау битләре 89 | ... 90 | -------------------------------------------------------------------------------- /public/img/map_mtb.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | -------------------------------------------------------------------------------- /css/global.css: -------------------------------------------------------------------------------- 1 | body { 2 | margin : 0; 3 | padding : 0; 4 | background-color: #fff; 5 | font-family: Helvetica,Arial,sans-serif 6 | } 7 | 8 | a { 9 | color: var(--theme-link-color); 10 | text-decoration: none 11 | } 12 | 13 | .btn-primary { 14 | background-color: var(--theme-button-background); 15 | color: var(--theme-button-color); 16 | font-size: 18px; 17 | padding: 8px 12px; 18 | border-color: #bbb; 19 | } 20 | 21 | .panel-heading { 22 | background-color: var(--theme-background-color); 23 | color: var(--theme-font-color); 24 | font-size: small; 25 | font-weight: bold; 26 | padding: 2px; 27 | margin: 10px 0px; 28 | } 29 | 30 | .ol-rotate { 31 | display: none 32 | } 33 | 34 | .ol-zoom button { 35 | background-color: var(--theme-button-background); 36 | color: var(--theme-button-color); 37 | padding: 5px 7px; 38 | } 39 | 40 | .ol-zoom { 41 | position: absolute; 42 | top: 3px; 43 | left: 3px; 44 | display: flex; 45 | flex-direction: column; 46 | } 47 | 48 | .ol-scale-line { 49 | background: rgba(0,60,136,0.6); 50 | border-radius: 4px; 51 | bottom: 8px; 52 | left: 8px; 53 | padding: 2px; 54 | position: absolute; 55 | } 56 | 57 | @media (max-width: 900px) { 58 | .ol-scale-line { 59 | bottom: 38px 60 | } 61 | } 62 | 63 | .ol-scale-line-inner { 64 | border: 1px solid #eee; 65 | border-top: none; 66 | color: #eee; 67 | font-size: 10px; 68 | text-align: center; 69 | margin: 1px; 70 | will-change: contents, width; 71 | transition: all 0.25s; 72 | } 73 | 74 | .ol-scale-bar { 75 | position: absolute; 76 | bottom: 8px; 77 | left: 8px; 78 | } 79 | 80 | .ol-scale-step-marker { 81 | width: 1px; 82 | height: 15px; 83 | background-color: #000000; 84 | float: right; 85 | z-Index: 10; 86 | } 87 | 88 | .ol-scale-step-text { 89 | position: absolute; 90 | bottom: -5px; 91 | font-size: 12px; 92 | z-Index: 11; 93 | color: #000000; 94 | text-shadow: -2px 0 #FFFFFF, 0 2px #FFFFFF, 2px 0 #FFFFFF, 0 -2px #FFFFFF; 95 | } 96 | 97 | .ol-scale-text { 98 | position: absolute; 99 | font-size: 14px; 100 | text-align: center; 101 | bottom: 25px; 102 | color: #000000; 103 | text-shadow: -2px 0 #FFFFFF, 0 2px #FFFFFF, 2px 0 #FFFFFF, 0 -2px #FFFFFF; 104 | } 105 | 106 | .ol-scale-singlebar { 107 | position: relative; 108 | height: 10px; 109 | z-Index: 9; 110 | box-sizing: border-box; 111 | border: 1px solid black; 112 | } 113 | 114 | -------------------------------------------------------------------------------- /src/i18n/qqq/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Message documentation (Message documentation) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Dittaeva 5 | # Author: Liuxinyu970226 6 | # Author: Lonvia 7 | # Author: McDutchie 8 | # Author: Metalhead64 9 | # Author: Nike 10 | # Author: Robby 11 | # Author: Shirayuki 12 | # Author: Siebrand 13 | # Author: Verdy p 14 | # Author: 아라 15 | --- 16 | attribution: 17 | data: '{{doc-markdown}}' 18 | elevation_title: '{{doc-markdown}}' 19 | details: 20 | note: '{{Identical|Note}}' 21 | operator: '{{Identical|Operator}}' 22 | subroutes_title: '{{Identical|Section}}' 23 | tags: 24 | value: '{{identical|Value}}' 25 | website: '{{Identical|Website}}' 26 | wikipedia: |- 27 | {{Optional}} 28 | {{Identical|Wikipedia}} 29 | download: 30 | direction: 31 | title: Followed by options {{msg-osm|Wmt-details.download.direction.forward}}, 32 | {{msg-osm|Wmt-details.download.direction.backward}} and {{msg-osm|Wmt-details.download.direction.both}}. 33 | error: 34 | panel_title: '{{Identical|Error}}' 35 | headline: 36 | last_update: '{{Identical|Last update}}' 37 | network: 38 | downhill: |- 39 | {{Identical|Downhill}} 40 | 41 | The string is meant as a short form of 'Downhill skiing'. 42 | osmc_symbol: 43 | back: '{{Identical|Back}}' 44 | background: |- 45 | The leading whitespaces the segmentation in lines can be safely ignored as this is plain HTML and not wiki text. Feel free to reorder elements as this will generate a single paragraph of text embedded in <p>...</p>. 46 | 47 | The HTML template on which this is used is at: 48 | 49 | https://github.com/waymarkedtrails/waymarked-trails-site/blob/master/frontend/templates/osmc_symbol.html#L32 50 | background_heading: '{{Identical|Background}}' 51 | examples: '{{Identical|Example}}' 52 | foreground: |- 53 | Ignore the leading whitespace and the division into arbitrary lines: this is not wikicode to be presented indented as is, but only plain HTML, that will be part of the same paragraph (between <p>...</p> HTML tags). 54 | Feel free to sub-segment and reorder the sentence correctly for the target language. 55 | 56 | The HTML template where it is used is actually located at: 57 | 58 | https://github.com/waymarkedtrails/waymarked-trails-site/blob/master/frontend/templates/osmc_symbol.html 59 | routelist: 60 | close: '{{Identical|Close}}' 61 | search: 62 | title: '{{Identical|Search}}' 63 | settings: 64 | language: '{{Identical|Language}}' 65 | route_layer: One of the layers that can be adjusted in the layer chooser. 66 | ... 67 | -------------------------------------------------------------------------------- /src/i18n/qqq/helppages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Message documentation (Message documentation) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Liuxinyu970226 5 | # Author: McDutchie 6 | # Author: Shirayuki 7 | # Author: Siebrand 8 | # Author: Verdy p 9 | --- 10 | about: 11 | osm: '{{doc-markdown}}' 12 | rendering: 13 | hikingroutes: |- 14 | {{doc-markdown}} 15 | {{doc-important|Don't translate the tags.}} 16 | cyclingroutes: |- 17 | {{doc-markdown}} 18 | {{doc-important|Don't translate the tags.}} 19 | mtbroutes: |- 20 | {{doc-markdown}} 21 | {{doc-important|Don't translate the tags.}} 22 | skatingroutes: |- 23 | {{doc-markdown}} 24 | {{doc-important|Don't translate the tags.}} 25 | classification: '{{doc-important|Don''t translate the tag "network".}}' 26 | hikinglabels: '{{doc-markdown}}' 27 | labels: '{{doc-important|Do not translate the tags "ref" and "name".}}' 28 | hierarchy: '{{doc-markdown}}' 29 | guideposts: |- 30 | {{doc-markdown}} 31 | {{doc-important|Don't translate the tags.}} 32 | hierarchies: 33 | text: |- 34 | {{doc-markdown}} 35 | This uses the "Markdown" syntax, not MediaWiki. 36 | {{doc-important|Do not translate the name of tags like "network".}} 37 | osmc: 38 | title: '{{doc-important|Do not translate the name of tags like "osmc:symbol".}}' 39 | text: |- 40 | {{doc-markdown}} 41 | {{doc-important|Do not translate the name of tags like "osmc:symbol".}} 42 | hikinglocal: 43 | swiss: |- 44 | {{doc-markdown}} 45 | {{doc-important|Do not translate the name of tags like "network".}} 46 | uk: |- 47 | {{doc-markdown}} 48 | {{doc-important|Do not translate the name of tags like "network".}} 49 | czech: |- 50 | {{doc-markdown}} 51 | {{doc-important|Do not translate the name of tags like "network".}} 52 | slovakia: |- 53 | {{doc-markdown}} 54 | {{doc-important|Do not translate the name of tags like "network".}} 55 | hungary: |- 56 | {{doc-markdown}} 57 | {{doc-important|Do not translate the name of tags like "network".}} 58 | germany: |- 59 | {{doc-important|Do not translate the name of tags like "network".}} 60 | Written in markdown syntax. 61 | ukcycle: '{{doc-important|Do not translate the name of tags like "operator=...".}}' 62 | elevationprofiles: 63 | general: '{{doc-markdown}}' 64 | technical: 65 | title: '{{Identical|Technical details}}' 66 | general: '{{doc-markdown}}' 67 | translation: '{{doc-markdown}}' 68 | legal: 69 | copyright: '{{doc-markdown}}' 70 | acknowledgements: 71 | text: '{{doc-markdown}}' 72 | contact: 73 | title: '{{Identical|Contact}}' 74 | text: '{{doc-markdown}}' 75 | ... 76 | -------------------------------------------------------------------------------- /src/PanelSettings.svelte: -------------------------------------------------------------------------------- 1 | 31 | 32 | 37 | 38 | 39 | {#snippet title()}{$_('settings.title')}{/snippet} 40 | {#snippet content()} 41 |

{$_('settings.language')}

42 | 43 | 44 | 45 | {#each languages as lang} 46 | 47 | {/each} 48 | 49 | 50 |

{$_('settings.base_map')}

51 | 52 | 53 | {#each BASEMAPS as cfg, idx} 54 | 55 | {/each} 56 | 57 | 58 |

{$_('settings.transparency')}

59 | 60 | 61 | 62 | 63 | 64 |
65 | {/snippet} 66 |
67 | -------------------------------------------------------------------------------- /src/i18n/help.js: -------------------------------------------------------------------------------- 1 | const langs = { 2 | 'gl': () => import ('./gl/helppages.yaml'), 3 | 'he': () => import ('./he/helppages.yaml'), 4 | 'fi': () => import ('./fi/helppages.yaml'), 5 | 'pt': () => import ('./pt/helppages.yaml'), 6 | 'hu': () => import ('./hu/helppages.yaml'), 7 | 'mr': () => import ('./mr/helppages.yaml'), 8 | 'ms': () => import ('./ms/helppages.yaml'), 9 | 'br': () => import ('./br/helppages.yaml'), 10 | 'be-tarask': () => import ('./be-tarask/helppages.yaml'), 11 | 'lt': () => import ('./lt/helppages.yaml'), 12 | 'sv': () => import ('./sv/helppages.yaml'), 13 | 'eu': () => import ('./eu/helppages.yaml'), 14 | 'ro': () => import ('./ro/helppages.yaml'), 15 | 'tl': () => import ('./tl/helppages.yaml'), 16 | 'nb': () => import ('./nb/helppages.yaml'), 17 | 'eo': () => import ('./eo/helppages.yaml'), 18 | 'ru': () => import ('./ru/helppages.yaml'), 19 | 'mk': () => import ('./mk/helppages.yaml'), 20 | 'ast': () => import ('./ast/helppages.yaml'), 21 | 'fo': () => import ('./fo/helppages.yaml'), 22 | 'scn': () => import ('./scn/helppages.yaml'), 23 | 'tr': () => import ('./tr/helppages.yaml'), 24 | 'cs': () => import ('./cs/helppages.yaml'), 25 | 'nn': () => import ('./nn/helppages.yaml'), 26 | 'ja': () => import ('./ja/helppages.yaml'), 27 | 'it': () => import ('./it/helppages.yaml'), 28 | 'is': () => import ('./is/helppages.yaml'), 29 | 'de': () => import ('./de/helppages.yaml'), 30 | 'fr': () => import ('./fr/helppages.yaml'), 31 | 'da': () => import ('./da/helppages.yaml'), 32 | 'uk': () => import ('./uk/helppages.yaml'), 33 | 'ko': () => import ('./ko/helppages.yaml'), 34 | 'diq': () => import ('./diq/helppages.yaml'), 35 | 'en-gb': () => import ('./en-gb/helppages.yaml'), 36 | 'ar': () => import ('./ar/helppages.yaml'), 37 | 'oc': () => import ('./oc/helppages.yaml'), 38 | 'sl': () => import ('./sl/helppages.yaml'), 39 | 'sk': () => import ('./sk/helppages.yaml'), 40 | 'pt-br': () => import ('./pt-br/helppages.yaml'), 41 | 'vi': () => import ('./vi/helppages.yaml'), 42 | 'ia': () => import ('./ia/helppages.yaml'), 43 | 'nl': () => import ('./nl/helppages.yaml'), 44 | 'es': () => import ('./es/helppages.yaml'), 45 | 'az': () => import ('./az/helppages.yaml'), 46 | 'pl': () => import ('./pl/helppages.yaml'), 47 | 'fy': () => import ('./fy/helppages.yaml'), 48 | 'zh-hant': () => import ('./zh-hant/helppages.yaml'), 49 | 'ca': () => import ('./ca/helppages.yaml'), 50 | 'zh-hans': () => import ('./zh-hans/helppages.yaml'), 51 | 'ksh': () => import ('./ksh/helppages.yaml'), 52 | 'en': () => import ('./qot/helppages.yaml') }; 53 | export { langs as default }; 54 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Waymarked Trails - Website 2 | ========================== 3 | 4 | [Waymarked Trails](https://waymarkedtrails.org) is a website that shows 5 | recreational routes from [OpenStreetMap](https://openstreetmap.org) and 6 | lets you inspect the routes and selected details. 7 | 8 | This repository contains the website frontend. To run the site you also 9 | need the [backend](https://github.com/waymarkedtrails/waymarkedtrails-backend/) 10 | and the [API](https://github.com/waymarkedtrails/waymarkedtrails-api/). 11 | 12 | Installation 13 | ============ 14 | 15 | The code is written in Javascript using [Svelte](https://svelte.dev/) 16 | using [rollup 3](https://rollupjs.org) and [yarn2](https://yarnpkg.com/) 17 | for package management. Note that Rollup3 requires Node 14.18+ to run. 18 | 19 | If you only yarn1 ('classic yarn') available, you can bootstrap yourself 20 | into using the latest yarn2 with: 21 | 22 | yarn set version berry 23 | yarn set version stable 24 | 25 | To build the site run: 26 | 27 | yarn install 28 | yarn build 29 | 30 | The website is then available in the `public/` directory. 31 | 32 | Development 33 | ============ 34 | 35 | If you want to run the site for development run: 36 | 37 | yarn dev 38 | 39 | The development version will look at `http://localhost:8080` for the API. You can also use environment variables 40 | to tell the site where it lives and where it can find the API and the tiles. For instance you can force it to run 41 | against the official API: 42 | 43 | WMT_API_URL='https://hiking.waymarkedtrails.org/api/v1' WMT_MEDIA_URL=https://static.waymarkedtrails.org/ yarn dev 44 | 45 | 46 | Configuration 47 | ============= 48 | 49 | You can set a number of environment variables to change the URLs that the 50 | website uses. In the following, `{theme}` is substituted at run time with 51 | `hiking`, `mtb`, or other equivalent values. 52 | 53 | * **WMT_BASE_URL** - Base DNS of the website (default: `waymarkedtrails.org`) 54 | * **WMT_API_URL** - URL prefix to contact the data APIs. (production default: `{theme}./api/v1`; development default: `http://localhost:8080/v1`) 55 | * **WMT_MEDIA_URL** - URL prefix to find media like images (production default: `static./`; development default: empty) 56 | * **WMT_SYMBOL_URL** - URL prefix to find the shield SVGs. (production default: `static./symbol`; development default: `/symbols/id`) 57 | * **WMT_TILE_URL** - URL prefix to find tiles (default: `tiles./{theme}`) 58 | * **WMT_THEME_URL** - URL where other themes (mtb, slopes, etc) are found (default: `{theme}.`) 59 | 60 | License 61 | ======= 62 | 63 | The source code is available under GPLv3. See COPYING for more information. 64 | -------------------------------------------------------------------------------- /src/i18n/cs/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Czech (čeština) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Aktron 5 | # Author: Chmee2 6 | # Author: Dittaeva 7 | # Author: Dvorapa 8 | # Author: Hugo 9 | # Author: Jezevec 10 | # Author: Juandev 11 | # Author: Kendo13 12 | # Author: Marek Pavlica 13 | # Author: Matěj Suchánek 14 | # Author: Mormegil 15 | # Author: Natalie 16 | --- 17 | attribution: 18 | data: Mapová data © [OpenStreetMap](https://www.openstreetmap.org) pod [ODbL](https://www.openstreetmap.org/copyright) 19 | elevation_title: údaje o nadmořské výšce podle [SRTM/ASTER](help/acknowledgements) 20 | destination_sign: 21 | more: Více informací 22 | title: Cíle 23 | details: 24 | altitude: Výška 25 | image: Obrázek 26 | mapped_len: Zobrazeno na mapě 27 | note: Poznámka 28 | official_len: Celková délka 29 | operator: Operátor 30 | subroutes_title: Sekce 31 | superroutes_title: Část z 32 | tags: 33 | title: OpenStreetMap značky 34 | type: 35 | relation: Relace 36 | website: Webová stránka 37 | zoom_to: Ukázat na mapě 38 | download: 39 | format: 40 | GPX: GPX 41 | KML: KML 42 | elevation: 43 | ascent: Kumulované stoupání 44 | descent: Kumulovaný sestup 45 | diagram: 46 | altitude: Nadmořská výška (m) 47 | distance: Vzdálenost (km) 48 | title: Výškový profil 49 | total: Celkové stoupání/klesání 50 | unavailable: Údaje o nadmořské výšce nenalezeny 51 | warn_unsorted: Cesta může být neorganizovaná nebo neúplná. Údaje o nadmořské výšce 52 | mohou být nepřesné. 53 | error: 54 | load_error: Chyba při připojování k serveru. 55 | panel_title: Chyba 56 | headline: 57 | last_update: Poslední aktualizace 58 | help: O mapě 59 | network: 60 | continental: Kontinentální kongres 61 | osmc_symbol: 62 | back: Zpět 63 | background: Pozadí funguje podobně. Skládá se z barvy a tvaru. Pozadí také může 64 | být pouze název barvy díky což má za následek plátno ve zvolené barvě. To je ukázané 65 | v první řadě. 66 | background_heading: Podklad 67 | examples: Příklady 68 | foreground_heading: Popředí 69 | preview_heading: Náhled 70 | routelist: 71 | close: Zavřít 72 | rollup: srolovat 73 | title: Trasy 74 | search: 75 | routes: Trasy 76 | title: Hledat 77 | settings: 78 | base_map: Základní mapa 79 | browser_language: Použít nastavení prohlížeče 80 | hillshading_layer: Stínování kopců 81 | language: Jazyk 82 | route_layer: Routovací vrstva 83 | title: Nastavení mapy 84 | transparency: Průhlednost mapy 85 | site_title: 86 | cycling: Cyklistika 87 | hiking: Pěší turistika 88 | mtb: Horská cyklistika 89 | riding: Jízda na koni 90 | skating: Inline bruslení 91 | slopes: Svahy pro zimní sporty 92 | ... 93 | -------------------------------------------------------------------------------- /src/i18n/en-gb/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for British English (British English) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Andibing 5 | # Author: Cblair91 6 | # Author: Dimitar 7 | # Author: Pierpao 8 | --- 9 | attribution: 10 | elevation_title: elevation data by [SRTM/ASTER](help/acknowledgements) 11 | destination_sign: 12 | more: More details 13 | title: Destinations 14 | details: 15 | altitude: Altitude 16 | image: Image 17 | mapped_len: Mapped length 18 | note: Note 19 | official_len: Official length 20 | operator: Operator 21 | subroutes_title: Sections 22 | superroutes_title: Part of 23 | tags: 24 | title: OpenStreetMap tags 25 | website: Website 26 | zoom_to: Show on map 27 | download: 28 | format: 29 | GPX: GPX 30 | KML: KML 31 | elevation: 32 | ascent: Accumulated ascent 33 | descent: Accumulated descent 34 | diagram: 35 | altitude: Altitude (m) 36 | distance: Distance (km) 37 | title: Elevation profile 38 | unavailable: No elevation data found. 39 | warn_unsorted: Route is potentially unordered or incomplete. Elevation information 40 | might be inaccurate. 41 | error: 42 | load_error: Error connecting to server. 43 | panel_title: Error 44 | headline: 45 | last_update: Last update 46 | help: About the map 47 | locate_me: Locate me 48 | network: 49 | downhill: downhill 50 | node: node network connections 51 | osmc_symbol: 52 | back: Back 53 | background: The background works in a similar way. It also consists of a colour 54 | and a shape. The background may also be only a colour name which results in a 55 | canvas of the chosen colour. This is shown in the first row. 56 | background_heading: Background 57 | examples: Examples 58 | foreground: The foreground symbol consists of a colour and a shape linked by an 59 | underscore. The table below shows all combinations recognised by this site. It 60 | also recognises foregrounds that consist only of the name of the shape. The symbols 61 | for those are shown in the last column. 62 | foreground_heading: Foreground 63 | preview: Type an osmc:symbol value into the input field below to see how it will 64 | be rendered on the map. 65 | preview_heading: Preview 66 | routelist: 67 | close: Close 68 | rollup: Roll up 69 | title: Routes 70 | search: 71 | routes: Routes 72 | title: Search 73 | settings: 74 | base_map: Base map 75 | browser_language: Use browser settings 76 | hillshading_layer: Hill shading 77 | language: Language 78 | route_layer: Route layer 79 | title: Map settings 80 | transparency: Map transparency 81 | site_title: 82 | cycling: Cycling 83 | hiking: Hiking 84 | mtb: MTB 85 | riding: Horse Riding 86 | skating: Inline Skating 87 | slopes: Winter Sport Slopes 88 | ... 89 | -------------------------------------------------------------------------------- /src/i18n/pl/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Polish (polski) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: BeginaFelicysym 5 | # Author: Chrumps 6 | # Author: Frozengeist 7 | # Author: Kastanoto 8 | # Author: Rezonansowy 9 | # Author: Royas 10 | # Author: Teiron 11 | # Author: Ty221 12 | # Author: Woytecr 13 | --- 14 | attribution: 15 | data: Dane mapy © [OpenStreetMap](https://www.openstreetmap.org) na licencji [ODbL](https://www.openstreetmap.org/copyright) 16 | elevation_title: dane wysokościowe [SRTM/ASTER](help/acknowledgements) 17 | destination_sign: 18 | more: Więcej szczegółów 19 | details: 20 | altitude: Wysokość 21 | image: Obraz 22 | mapped_len: Długość na mapie 23 | note: Uwaga 24 | official_len: Długość oficjalna 25 | operator: Operator 26 | route_symbol: Symbol trasy 27 | subroutes_title: Sekcje 28 | superroutes_title: Jest częścią 29 | symbol: Symbol 30 | tags: 31 | title: Znaczniki OpenStreetMap 32 | website: Strona internetowa 33 | download: 34 | format: 35 | GPX: GPX 36 | KML: KML 37 | elevation: 38 | ascent: Skumulowane wznoszenia 39 | descent: Zgromadzone schodzenia 40 | diagram: 41 | altitude: Wysokość (m) 42 | distance: Odległość (km) 43 | title: Profil terenu 44 | warn_unsorted: Szlak może być nieuporządkowany lub niekompletny. Dane wysokościowe 45 | mogą być nieprecyzyjne. 46 | error: 47 | load_error: Błąd połączenia z serwerem. 48 | panel_title: Błąd 49 | headline: 50 | last_update: Ostatnia aktualizacja 51 | help: O mapie 52 | locate_me: Moja lokalizacja 53 | network: 54 | downhill: downhill 55 | osmc_symbol: 56 | back: Wstecz 57 | background: Tło działa na podobnej zasadzie - także składa się z koloru i kształtu. 58 | Tłem także może być tylko nazwa koloru, co da tło z wybranym kolorem. Jest to 59 | pokazane w pierwszym rzędzie. 60 | background_heading: Tło 61 | examples: Przykłady 62 | foreground: Symbol pierwszego planu składa się z koloru i kształtu oddzielonego 63 | znakiem podkreślenia. Następująca tablica wyświetla wszystkie kombinacje rozpoznawane 64 | przez tą stronę. Obsługiwane są także symbole składające się tylko z nazwy kształtu 65 | - ich symbole są wyświetlone w ostatniej kolumnie. 66 | foreground_heading: Pierwszy plan 67 | routelist: 68 | loading: Ładowanie... 69 | close: Zamknij 70 | rollup: Zwiń 71 | title: Trasy 72 | search: 73 | places: Miejsca 74 | routes: Trasy 75 | title: Szukaj 76 | settings: 77 | base_map: Mapa podstawowa 78 | browser_language: Użyj ustawień przeglądarki 79 | hillshading_layer: Cieniowanie zboczy 80 | language: Język 81 | route_layer: Warstwa trasy 82 | title: Ustawienia mapy 83 | transparency: Przezroczystość warstw 84 | site_title: 85 | cycling: Kolarstwo 86 | hiking: Turystyka piesza 87 | mtb: Kolarstwo górskie 88 | riding: Jazda konna 89 | skating: Jazda na rolkach 90 | slopes: Stoki do uprawiania sportów zimowych 91 | ... 92 | -------------------------------------------------------------------------------- /src/i18n/ast/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Asturian (asturianu) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Shirayuki 5 | # Author: Xuacu 6 | --- 7 | attribution: 8 | data: Datos del mapa © [OpenStreetMap](https://www.openstreetmap.org) baxo llicencia 9 | [ODbL](https://www.openstreetmap.org/copyright) 10 | elevation_title: datos d'altures de [SRTM/ASTER](help/acknowledgements) 11 | destination_sign: 12 | more: Más detalles 13 | title: Destinos 14 | details: 15 | altitude: Altitú 16 | image: Imaxe 17 | mapped_len: Amosada nel mapa 18 | note: Nota 19 | official_len: Llonxitú oficial 20 | operator: Operador 21 | subroutes_title: Seiciones 22 | superroutes_title: Parte de 23 | tags: 24 | title: Etiquetes d'OpenStreetMap 25 | website: Sitiu web 26 | wikipedia: Wikipedia 27 | zoom_to: Ver nel mapa 28 | download: 29 | format: 30 | GPX: GPX 31 | KML: KML 32 | elevation: 33 | ascent: Ascensu acumuláu 34 | descent: Descensu acumuláu 35 | diagram: 36 | altitude: Altitú (m) 37 | distance: Distancia (km) 38 | title: Perfil d'altitú 39 | unavailable: Nun s'atoparon datos d'elevación 40 | warn_unsorted: La ruta posiblemente ta desordenada o incompleta. La información 41 | d'altitú podría nun ser exauta. 42 | error: 43 | load_error: Error de conexón col sirvidor. 44 | panel_title: Error 45 | headline: 46 | last_update: Caberu anovamientu 47 | help: Tocante al mapa 48 | locate_me: Llocalizame 49 | network: 50 | downhill: descensu 51 | node: conexones de rede de nodios 52 | osmc_symbol: 53 | back: Anterior 54 | background: El fondu funciona de manera asemeyada. Tamién ta formáu por un color 55 | y una forma. El fondu tamién puede ser solo un nome de color que produz un llenzu 56 | del color escoyíu. Eso apaez na primera fila. 57 | background_heading: Fondu 58 | examples: Exemplos 59 | foreground: El símbolu del frente ta formáu por un color y una forma xuníos con 60 | un guión baxu. La tabla de más abaxo amuesa toles combinaciones que reconoz esti 61 | sitiu. Tamién reconoz frentes formaos solo pol nome de la forma. Los símbolos 62 | pa estos amuésense na última columna. 63 | foreground_heading: Frente 64 | preview: |- 65 | Escribi un valor osmc:symbol nel campu de más abaxo 66 | pa ver cómo va renderizase nel mapa. 67 | preview_heading: Vista previa 68 | routelist: 69 | close: Zarrar 70 | rollup: Contraer 71 | title: Rutes 72 | search: 73 | routes: Rutes 74 | title: Guetar 75 | settings: 76 | base_map: Mapa base 77 | browser_language: Usar la configuración del navegador 78 | hillshading_layer: Solombra de relieve 79 | language: Llingua 80 | route_layer: Capa de ruta 81 | title: Preferencies del mapa 82 | transparency: Tresparencia del mapa 83 | site_title: 84 | cycling: Ciclismu 85 | hiking: Escursionismu 86 | mtb: BTT 87 | riding: Equitación 88 | skating: Patinaxe en llinia 89 | slopes: Pendientes de deportes d'iviernu 90 | ... 91 | -------------------------------------------------------------------------------- /src/i18n/eo/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Esperanto (Esperanto) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Kastanoto 5 | # Author: Objectivesea 6 | # Author: Robin van der Vliet 7 | # Author: Yekrats 8 | --- 9 | attribution: 10 | data: Map-datumoj © [OpenStreetMap](https://www.openstreetmap.org) laŭ la permesilo 11 | [ODbL](https://www.openstreetmap.org/copyright) 12 | elevation_title: altitudaj datumoj de [SRTM/ASTER](help/acknowledgements) 13 | destination_sign: 14 | more: Pliaj detaloj 15 | title: Celoj 16 | details: 17 | altitude: Altitudo 18 | image: Bildo 19 | mapped_len: Distanco sur mapo 20 | note: Rimarko 21 | official_len: Oficiala distanco 22 | operator: Administranto 23 | subroutes_title: Sekcioj 24 | superroutes_title: Parto de 25 | symbol: Simbolo 26 | tags: 27 | key: ŝlosilo 28 | title: OpenStreetMap-etikedoj 29 | value: valoro 30 | type: 31 | node: Nodo 32 | relation: Rilato 33 | website: Retejo 34 | wikipedia: Vikipedio 35 | zoom_to: Montri sur mapo 36 | download: 37 | format: 38 | GPX: GPX 39 | KML: KML 40 | elevation: 41 | ascent: Sumo de alsuproj 42 | descent: Sumo de desuproj 43 | diagram: 44 | altitude: Altitudo (m) 45 | distance: Distanco (km) 46 | title: Terena profilo 47 | unavailable: Ne trovis datumojn de altitudo. 48 | warn_unsorted: Kurso povas esti malordigita kaj nekompleta. Informoj pri altitudo 49 | povas esti malprecizaj. 50 | error: 51 | load_error: Eraro dum konektado al servilo. 52 | panel_title: Eraro 53 | headline: 54 | last_update: Lasta ĝisdatigo 55 | help: Pri la mapo 56 | locate_me: Mia pozicio 57 | network: 58 | downhill: skivojoj alpaj (malsupreniraj) 59 | node: konektoj de noda reto 60 | osmc_symbol: 61 | back: Reveni 62 | background: La fono funkcias simile. Ĝi ankaŭ konsistas el koloro kaj formo. La 63 | fono povas esti nur nomo de koloro, tio iĝas kanvaso en elektita koloro. Tio ĉi 64 | estas montrata en la unua vico. 65 | background_heading: Fono 66 | examples: Ekzemploj 67 | foreground: La simbolo de malfono konsistas el koloro kaj fono kunigitaj per substreko. 68 | Ankaŭ estas rekonataj malfonoj konsistantaj nur el nomo kaj formo. Simboloj por 69 | ili estas montrataj en la lasta kolumno. 70 | foreground_heading: Malfono 71 | preview: Entajpu valoron de “osmc:symbol” suben por vidigi kiel ĝi estos bildigita 72 | sur la mapo. 73 | preview_heading: Antaŭvido 74 | routelist: 75 | close: Fermi 76 | rollup: Suprenvolvi 77 | title: Kursoj 78 | search: 79 | places: Lokoj 80 | routes: Kursoj 81 | title: Serĉi 82 | settings: 83 | base_map: Fona mapo 84 | browser_language: Uzi agordojn de foliumilo 85 | hillshading_layer: Nivelombrumo 86 | language: Lingvo 87 | route_layer: Kursa tavolo 88 | title: Mapaj agordoj 89 | transparency: Mapa diafaneco 90 | site_title: 91 | cycling: Biciklado 92 | hiking: Marŝado 93 | mtb: Montbiciklado 94 | riding: Ĉevala rajdado 95 | skating: Rulglitado 96 | slopes: Vintrosportejoj 97 | ... 98 | -------------------------------------------------------------------------------- /src/i18n/skr-arab/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Saraiki (Arabic script) (سرائیکی) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Saraiki 5 | --- 6 | attribution: 7 | data: |- 8 | [ODbL](https://www.openstreetmap.org/copyright 9 | ) دے تحت نقشہ ڈیٹا © [اوپن سٹریٹ میپ](https://www.openstreetmap.org 10 | ) 11 | destination_sign: 12 | more: ٻیاں تفصیلاں 13 | title: منزل 14 | details: 15 | altitude: بلندی 16 | image: تصویر 17 | mapped_len: نقشے دی لمبائی 18 | note: نوٹ 19 | official_len: سرکاری لمبائی 20 | operator: عامل 21 | route_symbol: رستے علامت 22 | subroutes_title: حصے 23 | superroutes_title: دا حصہ 24 | symbol: علامت 25 | tags: 26 | key: کنجی 27 | title: اوپن سٹریٹ میپ ٹیگ 28 | value: قدر 29 | type: 30 | guidepost: رہنمائی آلا کھمبھا 31 | node: نوڈ 32 | relation: رشتہ 33 | way: راہ 34 | wayset: وے سیٹ 35 | website: ویب سائٹ 36 | wikipedia: وکیپیڈیا 37 | zoom_to: نقشے تے ݙکھاؤ 38 | analyze: 39 | title: تعلق دا تجزیہ کرو 40 | open_end: رستے دا کھلا سرا۔ 41 | download: 42 | format: 43 | GPX: جی پی ایکس 44 | KML: KML 45 | elevation: 46 | ascent: مجموعی چڑھائی 47 | descent: مجموعی لہاڑ 48 | diagram: 49 | altitude: اُچائی (میٹر) 50 | distance: فاصلہ (کلومیٹر) 51 | title: بلندی دا پروفائل 52 | unavailable: کوئی بلندی ڈیٹا کائنی لبھیا۔ 53 | error: 54 | load_error: سرور کنکٹ کرݨ وچ خرابی۔ 55 | missing_id: پیرامیٹر 'id' غائب ہے۔ 56 | missing_query: پیرامیٹر 'پچھݨ' غائب ہے۔ 57 | panel_title: نقص 58 | object_not_found: شئے کائنی لبھی۔ 59 | api_unavailable: اے پی آئی دستیاب کائنی۔ 60 | headline: 61 | last_update: چھیکڑی تبدیلی 62 | help: نقشے بارے 63 | locate_me: میکوں لبھو 64 | network: 65 | continental: براعظمی رستے 66 | downhill: ہیٹھاں دوں 67 | national: قومی رستے 68 | node: نوڈ نیٹ ورک کنکشن 69 | nordic: نورڈک سکینگ 70 | other: ٻئے رستے 71 | regional: علاقائی رستے 72 | skitour: سکی ٹورز 73 | sled: سلیڈ دا راہ 74 | sleigh: سلیہ رستہ 75 | winter_hike: سیالی پیدل سفر 76 | osmc_symbol: 77 | back: پچھوں 78 | background_heading: پس منظر 79 | examples: مثالاں 80 | foreground_heading: پیش منظر 81 | intro_header: اُتلی نظر 82 | preview_heading: پیشگی ݙکھالا 83 | symbol_reference_heading: معاون علامتاں دی مکمل تندیر 84 | routelist: 85 | loading: لوڈ تھیندا پئے۔۔۔ 86 | close: بند کرو 87 | more: ٻئے رستے ݙیکھݨ کیتے وݙا کرو۔ 88 | rollup: رول اپ کرو 89 | title: رستے 90 | search: 91 | places: جاہیں 92 | routes: رستے 93 | title: ڳولو 94 | settings: 95 | base_map: بیس نقشہ 96 | browser_language: براوزر ترتیباں ورتو 97 | hillshading_layer: پہاڑی شیڈنگ 98 | language: زبان 99 | route_layer: رستے دی پرت 100 | title: نقشے دیاں ترتیباں 101 | transparency: نقشہ شفافیت 102 | site_title: 103 | cycling: سائکلنگ 104 | hiking: پیدل سفر 105 | mtb: ایم ٹی بی 106 | osmc_symbol: ' osmc:علامت ٹیگ' 107 | riding: گھڑ سواری 108 | skating: ان لائن سکیٹنگ 109 | slopes: سیالے دی کھیݙاں دے ڈھلوان 110 | ... 111 | -------------------------------------------------------------------------------- /src/i18n/ca/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Catalan (català) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: Alvaro Vidal-Abarca 5 | # Author: Avm99963 6 | # Author: Jlrb+ 7 | # Author: Jmontane 8 | # Author: Mguix 9 | # Author: Pitort 10 | # Author: Shirayuki 11 | --- 12 | attribution: 13 | data: Dades cartogràfiques © [OpenStreetMap](https://www.openstreetmap.org) sota 14 | llicència [ODbL](https://www.openstreetmap.org/copyright) 15 | elevation_title: dades altimètriques de [SRTM/ASTER](help/acknowledgements) 16 | destination_sign: 17 | more: Més detalls 18 | title: Destinacions 19 | details: 20 | altitude: Altitud 21 | image: Imatge 22 | mapped_len: Longitud cartografiada 23 | note: Nota 24 | official_len: Longitud oficial 25 | operator: Operador 26 | subroutes_title: Seccions 27 | superroutes_title: Part de 28 | tags: 29 | title: Etiquetes d'OpenStreetMap 30 | website: Lloc web 31 | zoom_to: Mostrar en el mapa 32 | download: 33 | format: 34 | GPX: GPX 35 | KML: KML 36 | elevation: 37 | ascent: Ascensió acumulada 38 | descent: Descens acumulat 39 | diagram: 40 | altitude: Altura (m) 41 | distance: Distància (km) 42 | title: Perfil d'elevació 43 | unavailable: No s'han trobat dades d'elevació 44 | warn_unsorted: La ruta és potencialment desordenada o incompleta. La informació 45 | sobre la cota pot ser incorrecta. 46 | error: 47 | load_error: S'ha produït un error en connectar-se al servidor. 48 | panel_title: Error 49 | headline: 50 | last_update: Darrera actualització 51 | help: Sobre el mapa 52 | locate_me: Localitza’m 53 | network: 54 | downhill: descens 55 | node: Connexions de xarxa de nodes 56 | osmc_symbol: 57 | back: Enrere 58 | background: El fons funciona d’una manera similar. També consisteix en un color 59 | i una forma. El fons també pot ser només un nom de color que tingui com a resultat 60 | un llenç del color escollit. Això es mostra a la primera fila. 61 | background_heading: Fons 62 | examples: Exemples 63 | foreground: El símbol del primer pla consisteix en un color i una forma units per 64 | un guió baix. La taula següent mostra totes les combinacions reconegudes per aquest 65 | lloc. També reconeix els primers plans que només consisteixen en el nom de la 66 | forma. Els símbols d’aquests es mostren a l’última columna. 67 | foreground_heading: Primer pla 68 | preview: Escriu un valor osmc:symbol al camp sota per veure com serà renderitzat 69 | al mapa. 70 | preview_heading: Vista prèvia 71 | routelist: 72 | close: Tancar 73 | rollup: Contreure 74 | title: Rutes 75 | search: 76 | routes: Rutes 77 | title: Cerca 78 | settings: 79 | base_map: Mapa base 80 | browser_language: Utilitzeu la configuració del navegador 81 | hillshading_layer: Relleu ombrejat 82 | language: Idioma 83 | route_layer: Capa de rutes 84 | title: Configuració del mapa 85 | transparency: Transparència del mapa 86 | site_title: 87 | cycling: Ciclisme 88 | hiking: Excursionisme 89 | mtb: BTT 90 | riding: Hípica 91 | skating: Patí en línia 92 | slopes: Pistes per Esports d'Hivern 93 | ... 94 | -------------------------------------------------------------------------------- /src/i18n/eu/messages.yaml: -------------------------------------------------------------------------------- 1 | # Messages for Basque (euskara) 2 | # Exported from translatewiki.net 3 | # Export driver: phpyaml 4 | # Author: An13sa 5 | # Author: EukeneFL 6 | # Author: Garaolaza 7 | # Author: Lonvia 8 | # Author: Sator 9 | # Author: Subi 10 | # Author: Theklan 11 | --- 12 | attribution: 13 | data: Mapako datuak © [OpenStreetMap](https://www.openstreetmap.org) [ODbL](https://www.openstreetmap.org/copyright) 14 | elevation_title: Goratze datuak [SRTM/ASTER](help/acknowledgements)(r)en esku 15 | destination_sign: 16 | more: Xehetasun gehiago 17 | title: Helburua 18 | details: 19 | altitude: Garaiera 20 | image: Irudia 21 | mapped_len: Egokitutako neurriak 22 | note: Oharra 23 | official_len: Neurri ofiziala 24 | operator: Eragilea 25 | subroutes_title: Atalak 26 | superroutes_title: (r)en zati bat 27 | tags: 28 | title: OpenStreetMap oharrak 29 | website: Webgunea 30 | zoom_to: Erakutsi mapan 31 | download: 32 | format: 33 | GPX: GPSa 34 | KML: KML 35 | elevation: 36 | ascent: Pilatutako igoera 37 | descent: Pilatutako jaitsiera 38 | diagram: 39 | altitude: Altitudea (m) 40 | distance: Distantzia (km) 41 | title: Goratze maila 42 | unavailable: Ez da garaiera daturik topatu 43 | warn_unsorted: Bide hau ez dago guztiz zehaztuta. Baliteke garaierari buruzko informazioa 44 | eguneratuta ez egotea. 45 | error: 46 | load_error: Serbidoreak huts egin du. 47 | panel_title: Errorea 48 | headline: 49 | last_update: Azken eguneratzea 50 | help: Mapari buruz 51 | locate_me: Non nago 52 | network: 53 | downhill: Aldapa behera 54 | node: nodo bidezko sareko konexioak 55 | osmc_symbol: 56 | back: Atzera 57 | background: Atzeko planoak antzera funtzionatzen du. Kolorea eta formaz osatuta 58 | dago ere. Baliteke atzeko planoa kolore bakar batean agertzea, lientzoan agertzen 59 | den aukeratutako kolorea, alegia. Hauxe bera lehenengo lerroan ikus daiteke. 60 | background_heading: Atzeko planoa 61 | examples: Adibideak 62 | foreground: Lehen planoaren sinboloak kolore eta forma bat osatzen dute, azpimarra 63 | batez loturik. Ondorengo taulak gunea aitortzen dituen konbinazio guztiak erakusten 64 | ditu. Horretaz gain, erliebearen izenaz, besterik ez, osaturik dauden lehen planoak 65 | aitortzen ditu. Horietako sinboloak azken zutabean agertzen dira. 66 | foreground_heading: Lehen planoan 67 | preview: osmc:symbol motako balioa idatzi mapan nola renderizatuko den ikusteko. 68 | preview_heading: Aurreikuspena 69 | routelist: 70 | close: Itxi 71 | rollup: Biribildu 72 | title: Ibilbideak 73 | search: 74 | routes: Ibilbideak 75 | title: Bilatu 76 | settings: 77 | base_map: Jatorrizko mapa 78 | browser_language: Nabigatzaile ezarpenak erabili 79 | hillshading_layer: Mendi erliebea 80 | language: Hizkuntza 81 | route_layer: Ibilbidearen azalera 82 | title: Maparen ezarpenak 83 | transparency: Maparen gardentasuna 84 | site_title: 85 | cycling: Txirrindularitza 86 | hiking: Oinezko ibilbideak 87 | mtb: Mendiko txirrindularitza 88 | riding: Zaldi-ibilbideak 89 | skating: Lerro-patinaketa 90 | slopes: Negurako kirol-aldapak 91 | ... 92 | -------------------------------------------------------------------------------- /src/ui/SidePanel.svelte: -------------------------------------------------------------------------------- 1 | 16 | 17 | 98 | 99 | 100 |
101 |

102 | 105 | {@render title?.()} 106 | 107 |

108 |
109 |
{@render content?.()}
110 |
111 | 112 |
113 | --------------------------------------------------------------------------------