Jump to content

User:GreenStumpyMonster/Sandbox: Difference between revisions

From OpenGeofiction
Created page with "<includeonly>{{#multimaps: | center = {{{lat}}},{{{lon}}} | width = 100% | height = {{{height|500}}}px | zoom = {{{z|2}}} | minzoom = {{{min|2}}} | maxzoom = {{{max|10}}} | layers = +Standard,TopoMap,CyclOGF,OpenStreetMap | overlays = +Routes | overlaydef = {"Routes": [{"url":"https://data.opengeofiction.net/utility/airline_routes.json", "filter": {"origin_code": "{{{id}}}"} } ]} }} </includeonly><noinclude> This template is designed as an easy to use MultiMap to highlig..."
 
 
Line 24: Line 24:
{{airline route map by airport|lat=20.0|lon=90.0|z=3|id=OSI}}
{{airline route map by airport|lat=20.0|lon=90.0|z=3|id=OSI}}
</pre>
</pre>
{{airline route map by airport|lat=20.0|lon=90.0|z=3|id=OSI}}
{{airline route map by airport|lat=20.0|lon=90.0|z=3|id=SEH}}


[[Category:Multimap templates]]
[[Category:Multimap templates]]

Latest revision as of 20:40, 15 November 2025

This template is designed as an easy to use MultiMap to highlight all airline routes to/from a specified airport. The syntax of this template is as follows:

{{airline route map by airport
|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=      (airport 3 character ref code; required)
}}

Example

For OSI Osianopolis:

{{airline route map by airport|lat=20.0|lon=90.0|z=3|id=OSI}}

Loading map...