Difference between revisions of "Template:LegMap"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
[[Category:Template]]
 
[[Category:Template]]
 
</noinclude>
 
</noinclude>
<includeonly>{{#display_map:
+
<includeonly>
 +
{{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]]
 +
|?Leg from
 +
|?Leg to
 +
|format=template
 +
|template=LegLine
 +
|sep=;}}
 +
{{#display_map:
 
|lines={{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]]
 
|lines={{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]]
 
|?Leg from
 
|?Leg from

Revision as of 16:00, 27 November 2024

Template to display leg routes on OpenStreetMap.

Usage

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