Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
ivac2:firdef_map_groups [2016/07/16 09:58]
ken.andries created
ivac2:firdef_map_groups [2017/05/02 09:33] (current)
ian.beswick
Line 1: Line 1:
-If you like to change the name of a group in the maps window or you wish to order them, change the column size of groups or maps then you need to create ​"groups.xml" ​in your "fir/​maps/​groups.xml"+If you like to change the name of a group in the maps window or you wish to order them, change the column size of groups or maps then you need to create ​''​groups.xml'' ​in your ''​fir/​maps/​groups.xml''​
  
  
 +^Element|groups||
 +^Attribute^ Required ^Format^Remarks^
 +|group_cols|no (defaults to 4) | integer|the number of columns visible in the maps window (top section)|
 +
 +^Root Element|groups||
 +^Element|group||
 +^Attribute^Required^Format^Remarks^
 +|id|yes|string|unique group name, use this in the ''​group''​ attribute of your maps|
 +|name|yes|string|human readable name shown in the maps window|
 +|order|no (defaults to id)|string|order in which groups are shown (Note: sorted alphabetical not numerical)|
 +|cols|no (defaults to 4)|string|number of columns shown in this map group|
 +
 +===== example ======
 +
 +
 +<code XML>
 +<groups group_cols="​5">​
 +    <!-- Line 1 -->
 +    <group id="​ACC" ​           name="​ACC" ​      ​order="​01"/>​
 +    <group id="​EBBR_AD" ​       name="​EBBR" ​     order="​02"/>​
 +    <group id="​REGN_AD" ​       name="​REGN AD" ​  ​order="​03"​ cols="​4"/>​
 +    <group id="​MIL_AD" ​        ​name="​MIL AD" ​   order="​04"/>​
 +    <group id="​LOCAL_AD" ​      ​name="​LOCAL AD" ​ order="​05"/>​
 +
 +    <!-- Line 2 -->
 +    <group id="​AIRSPACE" ​      ​name="​AIRSPACE" ​ order="​06"/>​
 +    <group id="​EBBR_RWY" ​      ​name="​EBBR RWY" ​ order="​07"​ cols="​3"/>​
 +    <group id="​REGN_RWY" ​      ​name="​REGN RWY" ​ order="​08"/>​
 +    <group id="​MIL_RWY" ​       name="​MIL RWY" ​  ​order="​09"/>​
 +    <group id="​PARADROP" ​      ​name="​PARADROP" ​ order="​10"/>​
 +
 +    <!-- Line 3 -->
 +    <group id="​SPECIAL" ​       name="​SPECIAL" ​  ​order="​11"/>​
 +    <group id="​TSA" ​           name="​TSA" ​      ​order="​12"​ cols="​6"/>​
 +    <group id="​TRA_PROH" ​      ​name="​TRA/​PROH" ​ order="​13"/>​
 +    <group id="​MIL_AIRSAPCE" ​  ​name="​MIL AIRSPACE"​ order="​14"/>​
 +    <group id="​INFO" ​          ​name="​INFO" ​     order="​15"/>​
 +</​groups>​
 +</​code>​
 +
 +
 +----
 +
 +[[ivac2:​firdef|Back]]