<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://ebike.bitplan.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ALegMap4Query</id>
	<title>Template:LegMap4Query - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://ebike.bitplan.com/index.php?action=history&amp;feed=atom&amp;title=Template%3ALegMap4Query"/>
	<link rel="alternate" type="text/html" href="https://ebike.bitplan.com/index.php?title=Template:LegMap4Query&amp;action=history"/>
	<updated>2026-05-16T22:41:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://ebike.bitplan.com/index.php?title=Template:LegMap4Query&amp;diff=5069&amp;oldid=prev</id>
		<title>Wf: pushed from fahl by wikipush</title>
		<link rel="alternate" type="text/html" href="https://ebike.bitplan.com/index.php?title=Template:LegMap4Query&amp;diff=5069&amp;oldid=prev"/>
		<updated>2025-03-17T18:12:17Z</updated>

		<summary type="html">&lt;p&gt;pushed from fahl by wikipush&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&amp;lt;!-- Template to display leg routes on a Map with strict bounding box filtering --&amp;gt;&lt;br /&gt;
&amp;lt;!-- See Template:LegMapLines for base functionality --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Usage ===&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
{{LegMap4Query&lt;br /&gt;
|query=[[Category:Something]][[HasProperty::Value]]&lt;br /&gt;
|center=cityName&lt;br /&gt;
|zoom=12&lt;br /&gt;
|bbox=minLat,minLong|maxLat,maxLong&lt;br /&gt;
|debug=false}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Parameters ===&lt;br /&gt;
* query - SMW ask query to select legs&lt;br /&gt;
* center - Center point of the map (city name)&lt;br /&gt;
* zoom - Zoom level (default: 12)&lt;br /&gt;
* bbox - Bounding box for filtering (format: `minLat,minLong|maxLat,maxLong`)&lt;br /&gt;
* debug - Show debug information (default: false)&lt;br /&gt;
* width - Map width in pixels (default: 800)&lt;br /&gt;
* height - Map height in pixels (default: 600)&lt;br /&gt;
* title - Map title (default: &amp;quot;Legs&amp;quot;)&lt;br /&gt;
* subtitle - Map subtitle (default: &amp;quot;from query&amp;quot;)&lt;br /&gt;
* color - Route color (default: blue)&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
{{LegMap4Query&lt;br /&gt;
|query=[[isA::Leg]] [[has parent::&amp;lt;q&amp;gt;[[Category:Spain2025Map]]&amp;lt;/q&amp;gt;]]&lt;br /&gt;
|zoom=12&lt;br /&gt;
|bbox=40.0,-3.5|41.0,-2.5&lt;br /&gt;
|debug=true}}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:Template]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
{{#vardefine:leg_lines|{{#ask:{{{query}}}&lt;br /&gt;
|mainlabel=-&lt;br /&gt;
|?Leg from=from&lt;br /&gt;
|?Leg to=to&lt;br /&gt;
|?Leg transport=transport&lt;br /&gt;
|format=template&lt;br /&gt;
|template=LegLine&lt;br /&gt;
|sort=Leg wp_num&lt;br /&gt;
|named args=yes&lt;br /&gt;
|sep=:&lt;br /&gt;
|limit=1000&lt;br /&gt;
}}}}&lt;br /&gt;
&lt;br /&gt;
{{#if:{{{debug|}}}|&lt;br /&gt;
== Lines ==&lt;br /&gt;
bounding box: {{{bbox|}}}&lt;br /&gt;
{{#ask:{{{query}}}&lt;br /&gt;
|mainlabel=-&lt;br /&gt;
|?Leg wp_num=#&lt;br /&gt;
|?Leg from=from&lt;br /&gt;
|?Leg to=to&lt;br /&gt;
|?Leg transport=transport&lt;br /&gt;
|?has_parent=leg_parent&lt;br /&gt;
|format=table&lt;br /&gt;
|sort=Leg wp_num&lt;br /&gt;
|limit=1000&lt;br /&gt;
|headers=show&lt;br /&gt;
|sort=has_parent,Leg wp_num&lt;br /&gt;
}}&lt;br /&gt;
{{#var:leg_lines}}&lt;br /&gt;
== LegMapLines ==&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
{{LegMapLines&lt;br /&gt;
|lines={{#var:leg_lines}}&lt;br /&gt;
|title={{{title|Legs}}}&lt;br /&gt;
|subtitle={{{subtitle|from query}}}&lt;br /&gt;
|color={{{color|blue}}}&lt;br /&gt;
|center={{{center|}}}&lt;br /&gt;
|zoom={{{zoom|12}}}&lt;br /&gt;
|width={{{width|800}}}&lt;br /&gt;
|height={{{height|600}}}&lt;br /&gt;
|debug={{{debug|}}}&lt;br /&gt;
}}&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wf</name></author>
	</entry>
</feed>