2,733
edits
Red Leader (talk | contribs) (→Functions: Doc geo.elevation()) |
Red Leader (talk | contribs) (→Functions: Doc format()) |
||
Line 334: | Line 334: | ||
=== format() === | === format() === | ||
{{Nasal doc | |||
|syntax = geo.format(lat, lon); | |||
|text = Returns the coordinate formatted as a string. The format will be the same as used for scenery tiles, e.g., <code>w010n50</code> (10 degrees West, 50 degrees North). | |||
|param1 = lat | |||
|param1text = Mandatory latitude coordinate. | |||
|param2 = lon | |||
|param2text = Mandatory longitude coordinate. | |||
|example1 = var ac_pos = geo.aircraft_position(); | |||
print(geo.format(ac_pos.lat(), ac_pos.lon())); | |||
}} | |||
=== normdeg() === | === normdeg() === | ||
=== normdeg180() === | === normdeg180() === |