Subversion Repositories eFlore/Applications.cel

Rev

Rev 1585 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1585 Rev 2170
Line 199... Line 199...
199
			$point_allege['id'] = self::MARQUEUR_COMMUNE.':'.$point['wgs84_latitude'].'|'.$point['wgs84_longitude'];
199
			$point_allege['id'] = self::MARQUEUR_COMMUNE.':'.$point['wgs84_latitude'].'|'.$point['wgs84_longitude'];
200
			$point_allege['type_emplacement'] = 'communes';
200
			$point_allege['type_emplacement'] = 'communes';
201
			$point_allege['nom'] = self::formaterNomStation($point, 'communes');
201
			$point_allege['nom'] = self::formaterNomStation($point, 'communes');
202
			$point_allege['lat'] = (float)$point['wgs84_latitude'];
202
			$point_allege['lat'] = (float)$point['wgs84_latitude'];
203
			$point_allege['lng'] = (float)$point['wgs84_longitude'];
203
			$point_allege['lng'] = (float)$point['wgs84_longitude'];
-
 
204
			$point_allege['zonegeo'] = $point['ce_zone_geo'];
Line 204... Line 205...
204
 
205
 
205
			$point = $point_allege;
206
			$point = $point_allege;
206
		} else {
207
		} else {
207
			$point_allege = array();
208
			$point_allege = array();
208
			$point_allege['id'] = self::MARQUEUR_STATION.':'.$point['latitude'].'|'.$point['longitude'];
209
			$point_allege['id'] = self::MARQUEUR_STATION.':'.$point['latitude'].'|'.$point['longitude'];
209
			$point_allege['type_emplacement'] = 'stations';
210
			$point_allege['type_emplacement'] = 'stations';
210
			$point_allege['nom'] = self::formaterNomStation($point, 'stations');
211
			$point_allege['nom'] = self::formaterNomStation($point, 'stations');
211
			$point_allege['lat'] = (float)$point['latitude'];
212
			$point_allege['lat'] = (float)$point['latitude'];
-
 
213
			$point_allege['lng'] = (float)$point['wgs84_longitude'];
Line 212... Line 214...
212
			$point_allege['lng'] = (float)$point['longitude'];
214
			$point_allege['zonegeo'] = $point['ce_zone_geo'];
213
 
215
 
Line 214... Line 216...
214
			$point = $point_allege;
216
			$point = $point_allege;