-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
1039 lines (1039 loc) · 40.2 KB
/
Copy pathindex.html
File metadata and controls
1039 lines (1039 loc) · 40.2 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Alpine MTB Map · Downhill, Enduro and Freeride Spots Worldwide</title>
<meta
name="description"
content="An open map for gravity mountain biking: downhill bike parks, enduro trails and freeride spots worldwide."
/>
<meta name="robots" content="index, follow" />
<meta name="author" content="Alpine MTB Map contributors" />
<link rel="canonical" href="https://vemonet.github.io/alpine-mtb-map/" />
<link
rel="alternate"
type="application/vnd.google-earth.kml+xml"
href="https://github.com/vemonet/alpine-mtb-map/releases/latest/download/alpine-mtb-map.kml"
title="Alpine MTB Map KML"
/>
<link
rel="alternate"
type="application/gpx+xml"
href="https://github.com/vemonet/alpine-mtb-map/releases/latest/download/alpine-mtb-map.gpx"
title="Alpine MTB Map GPX"
/>
<meta property="og:type" content="website" />
<meta property="og:site_name" content="Alpine MTB Map" />
<meta
property="og:title"
content="Alpine MTB Map - Downhill, Enduro and Freeride Spots Worldwide"
/>
<meta
property="og:description"
content="An open map for gravity mountain biking: downhill bike parks, enduro trails and freeride spots worldwide."
/>
<meta property="og:url" content="https://vemonet.github.io/alpine-mtb-map/" />
<meta property="og:image" content="https://vemonet.github.io/alpine-mtb-map/icon-512.png" />
<meta property="og:image:alt" content="Alpine MTB Map logo" />
<meta name="twitter:card" content="summary" />
<meta
name="twitter:title"
content="Alpine MTB Map - Downhill, Enduro and Freeride Spots Worldwide"
/>
<meta
name="twitter:description"
content="An open map for gravity mountain biking: downhill bike parks, enduro trails and freeride spots worldwide."
/>
<meta name="twitter:image" content="https://vemonet.github.io/alpine-mtb-map/icon-512.png" />
<!-- The icon's own background, so the PWA chrome matches the mark.
scripts/make-icons.py prints this colour when it runs. -->
<meta name="theme-color" content="#073354" />
<link rel="apple-touch-icon" href="./apple-touch-icon.png" />
<link rel="icon" type="image/png" href="./icon.png" />
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebApplication",
"name": "Alpine MTB Map",
"url": "https://vemonet.github.io/alpine-mtb-map/",
"description": "An open map for gravity mountain biking: downhill bike parks, enduro trails and freeride spots worldwide.",
"applicationCategory": "TravelApplication",
"operatingSystem": "Any",
"isAccessibleForFree": true,
"license": "https://opendatacommons.org/licenses/odbl/1-0/",
"distribution": [
{
"@type": "DataDownload",
"encodingFormat": "application/vnd.google-earth.kml+xml",
"contentUrl": "https://github.com/vemonet/alpine-mtb-map/releases/latest/download/alpine-mtb-map.kml"
},
{
"@type": "DataDownload",
"encodingFormat": "application/gpx+xml",
"contentUrl": "https://github.com/vemonet/alpine-mtb-map/releases/latest/download/alpine-mtb-map.gpx"
},
{
"@type": "DataDownload",
"encodingFormat": "application/geo+json",
"contentUrl": "https://github.com/vemonet/alpine-mtb-map/releases/latest/download/alpine-mtb-map.geojson"
}
]
}
</script>
<script>
// Runs before the first paint, so a saved dark theme never flashes white.
// No saved choice means follow the OS.
document.documentElement.dataset.theme =
localStorage.getItem("theme") ??
(matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light");
</script>
</head>
<body>
<div id="app">
<aside id="sidebar">
<header>
<h1><img class="logo" src="./icon.png" alt="" width="24" height="24" />Alpine MTB Map</h1>
<p>
An open map for gravity mountain biking: downhill bike parks, enduro trails and freeride
spots worldwide.
</p>
<div class="header-actions">
<button
id="locate"
type="button"
title="Show my location"
aria-label="Show my location"
aria-pressed="false"
>
<svg
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<circle cx="8" cy="8" r="2.2" />
<path d="M8 1v2M8 13v2M1 8h2M13 8h2" />
<circle cx="8" cy="8" r="5" />
</svg>
</button>
<button
id="weather"
type="button"
title="Disable weather"
aria-label="Disable weather"
aria-pressed="true"
>
<svg
viewBox="0 0 18 16"
width="15"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M5.2 11.5h8a3 3 0 0 0 .3-6A4.6 4.6 0 0 0 4.8 6.8a2.4 2.4 0 0 0 .4 4.7Z" />
<path d="m6.5 13.2-.7 1.2m4-1.2-.7 1.2m4-1.2-.7 1.2" />
</svg>
</button>
<button id="theme" type="button" title="Switch theme" aria-label="Switch theme">
<svg
class="moon"
viewBox="0 0 16 16"
width="13"
height="13"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M13.5 9.6A6 6 0 0 1 6.4 2.5a6 6 0 1 0 7.1 7.1Z" />
</svg>
<svg
class="sun"
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<circle cx="8" cy="8" r="3" />
<path
d="M8 1v1.6M8 13.4V15M1 8h1.6M13.4 8H15M3 3l1.2 1.2M11.8 11.8 13 13M13 3l-1.2 1.2M4.2 11.8 3 13"
/>
</svg>
</button>
<button id="info" type="button" title="About this map" aria-label="About this map">
i
</button>
</div>
</header>
<nav id="filters">
<div class="filter-menus">
<details class="filter-menu" id="show-filter-menu">
<summary>
<svg
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.4"
>
<path d="M1.5 8s2.4-4 6.5-4 6.5 4 6.5 4-2.4 4-6.5 4S1.5 8 1.5 8Z" />
<circle cx="8" cy="8" r="2" />
</svg>
<span>Show</span>
<output id="show-filter-summary">All</output>
</summary>
<div class="filter-popover">
<div class="filter-actions">
<button id="restore-hidden" type="button" hidden>Restore hidden (0)</button>
<button type="button" data-filter-set="all">Show all</button>
<button type="button" data-filter-set="none">Hide all</button>
</div>
<fieldset>
<legend>Spot type</legend>
<label
><input class="filter" type="checkbox" data-category="bike-park" checked /><span
class="dot blue"
></span
>Bike park</label
>
<label
><input class="filter" type="checkbox" data-category="natural" checked /><span
class="dot green"
></span
>Natural spot</label
>
</fieldset>
<fieldset>
<legend>Access</legend>
<label
><input class="filter" type="checkbox" data-tag="no-lift" checked /><span
class="dot brown"
></span
>No lift</label
>
<label
><input class="filter" type="checkbox" data-tag="chairlift" checked />🚡 Chair
lift</label
>
<label
><input class="filter" type="checkbox" data-tag="gondola" checked />🚠
Gondola</label
>
<label
><input class="filter" type="checkbox" data-tag="train" checked />🚂
Train</label
>
<label
><input class="filter" type="checkbox" data-tag="shuttle" checked />🛻
Shuttle</label
>
<label
><input class="filter" type="checkbox" data-tag="t-bar" checked />⚓
T-bar</label
>
</fieldset>
<fieldset>
<legend>Riding style</legend>
<label
><input
class="filter"
type="checkbox"
data-tag="dh"
data-mode="any"
data-group="discipline"
checked
/>⬇️ Downhill</label
>
<label
><input
class="filter"
type="checkbox"
data-tag="enduro"
data-mode="any"
data-group="discipline"
checked
/>🔁 Enduro</label
>
<label
><input
class="filter"
type="checkbox"
data-tag="freeride"
data-mode="any"
data-group="discipline"
checked
/>🦅 Freeride</label
>
</fieldset>
<fieldset>
<legend>Difficulty</legend>
<label
><input
class="filter"
type="checkbox"
data-tag="beginner"
data-mode="any"
data-group="difficulty"
checked
/>🌱 Beginner-friendly</label
>
<label
><input
class="filter"
type="checkbox"
data-tag="expert"
data-mode="any"
data-group="difficulty"
checked
/>🔥 Hard / expert</label
>
</fieldset>
<fieldset>
<legend>Lines</legend>
<label
><input class="filter" type="checkbox" data-line-color="green" checked /><span
class="dot line-green"
></span
>Green</label
>
<label
><input class="filter" type="checkbox" data-line-color="blue" checked /><span
class="dot line-blue"
></span
>Blue</label
>
<label
><input class="filter" type="checkbox" data-line-color="red" checked /><span
class="dot line-red"
></span
>Red</label
>
<label
><input class="filter" type="checkbox" data-line-color="black" checked /><span
class="dot line-black"
></span
>Black</label
>
<label
><input class="filter" type="checkbox" data-line-color="orange" checked /><span
class="dot line-orange"
></span
>Orange</label
>
</fieldset>
</div>
</details>
<details class="filter-menu" id="only-filter-menu">
<summary>
<svg
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.4"
stroke-linejoin="round"
>
<path d="M2 3h12L9.5 8v4l-3 1V8L2 3Z" />
</svg>
<span>Filter</span>
<output id="only-filter-summary">Any</output>
</summary>
<div class="filter-popover">
<label class="range" for="price-day">
<span>💰 Day pass up to <output id="price-day-out">any</output></span>
<input id="price-day" type="range" min="0" max="75" step="5" value="75" />
</label>
<label class="range stacked">
<span>📏 Trace length <output id="trace-length-out">any</output></span>
<span class="dual-range" id="trace-length-range">
<input
id="trace-length-min"
type="range"
min="0"
max="16"
step="1"
value="0"
aria-label="Shortest trace length to show"
/>
<input
id="trace-length-max"
type="range"
min="0"
max="16"
step="1"
value="16"
aria-label="Longest trace length to show"
/>
</span>
</label>
<fieldset>
<!-- <legend>Optional requirements</legend> -->
<label
><input
class="filter"
type="checkbox"
data-tag="magic-pass"
data-mode="only"
/>🪪 Magic Pass</label
>
<label
><input class="filter" type="checkbox" data-tag="season" data-mode="only" />🎟️
Season pass available</label
>
<label
><input
class="filter"
type="checkbox"
data-tag="mass-start"
data-mode="only"
/>🏁 Mass start venue</label
>
<label
title="Spots and trails ridden by a map contributor and confirmed as good mountain biking."
><input
class="filter"
type="checkbox"
data-tag="tested-and-approved"
data-mode="only"
/>✅ Tested and approved</label
>
<label
title="Marked wet when at least 15 mm of precipitation is forecast for the selected day. Previous-day rain and precipitation probability are not considered."
><input
class="filter"
type="checkbox"
data-tag="rain-resilient"
data-mode="only"
/>☀️ Rain resilient</label
>
<label
title="Marked wet when the selected day has at least 1 mm of forecast precipitation or a 50% precipitation probability, or when at least 5 mm fell the previous day."
><input
class="filter"
type="checkbox"
data-tag="rain-sensitive"
data-mode="only"
/>🌧️ Rain sensitive</label
>
</fieldset>
</div>
</details>
</div>
<div class="date-filter">
<span>Open & weather on</span>
<span class="date-control">
<button id="open-date-button" type="button" aria-label="Choose open and weather date">
<output id="open-date-display"></output>
<svg
class="calendar-icon"
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.4"
stroke-linecap="round"
stroke-linejoin="round"
>
<rect x="2" y="3.5" width="12" height="10.5" rx="2" />
<path d="M5 2v3M11 2v3M2 7h12" />
</svg>
</button>
<input id="open-date" type="date" tabindex="-1" aria-hidden="true" />
</span>
</div>
</nav>
<div id="search">
<span class="search-field">
<span class="search-input-wrap">
<input
id="spot-search"
type="search"
placeholder="Search spots..."
aria-label="Search spots by title or description"
autocomplete="off"
/>
<button
id="clear-search"
type="button"
aria-label="Clear search"
title="Clear search"
hidden
>
<svg viewBox="0 0 16 16" aria-hidden="true">
<path d="m4 4 8 8M12 4l-8 8" />
</svg>
</button>
</span>
<span class="search-mode" role="group" aria-label="Search for">
<button
type="button"
data-search-mode="spots"
aria-pressed="true"
title="Search spots"
aria-label="Search spots"
>
<svg viewBox="0 0 16 16" aria-hidden="true">
<path d="M8 14s4-4.2 4-8a4 4 0 1 0-8 0c0 3.8 4 8 4 8Z" />
<circle cx="8" cy="6" r="1.5" />
</svg>
</button>
<button
type="button"
data-search-mode="traces"
aria-pressed="false"
title="Search traces"
aria-label="Search traces"
>
<svg viewBox="0 0 16 16" aria-hidden="true">
<path d="M2 12c2.4 0 2.3-4.5 4.7-4.5S9 11 11.3 11 13.5 5 14 3" />
<circle cx="2" cy="12" r="1" />
<circle cx="14" cy="3" r="1" />
</svg>
</button>
</span>
</span>
</div>
<div id="spot-count" aria-live="polite"></div>
<ul id="spots"></ul>
<footer>
<p class="dl-label">
Download for your GPS app, such as <a href="https://www.comaps.app/">CoMaps</a>.
Anything you have hidden is left out, so you can build your own map.
</p>
<div id="downloads" class="split-download">
<button
type="button"
class="dl dl-primary"
data-download-map="kml"
title="Recommended for apps like CoMaps, or OrganicMaps."
>
<svg
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.6"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M8 1.8v7.4m0 0 3-3m-3 3-3-3" />
<path d="M2.2 11.6v1.3a1.3 1.3 0 0 0 1.3 1.3h9a1.3 1.3 0 0 0 1.3-1.3v-1.3" />
</svg>
<span class="dl-text">Download KML</span>
</button>
<details class="download-menu">
<summary title="Other download formats" aria-label="Other download formats">
<svg
viewBox="0 0 12 12"
width="12"
height="12"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="m3 4.5 3 3 3-3" />
</svg>
</summary>
<div class="download-options">
<button type="button" class="dl" data-download-map="kmz">
<span class="dl-text">Download KMZ</span>
</button>
<button type="button" class="dl" data-download-map="gpx">
<span class="dl-text">Download GPX</span>
</button>
<button type="button" class="dl" data-download-map="geojson">
<span class="dl-text">Download GeoJSON</span>
</button>
</div>
</details>
</div>
</footer>
</aside>
<button
id="toggle-sidebar"
type="button"
aria-expanded="true"
aria-controls="sidebar"
title="Hide the sidebar"
aria-label="Hide the sidebar"
>
<svg
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="2"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M10.5 2.5 5 8l5.5 5.5" />
</svg>
</button>
<div id="map-area">
<main id="map"></main>
<!-- Details for the selected spot or trace. Not anchored to the pin: it
sits in the map's corner so the riding around the pin stays visible
and the card does not move when the map does. -->
<aside id="place-card" aria-label="Selected place" hidden>
<div class="place-card-tools">
<details class="place-card-menu" id="place-card-download">
<summary title="Download this place" aria-label="Download this place">
<svg
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M8 1.8v7.4m0 0 3-3m-3 3-3-3" />
<path d="M2.2 11.6v1.3a1.3 1.3 0 0 0 1.3 1.3h9a1.3 1.3 0 0 0 1.3-1.3v-1.3" />
</svg>
</summary>
<div class="place-card-menu-options">
<button type="button" class="dl" data-download-place="gpx">
<span class="dl-text">GPX</span>
</button>
<button type="button" class="dl" data-download-place="kml">
<span class="dl-text">KML</span>
</button>
<button type="button" class="dl" data-download-place="geojson">
<span class="dl-text">GeoJSON</span>
</button>
</div>
</details>
<button
id="place-card-google-maps"
type="button"
title="Open coordinates in Google Maps"
>
<svg
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M8 14s4-4.2 4-8A4 4 0 0 0 4 6c0 3.8 4 8 4 8Z" />
<circle cx="8" cy="6" r="1.4" />
</svg>
</button>
<button id="place-card-share" type="button" title="Share">
<svg
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<circle cx="4" cy="8" r="1.5" />
<circle cx="12" cy="3" r="1.5" />
<circle cx="12" cy="13" r="1.5" />
<path d="m5.3 7.2 5.4-3.4M5.3 8.8l5.4 3.4" />
</svg>
</button>
<button id="place-card-hide" type="button" title="Hide this trace" hidden>
<svg
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
stroke-linejoin="round"
>
<path d="M1.5 8s2.4-4 6.5-4 6.5 4 6.5 4-2.4 4-6.5 4S1.5 8 1.5 8Z" />
<circle cx="8" cy="8" r="2" />
<path d="m2 2 12 12" />
</svg>
</button>
<button id="place-card-close" type="button" title="Close">
<svg
viewBox="0 0 16 16"
width="14"
height="14"
aria-hidden="true"
fill="none"
stroke="currentColor"
stroke-width="1.5"
stroke-linecap="round"
>
<path d="m4 4 8 8M12 4l-8 8" />
</svg>
</button>
</div>
<div id="place-card-body"></div>
</aside>
</div>
</div>
<dialog id="about">
<h2>About this map</h2>
<p>
Gravity mountain-biking spots worldwide, with the practical details you need before driving
somewhere: what the riding is like, what the uplift costs, and whether it is going to be
wet.
<!-- A curated map of gravity mountain-biking spots worldwide: where to ride, what the lift
costs, and whether it will be dry. -->
</p>
<ul class="about-features">
<li>
<svg viewBox="0 0 16 16" aria-hidden="true">
<path d="M8 14.5s4.5-4.8 4.5-8.5a4.5 4.5 0 1 0-9 0c0 3.7 4.5 8.5 4.5 8.5Z" />
<circle cx="8" cy="6" r="1.7" />
</svg>
<span>
<b>One pin per destination.</b> The pin carries a written description of the riding, the
lift, the prices and the opening dates. Trail traces are added where there is a source
worth trusting, but they are a bonus: once you are there, the signs and the local map do
the work.
</span>
</li>
<li>
<svg viewBox="0 0 16 16" aria-hidden="true">
<path d="M2 3h12L9.5 8.2V13l-3 1.2V8.2L2 3Z" />
</svg>
<span>
<b>Filters.</b> Narrow by spot type, riding style, difficulty, trail colour or day-pass
price. The search box matches descriptions, not just names.
</span>
</li>
<li>
<svg viewBox="0 0 18 16" aria-hidden="true">
<path d="M5.2 10.5h8a3 3 0 0 0 .3-6A4.6 4.6 0 0 0 4.8 5.8a2.4 2.4 0 0 0 .4 4.7Z" />
<path d="m6.5 12.2-.9 2.2m4-2.2-.9 2.2m4-2.2-.9 2.2" />
</svg>
<span>
<b>Weather and opening dates.</b> Pick a date and the map keeps only what is open, with
the forecast for that day. Spots that will probably be wet get a rain drop badge on the
map itself. How much rain it takes depends on the ground: <b>rain-sensitive</b> spots
badge on a light shower, <b>rain-resilient</b> ones only when it really pours.
</span>
</li>
<li>
<svg viewBox="0 0 16 16" aria-hidden="true">
<path d="M8 2v8m0 0 3-3m-3 3L5 7" />
<path d="M2.5 11.5v1a1.5 1.5 0 0 0 1.5 1.5h8a1.5 1.5 0 0 0 1.5-1.5v-1" />
</svg>
<span>
<b>Downloads.</b> Export the whole map, one spot's traces or a single trace, as KML, GPX
or GeoJSON, and open it in
<a href="https://www.comaps.app/" target="_blank" rel="noopener">CoMaps</a>,
<a href="https://organicmaps.app/" target="_blank" rel="noopener">Organic Maps</a>
or OsmAnd. Whatever you have filtered out stays out of the file, so you get the map you
were looking at.
</span>
</li>
<li>
<svg viewBox="0 0 16 16" aria-hidden="true">
<circle cx="4.5" cy="3.5" r="1.8" />
<circle cx="11.5" cy="3.5" r="1.8" />
<circle cx="8" cy="12.5" r="1.8" />
<path d="M4.5 5.3v1.4a1.5 1.5 0 0 0 1.5 1.5h4a1.5 1.5 0 0 0 1.5-1.5V5.3M8 8.2v2.5" />
</svg>
<span>
<b>Fork it.</b> The
<a href="https://github.com/vemonet/alpine-mtb-map" target="_blank" rel="noopener"
>repository</a
>
is small and plain enough that a coding agent can rework it for you. Send a pull request
if the change belongs on the main map, otherwise keep your own copy.
</span>
</li>
<!-- <li>
<svg viewBox="0 0 16 16" aria-hidden="true">
<circle cx="8" cy="8" r="6.2" />
<path d="m5.2 8.2 2 2 3.6-4.2" />
</svg>
<span>
<b>Ridden in person.</b> A check mark on a spot or a trace means a contributor has been
there and thought it was worth the trip.
</span>
</li> -->
</ul>
<details class="about-details">
<summary><h3>Why another MTB map?</h3></summary>
<p>
Finding a good spot usually means opening a dozen resort sites, and none of them tells you
in one place what the trails are like, how the lift works and what a day costs.
</p>
<p>
Trailforks has the coverage, but getting a weekend out of it onto your phone is the
problem:
</p>
<ul>
<li>GPX and KML downloads sit behind a subscription, around 2.50 a month.</li>
<li>Traces come one at a time, so a trip means a dozen exports and a dozen imports.</li>
<li>Trails carry no description of the riding, the lift or the price.</li>
<li>
Every discipline shares one map, so the gravity lines sit among XC and other riding you
have to sift through.
</li>
</ul>
<p>
This map proposes only gravity riding, descriptions written in plain words, and downloads
that need no account, whole map or single trace.
</p>
</details>
<details class="about-details">
<summary><h3>Where the data comes from</h3></summary>
<ul>
<li>
<b>Trail geometry</b> from
<a href="https://www.openstreetmap.org/copyright" target="_blank" rel="noopener"
>OpenStreetMap</a
>
MTB route relations, pulled via
<a href="https://overpass-turbo.eu/" target="_blank" rel="noopener">Overpass</a> and
simplified, or from the operator's website. Indicative only: follow the signs on the
ground, not the trace.
</li>
<li>
<b>Lift prices, opening dates, daily hours and travel times</b> compiled from the
operators' own sites and
<a href="https://www.magicpass.ch/" target="_blank" rel="noopener">Magic Pass</a>, in
July 2026. Where published daily hours could not be confirmed, the pin shows a typical
regional estimate and says so explicitly.
</li>
<li>
<b>Trail descriptions</b> written from riding and from operator trail maps, by humans,
often with an LLM helping.
</li>
<li>
<b>Sources, per feature.</b> Every spot and every trace links the sources behind its
description and its geometry, so you can go and check them.
</li>
<li><b>Base map tiles</b> from OpenStreetMap, OpenTopoMap (CC BY-SA) and CyclOSM.</li>
<li>
<b>Weather forecasts</b> from
<a href="https://open-meteo.com/" target="_blank" rel="noopener">Open-Meteo</a>. A blue
rain badge means at least 1 mm of precipitation or a 50% probability is forecast, or at
least 5 mm fell the previous day; these are the thresholds for
<b>rain-sensitive</b> spots (clay, dark forest soil, little sun). Untagged spots need a
bit more rain, and <b>rain-resilient</b> spots (rocky, well-draining, sunny) only badge
on heavy same-day rain.
</li>
</ul>
<p>
<b>License:</b> Map data under
<a href="https://opendatacommons.org/licenses/odbl/1-0/" target="_blank" rel="noopener"
>ODbL 1.0</a
>, because it derives from OpenStreetMap. Website code under MIT. Keep the attribution if
you redistribute the files.
</p>
</details>
<details class="about-details">
<summary><h3>Trail grading</h3></summary>
<p>
Trail colours are set by each operator, and the same colour means different things in
different parts of the world. Europe uses four colours; North America splits the top end
into black and double black instead; Japanese resorts mostly carry over their three-colour
ski grading. Rough equivalences:
</p>
<table class="grade-table wide">
<caption>
Colour equivalences
</caption>
<thead>
<tr>
<th>Level</th>
<th>Europe</th>
<th>North America</th>
<th>Japan</th>
</tr>
</thead>
<tbody>
<tr>
<th>Easy</th>
<td>Green</td>
<td>Green circle</td>
<td>Green</td>
</tr>
<tr>
<th>Intermediate</th>
<td>Blue</td>
<td>Blue square</td>
<td>Red</td>
</tr>
<tr>
<th>Advanced</th>
<td>Red</td>
<td>Black diamond</td>
<td>Black</td>
</tr>
<tr>
<th>Very difficult</th>
<td>Black</td>
<td>Double black diamond</td>
<td>Black</td>
</tr>
<tr>
<th>Extreme</th>
<td>Double black or orange</td>
<td>Pro line, often orange</td>
<td>-</td>
</tr>
</tbody>
</table>
<p>
Treat this as indicative only: a red in one valley rides like a black in the next, and
bike parks grade against their own network rather than a national standard. New Zealand
uses numbered grades 1 to 6 instead of colours. The trail lines on this map keep the
colour of the source data.
</p>
<h4>Natural trails: T and E</h4>
<p>
Ratings such as <b>T5 / E2</b> combine two independent VTTour scales. <b>T</b> is how
technically difficult the riding is; <b>E</b> is how bad a fall would be. T5 / E2 is
therefore extremely difficult riding on a narrow trail with some obstacles, but without
the cliff exposure of E3 or E4. Both assume dry conditions and stay subjective.
</p>
<table class="grade-table">
<caption>
Technical difficulty
</caption>
<tbody>
<tr>
<th>T1</th>
<td>
Wide, smooth trail; gentle slope below roughly 20%; broad turns and no obstacles.
</td>
</tr>
<tr>
<th>T2</th>
<td>
Wide trail; moderate 20-30% slope; fine loose stones, small obstacles and easy
switchbacks.
</td>
</tr>
<tr>
<th>T3</th>
<td>
Narrow and often steeper than 30%; roots, steps below 30 cm, medium scree and a few
difficult switchbacks.
</td>
</tr>
<tr>
<th>T4</th>
<td>
Narrow, steep and strongly off-camber; steps above 30 cm, large loose rock and
repeated difficult or occasional trials-style turns.
</td>
</tr>
<tr>
<th>T5</th>
<td>
Extreme gradients with numerous trials-style passages requiring advanced balance,
wheel placement and low-speed control.
</td>
</tr>
</tbody>
</table>
<table class="grade-table">
<caption>
Exposure and fall consequences
</caption>
<tbody>
<tr>
<th>E1</th>
<td>Low exposure: wide trail with no major hazards beside or below it.</td>
</tr>
<tr>
<th>E2</th>
<td>Medium exposure: narrow trail with some obstacles that can worsen a fall.</td>
</tr>
<tr>
<th>E3</th>
<td>
High exposure: very narrow trail with many obstacles, steep slopes or small rock
drops beside it.
</td>
</tr>
<tr>
<th>E4</th>
<td>
Very high exposure: substantial cliffs or rock drops beside the trail; a fall can
have critical consequences.
</td>
</tr>