Project

General

Profile

Revision 83478686

Added by Jocelyn Dealande about 9 years ago

bugfix typo preventing good ref_points displaying

View differences:

panorama.php
107 107
       $extra_names[] = $ref->name;
108 108
       list($dist, $cap, $ele) = $pt->coordsToCap($ref->lon, $ref->lat,
109 109
                                                  $ref->ele);
110
       $ref_names[$name] = array($dist, $cap, $ele);
110
       $ref_names[$ref->name] = array($dist, $cap, $ele);
111 111
       printf('point_list[%d] = new Array("%s", %03lf, %03lf, %03lf, "");'."\n", $ipt++, $ref->name, $dist, $cap, $ele);
112 112
     }
113 113
   }

Also available in: Unified diff