This is an old revision of the document!
Use a point element to draw a single point on the map.
Element | fir | |
---|---|---|
Attribute | Format | Remarks |
lat | string | latitude value |
lon | string | longitude value |
or
Element | fir | |
---|---|---|
Attribute | Format | Remarks |
x | float | cartesian X value in nautical mile |
y | float | cartesian Y value in nautical mile |
or
Element | fir | |
---|---|---|
Attribute | Format | Remarks |
ref | string | Reference to a predefined point element from points.xml |
The building blocks of a map use at least one <point> element or more depending on the complexity of the element to draw. If more than one <point> element is defined and only one is required, only the first <point> element is used and all the others are ignored.
If cartesian X/Y attribute values are used, the point is calculated using the <origin> given in the FIR configuration file (config.fir).
When a map is loaded (on startup) all points in latitude/longitude are transformed to cartesian X/Y values and stored as such internally. So using cartesian X/Y might improve startup speed but it is not a requirement.
Tip: Use predefined points in the points.xml file for navigation points such as VOR's, fixes and special points which are part of SID/STAR procedures.