Difference between revisions of "Template:LegMap"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
 
Line 28: 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}}