Difference between revisions of "Template:LegMapLines"

From BITPlan E-Bike Wiki
Jump to navigation Jump to search
Line 20: Line 20:
 
→{{trim|{{{lines|}}}}}←
 
→{{trim|{{{lines|}}}}}←
 
=== Map ===
 
=== Map ===
{{#display_map:
+
{{#tag:html|
|lines={{trim|{{{lines|}}}}}
+
<iframe
~{{{title|Legs}}}
+
    width="{{{width|800}}}"
~{{{subtitle|from subobjects}}}
+
    height="{{{height|600}}}"
~{{{color|blue}}}
+
    frameborder="0"
~{{{opacity|0.42}}}
+
    scrolling="no"
~{{{line_width|15}}}
+
    marginheight="0"
|center={{{center|}}}
+
    marginwidth="0"
|zoom={{{zoom|12}}}
+
    src="https://gpx.bitplan.com/lines?lines={{urlencode:{{trim|{{{lines|}}}}}}}&title={{urlencode:{{{title|Legs}}}}}&subtitle={{urlencode:{{{subtitle|from subobjects}}}}}&color={{urlencode:{{{color|blue}}}}}&center={{urlencode:{{{center|}}}}}&zoom={{{zoom|12}}}&line_width={{{line_width|15}}}&service={{urlencode:{{{service|leaflet}}}}}">
|width={{{width|800}}}
+
</iframe>
|height={{{height|600}}}
+
}}
|fullscreen=on
 
|service={{{service|leaflet}}}}}
 
 
</includeonly>
 
</includeonly>

Revision as of 10:21, 19 January 2025

Usage

{{LegMapLines
|lines=
|title=
|subtitle=
|color=
|center=
|zoom=
|width=
|height=
|line_width=
|service=
}}