Subversion Repositories eFlore/Applications.cel

Rev

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

Rev 501 Rev 503
Line 17... Line 17...
17
 * @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
17
 * @license CECILL v2 <http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt>
18
 * @version $Id$
18
 * @version $Id$
19
 * @copyright © 2010, Jean-Pascal MILCENT
19
 * @copyright © 2010, Jean-Pascal MILCENT
20
 */
20
 */
21
class Carto extends WidgetCommun {
21
class Carto extends WidgetCommun {
22
	const LIMITES_COMMUNALES_URL = "http://www.tela-botanica.org/sites/eflore/generique/images/projets/cel/cartographie/%s";
22
	const LIMITES_COMMUNALES_URL = "http://www.tela-botanica.org/eflore/cel2/widget/modules/carto/squelettes/kml/%s";
23
	const DS = DIRECTORY_SEPARATOR;
23
	const DS = DIRECTORY_SEPARATOR;
24
	const SERVICE_DEFAUT = 'carte-defaut';
24
	const SERVICE_DEFAUT = 'carte-defaut';
Line 25... Line 25...
25
	
25
	
26
	/**
26
	/**
27
	 * Méthode appelée avec une requête de type GET.
27
	 * Méthode appelée avec une requête de type GET.
28
	 */
28
	 */
29
	public function executer() {
29
	public function executer() {
30
		$retour = null;
30
		$retour = null;
Line 31... Line 31...
31
		extract($this->parametres);
31
		extract($this->parametres);
32
 
32
 
33
		if (!isset($methode)) {
33
		if (!isset($carte)) {
Line 34... Line 34...
34
			$methode = self::SERVICE_DEFAUT;
34
			$carte = self::SERVICE_DEFAUT;
35
		}
35
		}
36
		
36