8,6 → 8,7 |
private $carte = ''; |
private $departement = ''; |
|
private $clustering = true; |
|
/** |
* Methode appelee par defaut pour executer ce widget |
39,6 → 40,7 |
$this->carte = (isset($carte) ? $carte : self::SERVICE_CARTO_ACTION_DEFAUT); |
$this->departement = (isset($dept) ? $dept : '*'); |
$this->pays = (isset($pays) ? $pays : '*'); |
$this->clustering = (isset($clustering) ? (bool)$clustering : $this->clustering); |
} |
|
/** |
53,6 → 55,7 |
$widget['donnees']['url_page_fiche'] = $this->config['carto']["urlPageFiche"]; |
$widget['donnees']['departement'] = $this->departement; |
$widget['donnees']['pays'] = $this->pays; |
$widget['donnees']['clustering'] = $this->clustering; |
$widget['squelette'] = 'carto'; |
return $widget; |
} |