Projet

Général

Profil

Révision 94abb8ac

Ajouté par Jocelyn Dealande il y a environ 9 ans

panorama.php

again, a lat/lon inverted

Voir les différences:

panorama.php
105 105
   if ($pt->has_params()) {
106 106
     foreach (RefPoint::near_points($pt, MAX_SEEING_DISTANCE) as $ref) {
107 107
       $extra_names[] = $ref->name;
108
       list($dist, $cap, $ele) = $pt->coordsToCap($ref->lon, $ref->lat,
108
       list($dist, $cap, $ele) = $pt->coordsToCap($ref->lat, $ref->lon,
109 109
                                                  $ref->ele);
110 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);

Formats disponibles : Unified diff