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:

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',

Formats disponibles : Unified diff