This is an old revision of the document!


Back

point element

Use a point element to draw a single point on the map.

Elementfir
AttributeFormatRemarks
latstringlatitude value
lonstringlongitude value

or

Elementfir
AttributeFormatRemarks
xfloatcartesian X value in nautical mile
yfloatcartesian Y value in nautical mile

or

Elementfir
AttributeFormatRemarks
refstringReference 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.