Jump to content

User:GreenStumpyMonster/Sandbox

From OpenGeofiction
Revision as of 20:39, 15 November 2025 by GreenStumpyMonster (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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