Template:Airline route map by territory: Difference between revisions
Appearance
filter airline routes by territory |
+CyclOGF |
||
| Line 1: | Line 1: | ||
<includeonly>{{#multimaps: | <includeonly>{{#multimaps: | ||
| center = {{{lat}}},{{{lon}}} | width = 100% | height = {{{height|500}}}px | zoom = {{{z|2}}} | minzoom = {{{min|2}}} | maxzoom = {{{max|10}}} | | center = {{{lat}}},{{{lon}}} | width = 100% | height = {{{height|500}}}px | zoom = {{{z|2}}} | minzoom = {{{min|2}}} | maxzoom = {{{max|10}}} | ||
| layers = +Standard,TopoMap,OpenStreetMap | | layers = +Standard,TopoMap,CyclOGF,OpenStreetMap | ||
| overlays = +Routes | | overlays = +Routes | ||
| overlaydef = {"Routes": [{"url":"https://data.opengeofiction.net/utility/airline_routes.json", "filter": {"origin_ogf:id": "{{{id}}}"} } ]} | | overlaydef = {"Routes": [{"url":"https://data.opengeofiction.net/utility/airline_routes.json", "filter": {"origin_ogf:id": "{{{id}}}"} } ]} | ||
Latest revision as of 11:28, 8 November 2025
This template is designed as an easy to use MultiMap to highlight all airline routes to/from a specified territory. The syntax of this template is as follows:
{{airline route map by territory
|lat= (required)
|lon= (required)
|height= (customisable size in pixels; default is 500)
|z= (map zoom level; default is 3)
|min= (minimum zoom level; default is 2)
|max= (maximum zoom level; default is 10)
|id= (territory ogf:id; required)
}}
Example
For UL05a Gobrassanya:
{{airline route map by territory|lat=20.0|lon=90.0|height=700|z=3|id=UL05a}}
Loading map...