I get wrong number of arguments error when I try with
world.elevation_above_terrain_layers() or world.elevation_above_terrain_layers(ecef)
and when I try world.elevation_above_terrain_layers I get
the string " function elevation_above_terrain_layers{ [native code] }" but I still cannot understand how I should call the function
So I am just trying randomly ....
var elev = world.elevation_above_terrain_layers(ecef,world.water);
var elev = world.elevation_above_terrain_layers(ecef,world);
var elev = world.elevation_above_terrain_layers(ecef,true);
var elev = world.elevation_above_terrain_layers(ecef,0);
var elev = world.elevation_above_terrain_layers(ecef,10000);
seems to indicate that arguments need be two.
All gives me an object but elev.water or elev.whatever is undefined ... I guess I probably got at least one of the arguments wrong.
what should be the syntax ? Is one of the arguments ecef ? ...and what is the second one?
Just to compare: In case of igc at least I am able to get out some numbers ....allthough also in this case I am still far from a positive result as numbers do not appear to make sense to me
var igc_data = $igc.info();
var altsea_cam = igc_data.alt_msl;
var altground_cam = igc_data.alt_grd;
I get values near zero ...like for instance 3.455.. e-39 for both igc_data.alt_msl and igc_data.alt_grd allthough location of camera is well above ground and well above sealevel