Difference between revisions of "Template:LegMap"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
 
(3 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}}
{{#var:leg_lines}}:
+
|title={{{title|Legs}}}
~{{{title|Legs}}}
+
|subtitle={{{subtitle|from subobjects}}}
~{{{subtitle|from subobjects}}}
+
|color={{{color|blue}}}
~{{{color|blue}}}~0.42~10
+
|center={{{center|}}}
|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}}