Projet

Général

Profil

Révision 135e59fc

Ajouté par Jocelyn Delande il y a plus de 10 ans

linked the map points to panorama visualization

Voir les différences:

ajax/all_points.php
25 25

  
26 26

  
27 27
function get_site_points() {
28
	$dir = "../tiles";
28
	$dir = "../tiles";//FIXME
29 29
	return (new sites_dir($dir))->get_sites();
30 30
}
31 31

  
......
43 43
	                                 "type" => "Point",
44 44
	                                 "coordinates" => [$lon, $lat]
45 45
	                                 ),
46
	             "properties" => array("name" => $name, "type" => 'pano_point')
46
	             "properties" => array("name" => $name,
47
	                                   "type" => 'pano_point',
48
	                                   "view_url"  => $sp->get_url())
47 49
	             );
48 50
}
49 51

  

Formats disponibles : Unified diff