BIS fnc KMLimport: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Some wiki formatting) |
Lou Montana (talk | contribs) m (Text replacement - "PositionAGL" to "PositionAGL") |
||
Line 19: | Line 19: | ||
|r1= [[Array]] of [[Array|Arrays]] in format [type, positionXYZ, folder, name, description] | |r1= [[Array]] of [[Array|Arrays]] in format [type, positionXYZ, folder, name, description] | ||
* type: [[Number]] - 0 for a point, 1 for a line, 2 for a polygon | * type: [[Number]] - 0 for a point, 1 for a line, 2 for a polygon | ||
* positionXYZ: [[Position]] - format [[PositionAGL]] | * positionXYZ: [[Position]] - format [[Position#PositionAGL|PositionAGL]] | ||
* folder: [[String]] - path to the value, "" if in the .kml root | * folder: [[String]] - path to the value, "" if in the .kml root | ||
* name: [[String]] - location's name | * name: [[String]] - location's name |
Revision as of 16:52, 5 January 2022
Description
- Description:
- Read positions from a KML file.
- Execution:
- call
- Groups:
- Map and Markers
Syntax
- Syntax:
- filePath call BIS_fnc_KMLimport
- Parameters:
- filePath: String - (Optional, default
"hsim\Doc_H\GoogleEarth\Missions\" + missionName + ".kml"
) KML file path - Return Value:
- Array of Arrays in format [type, positionXYZ, folder, name, description]
Examples
- Example 1:
_data = "subDir\myFile.kml" call BIS_fnc_KMLimport;
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note