Difference between revisions of "Template:LegMap"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | {{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]] | + | <noinclude> |
− | + | Template to display leg routes on OpenStreetMap. | |
− | + | === Usage === | |
− | + | <pre>{{LegMap | |
+ | |center=cityName | ||
+ | |zoom=12}}</pre> | ||
+ | [[Category:Template]] | ||
+ | </noinclude> | ||
+ | <includeonly>{{#display_map: | ||
+ | |lines={{#ask: [[-Has subobject::{{FULLPAGENAME}}]][[Leg from::+]] | ||
+ | |?Leg from | ||
+ | |?Leg to | ||
+ | |format=template | ||
+ | |template=LegLine | ||
+ | |sep=;}} | ||
+ | |center={{{center|Berlin}}} | ||
+ | |zoom={{{zoom|12}}} | ||
+ | |height=700 | ||
+ | |service=leaflet}} | ||
+ | </includeonly> |
Revision as of 15:58, 27 November 2024
Template to display leg routes on OpenStreetMap.
Usage
{{LegMap |center=cityName |zoom=12}}