msg="<div>Marker "+index+" (Satellite vs 3D model)</div>";
vard_map=Data.markers[index].d_map;
vard_x3d=Data.markers[index].d_x3d;
vard_map_float=parseFloat(d_map);
vard_x3d_float=parseFloat(d_x3d);
vardelta;
if(isNaN(d_map_float)){
d_map_msg=d_map;
}else{
d_map_msg=d_map_float.toFixed(1)+" m";
}
if(isNaN(d_x3d_float)){
d_x3d_msg=d_x3d;
}else{
d_x3d_msg=d_x3d_float.toFixed(1)+" m";
}
if(!isNaN(d_x3d_float)&&!isNaN(d_map_float)){
delta=(d_map_float-d_x3d_float).toFixed(1);
}else{
delta="-";
}
msg+="<table>";
msg+="<tr title='drag marker over map to update distance'><th align='left'>d<sub>map</sub></th><td align='left' style='text-align:left;'>"+d_map_msg+"</td></tr>";
msg+="<tr title='drag marker over 3d scene to update distance'><th align='left'>d<sub>3d</sub></th><td align='left' style='text-align:left;'>"+d_x3d_msg+"</td></tr>";