Description
Read positions from a KML file.
Note
Recommended to execute in loading screen.
Syntax
filePath call BIS_fnc_KMLimport
Parameters:
-
filePath: String - (Optional, default"hsim\Doc_H\GoogleEarth\Missions\" + missionName + ".kml") KML file pathNote
Arma 3: Default value only works in Take On Helicopters. Do not rely on it in Arma 3.
Returns: Array of Arrays in format [type, positionXYZ, folder, name, description]
- type: Number - 0 for a point, 1 for a line, 2 for a polygon
- positionXYZ: Position - format PositionAGL
- folder: String - path to the value, "" if in the .kml root
- name: String - location's name
- description: String - location's description
Examples
Example 1
private _data = "subDir\myFile.kml" call BIS_fnc_KMLimport;
See also
BIS_fnc_keypointsExportFromKML · BIS_fnc_dbImportXML · BIS_fnc_posDegToWorld