Projet

Général

Profil

Révision 3d8d154e

Ajouté par Jocelyn Delande il y a environ 11 ans

fix array format that seems not to work with some PHP versions

Voir les différences:

ajax/all_points.php
16 16
	return array("type" => "Feature",
17 17
	             "geometry" => array(
18 18
	                                 "type" => "Point",
19
	                                 "coordinates" => [$values[1],$values[0]]
19
	                                 "coordinates" => array($values[1],$values[0]);
20 20
	                                 ),
21 21
	             "properties" => array("name" => $name, "type" => 'loc_point')
22 22
	             );

Formats disponibles : Unified diff