Project

General

Profile

« Previous | Next » 

Revision 4b86e496

ID4b86e4964ab7d1e21249d42dc4c5a0423193d419
Parent 862d44f8
Child a752b78b

Added by Marc Souviron over 9 years ago

correction d'un bug sur les panoramas non bouclés : le dernier point était mal positionné en Y.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences

Changesets

addParams.php
21 21
				      'required' => true),
22 22
		 'altitude' => array('name' => 'altitude', 
23 23
				     'type' => 'numeric',
24
				     'min' => -180,
25
				     'max' => 180,
24
				     'min' => -400,
26 25
				     'required' => true),
27 26
		 'loop' => array('name' => 'image_loop', 
28 27
				 'type' => 'boolean',
js/pano.js
466 466
		this.ref_pixels[0].shift_y = this.ref_pixels[ord_pts.length].shift_y - dpix*this.ref_pixels[0].dshft_y;
467 467
	    } else {
468 468
		this.ref_pixels[0].shift_y = this.ref_pixels[1].shift_y;
469
		this.ref_pixels[ord_pts.length].shift_y = this.ref_pixels[ord_pts.length-1].shift_y;
470 469
		this.ref_pixels[0].dshft_y = 0;
471 470
		this.ref_pixels[ord_pts.length].dshft_y = 0;
472 471
	    }
ref_points.php
2 2
$ref_points = array (
3 3
                     'Marc' => array(43.60568, 1.42841, 170),
4 4
                     'FF2' => array(43.67737, 1.45077, 140),
5
		     'Clocher de Saint-Sernin' => array(43.6085, 1.4424, 190),
6
		     'Clocher des Minimes' => array(43.61811, 1.43639, 165),
7
		     "Obélisque de l'observatoire" => array(43.6114, 1.4618, 200),
5
		     'Clocher de Saint-Sernin' => array(43.6085, 1.4424, 214),
6
		     'Clocher des Minimes' => array(43.61811, 1.43639, 192),
7
		     "Dôme de la grave" => array(43.60085, 1.43298, 185),
8
		     "Clocher des Jacobins" => array(43.60368, 1.44038, 199),
9
		     "Obélisque de l'observatoire" => array(43.6114, 1.4618, 220),
8 10
		     "Pic d'Aneto" => array(42.63055, 0.65695, 3404),
9 11
                     "Pic de Montcalm" => array(42.672118, 1.406422, 3077),
10 12
                     "Pic du Carlit" => array(42.569865, 1.932092, 2921),
11 13
                     "Pic du Canigou" => array(42.518889, 2.456667, 2784),
12 14
		     "Mont Valier" => array(42.797699, 1.085672, 2838),
13 15
		     "Pic du Midi de Bigrorre" => array(42.936389,0.142778, 2877),
14
		     "Dôme de la grave" => array(43.60085, 1.43298, 169),
15
		     "Clocher des Jacobins" => array(43.60368, 1.44038, 171),
16
		     "cheminée SNPE-SME" => array(43.56582, 1.43374, 222),
17
		     "antenne caserne Pérignon" => array(43.59903, 1.46449, 247),
18
		     "Émetteur Radiodiffusion Bonhoure" => array(43.60158, 1.47308, 265),
19
		     "Èmetteur radiodiffusion Moscou" => array(43.593611, 1.478056, 260),
20
		     "Tour Télécom Ramonville-Saint-Agne" => array(43.539722, 1.456389, 311),
21
		     "Incinérateur du Mirail" => array(43.556944, 1.398889, 212),
22
		     "Cheminée du sang de serp" => array(43.62494, 1.42202, 170),
23
		     "Château d'eau de blagnac" => array(43.62443, 1.39547, 170),
24
		     "Château d'eau de fenouillet" => array(43.67984, 1.39290,170),
16 25
		     );