Difference between revisions of "Template:LegMap"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
 
(2 intermediate revisions by the same user not shown)
Line 14: Line 14:
 
|template=LegLine
 
|template=LegLine
 
|sort=Leg wp_num
 
|sort=Leg wp_num
|order=asc
 
 
|named args=yes
 
|named args=yes
 
|sep=:
 
|sep=:
Line 29: Line 28:
 
{{#var:leg_lines}}
 
{{#var:leg_lines}}
  
== Map ==
+
== LegMapLines ==
{{#display_map:
+
{{LegMapLines
|lines=
+
|lines={{#var:leg_lines}}
43.308306° N, 1.982025° W: 43.301308° N, 2.001086° W:
+
|title={{{title|Legs}}}
 
+
|subtitle={{{subtitle|from subobjects}}}
43.301308° N, 2.001086° W: 43.289758° N, 1.997447° W:
+
|color={{{color|blue}}}
 
+
|center={{{center|}}}
43.289758° N, 1.997447° W: 43.274650° N, 2.021303° W:
 
{{#var:leg_lines}}:
 
~{{{title|Legs}}}
 
~{{{subtitle|from subobjects}}}
 
~{{{color|blue}}}~0.42~10
 
|center={{{center|Berlin}}}
 
 
|zoom={{{zoom|12}}}
 
|zoom={{{zoom|12}}}
 
|width={{{width|800}}}
 
|width={{{width|800}}}
 
|height={{{height|600}}}
 
|height={{{height|600}}}
|fullscreen=on
+
}}
|service=leaflet}}
 
 
</includeonly>
 
</includeonly>

Latest revision as of 07:25, 28 November 2024

Template to display leg routes on OpenStreetMap.

Usage

{{LegMap
|center=cityName
|zoom=12}}