Template:LegMap4Query

From BITPlan E-Bike Wiki
Revision as of 19:12, 17 March 2025 by Wf (talk | contribs) (pushed from fahl by wikipush)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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 ===