Difference between revisions of "Template:LegMap4Query"
Jump to navigation
Jump to search
(pushed from fahl by wikipush) |
(No difference)
|
Latest revision as of 19:12, 17 March 2025
Usage
{{LegMap4Query
|query=[[Category:Something]][[HasProperty::Value]]
|center=cityName
|zoom=12
|bbox=minLat,minLong|maxLat,maxLong
|debug=false}}
Parameters
- query - SMW ask query to select legs
- center - Center point of the map (city name)
- zoom - Zoom level (default: 12)
- bbox - Bounding box for filtering (format: `minLat,minLong|maxLat,maxLong`)
- debug - Show debug information (default: false)
- width - Map width in pixels (default: 800)
- height - Map height in pixels (default: 600)
- title - Map title (default: "Legs")
- subtitle - Map subtitle (default: "from query")
- color - Route color (default: blue)
Example
Lines
bounding box: 40.0,-3.5
LegMapLines
Lines
→← === Map ===