]> git.openstreetmap.org Git - rails.git/blob - app/views/directions/search.html.erb
Merge remote-tracking branch 'upstream/pull/5866'
[rails.git] / app / views / directions / search.html.erb
1 <% content_for(:content_class) { "overlay-sidebar" } %>
2
3 <svg width="0" height="0" class="position-absolute">
4   <marker id="routing-sprite-arrow" refX="3" refY="5" orient="auto" markerWidth="5" markerHeight="10" markerUnits="userSpaceOnUse">
5     <path d="M3.5 5L1 2.5v5z" fill="currentcolor" stroke="currentcolor"></path>
6   </marker>
7   <symbol id="routing-sprite-start" fill="none" stroke="currentColor" stroke-width="2">
8     <path d="M10 16 a1 1 0 1 0 0 -2 1 1 0 1 0 0 2 m0 -4 v-8" marker-end="url(#routing-sprite-arrow)" />
9   </symbol>
10   <symbol id="routing-sprite-destination" fill="none" stroke="currentColor" stroke-width="2">
11     <path d="M10 5 a1 1 0 1 0 0 -2 1 1 0 1 0 0 2 m0 12 v-8" marker-end="url(#routing-sprite-arrow)" />
12   </symbol>
13
14   <symbol id="routing-sprite-straight" fill="none" stroke="currentColor" stroke-width="2">
15     <path d="M10 17 v-13" marker-end="url(#routing-sprite-arrow)" />
16   </symbol>
17   <symbol id="routing-sprite-slight-right" fill="none" stroke="currentColor" stroke-width="2">
18     <path d="M7 17 v-3 q0 -2 2 -4 l5 -5" marker-end="url(#routing-sprite-arrow)" />
19   </symbol>
20   <symbol id="routing-sprite-right" fill="none" stroke="currentColor" stroke-width="2">
21     <path d="M8 17 v-5 q0 -3 3 -3 h4" marker-end="url(#routing-sprite-arrow)" />
22   </symbol>
23   <symbol id="routing-sprite-sharp-right" fill="none" stroke="currentColor" stroke-width="2">
24     <path d="M8 17 v-7 q0 -6 6 0 l2 2" marker-end="url(#routing-sprite-arrow)" />
25   </symbol>
26   <symbol id="routing-sprite-u-turn-right" fill="none" stroke="currentColor" stroke-width="2">
27     <path d="M4 17 v-7 a4.5 4.5 0 0 1 9 0 v5" marker-end="url(#routing-sprite-arrow)" />
28   </symbol>
29   <symbol id="routing-sprite-slight-left">
30     <use href="#routing-sprite-slight-right" transform="matrix(-1 0 0 1 20 0)" />
31   </symbol>
32   <symbol id="routing-sprite-left">
33     <use href="#routing-sprite-right" transform="matrix(-1 0 0 1 21 0)" />
34   </symbol>
35   <symbol id="routing-sprite-sharp-left">
36     <use href="#routing-sprite-sharp-right" transform="matrix(-1 0 0 1 21 0)" />
37   </symbol>
38   <symbol id="routing-sprite-u-turn-left">
39     <use href="#routing-sprite-u-turn-right" transform="matrix(-1 0 0 1 20 0)" />
40   </symbol>
41
42   <symbol id="routing-sprite-roundabout" fill="none" stroke="currentColor" stroke-width="2">
43     <path d="M8 17 v-3 a 3 3 0 1 0 0 -6 3 3 0 1 0 0 6 m2 -4 l5 -5" marker-end="url(#routing-sprite-arrow)" />
44   </symbol>
45
46   <symbol id="routing-sprite-fork-right" fill="none" stroke="currentColor" stroke-width="2">
47     <path d="M9 14 q0 -2 -2 -4 l-3 -3" opacity=".5" />
48     <path d="M9 17 v-3 q0 -2 2 -4 l5 -5" marker-end="url(#routing-sprite-arrow)" />
49   </symbol>
50   <symbol id="routing-sprite-fork-left">
51     <use href="#routing-sprite-fork-right" transform="matrix(-1 0 0 1 20 0)" />
52   </symbol>
53   <symbol id="routing-sprite-merge-left" fill="none" stroke="currentColor" stroke-width="2">
54     <path d="M8 7 q0 2 -2 4 l-3 3" opacity=".5" />
55     <path d="M8 4 v3 q0 2 2 4 l5 5 m-5 -5" marker-end="url(#routing-sprite-arrow)" />
56   </symbol>
57   <symbol id="routing-sprite-merge-right">
58     <use href="#routing-sprite-merge-left" transform="matrix(-1 0 0 1 20 0)" />
59   </symbol>
60   <symbol id="routing-sprite-end-of-road-right" fill="none" stroke="currentColor" stroke-width="2">
61     <path d="M2 9 h10" opacity=".5" />
62     <path d="M9 17 v-5 q0 -3 3 -3 h4" marker-end="url(#routing-sprite-arrow)" />
63   </symbol>
64   <symbol id="routing-sprite-end-of-road-left">
65     <use href="#routing-sprite-end-of-road-right" transform="matrix(-1 0 0 1 20 0)" />
66   </symbol>
67   <symbol id="routing-sprite-exit-right" fill="none" stroke="currentColor" stroke-width="2">
68     <path d="M9 14 v-8" opacity=".5" />
69     <path d="M9 17 v-3 q0 -2 2 -4 l5 -5" marker-end="url(#routing-sprite-arrow)" />
70   </symbol>
71   <symbol id="routing-sprite-exit-left">
72     <use href="#routing-sprite-exit-right" transform="matrix(-1 0 0 1 20 0)" />
73   </symbol>
74
75   <symbol id="routing-sprite-ferry" fill="none" stroke="currentColor" stroke-width="1">
76     <path d="M10.5 8 l-6 2 l2.5 2 v1.5 a2.828 2.828 0 0 1 1.5 1 a2.828 2.828 0 0 1 4 0 a2.828 2.828 0 0 1 1.5 -1 v-1.5 l2.5 -2 z" fill="currentColor" />
77     <path d="M6.5 9.5 v-5 h8 v5 m-5.5 -6 h3" />
78     <path d="M5.5 16.5 a1.414 2.828 0 0 1 2 0 a1.414 2.828 0 0 0 2 0 a1.414 2.828 0 0 1 2 0 a1.414 2.828 0 0 0 2 0 a1.414 2.828 0 0 1 2 0" />
79   </symbol>
80 </svg>
81
82 <%= render "sidebar_header", :title => t(".title") %>
83
84 <div id="directions_content"></div>