Template:Scalehelper: Difference between revisions
Appearance
m fmt |
use layer 5 |
||
| Line 1: | Line 1: | ||
<includeonly><span class="plainlinks">[https://wiki.opengeofiction.net/util/map_scale.html?map= | <includeonly><span class="plainlinks">[https://wiki.opengeofiction.net/util/map_scale.html?map=5/{{{zoom}}}/{{{lat1}}}/{{{lon1}}}&map2=OSM/x/{{{lat2}}}/{{{lon2}}} {{{label}}}]<sup>{{coord|name=ogf|latitude={{{lat1}}}|longitude={{{lon1}}}|zoom={{{zoom}}}}}∝{{coordosm|name=osm|latitude={{{lat2}}}|longitude={{{lon2}}}|zoom={{{zoom}}}}}</sup></span></includeonly><noinclude> | ||
Generates an HTML link to the Scale Helper, along with OGF and OSM links. | Generates an HTML link to the Scale Helper, along with OGF and OSM links. | ||
== Usage == | == Usage == | ||
Latest revision as of 15:08, 25 November 2025
Generates an HTML link to the Scale Helper, along with OGF and OSM links.
Usage
{{scalehelper|
| label = required
| zoom = required
| lat1 = required, OGF location
| lon1 = required
| lat2 = required, OSM location
| lon2 = required
}}
Example
{{scalehelper|zoom=16|lat1=20.72411|lon1=86.71824|lat2=38.88928|lon2=-77.00961|label=Gobras Capitol vs US Capitol}}