Difference between revisions of "Template:LegMap"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 16: Line 16:
 
}}
 
}}
 
{{#display_map:
 
{{#display_map:
|lines={{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]]
+
|lines={{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]][[Leg to::+]]
 
|mainlabel=-
 
|mainlabel=-
 
|?Leg from#coordinates=from
 
|?Leg from#coordinates=from
Line 22: Line 22:
 
|format=template
 
|format=template
 
|template=LegLine
 
|template=LegLine
|named args=yes}}
+
|named args=yes
 +
|sep=:}}
 
|center={{{center|Berlin}}}
 
|center={{{center|Berlin}}}
 
|zoom={{{zoom|12}}}
 
|zoom={{{zoom|12}}}

Revision as of 21:31, 27 November 2024

Template to display leg routes on OpenStreetMap.

Usage

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