Takes a latitude and longitude and returns the x and y coordinates in meters.
See usage in DCS Source files
{number} Latitude in degrees
{number} Longitude in degrees
x and y coordinates in meters
local x, y = terrain.convertLatLonToMeters(beaconData.position.latitude, beaconData.position.longitude) Copy
local x, y = terrain.convertLatLonToMeters(beaconData.position.latitude, beaconData.position.longitude)
Returns the height of the terrain at the given coordinates.
{number} x coordinate in meters
{number} y coordinate in meters
local airdrome.height = Terrain.GetHeight(airdrome.x, airdrome.y) Copy
local airdrome.height = Terrain.GetHeight(airdrome.x, airdrome.y)
No Self