Révision 3d8d154e
ID | 3d8d154e3a643b47f9c343645f9c3744d6613ee7 |
Parent | 72402bdf |
Enfant | 73ba56a4 |
fix array format that seems not to work with some PHP versions
Fichiers
- ajouté
- modifié
- copié
- renommé
- supprimé
Révisions
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 |
); |
class/site_point.class.php | ||
---|---|---|
218 | 218 |
return array("type" => "Feature", |
219 | 219 |
"geometry" => array( |
220 | 220 |
"type" => "Point", |
221 |
"coordinates" => [$lon, $lat]
|
|
221 |
"coordinates" => array($lon, $lat)
|
|
222 | 222 |
), |
223 | 223 |
"properties" => array("name" => $name, |
224 | 224 |
"type" => 'pano_point', |