Subversion Repositories eFlore/Applications.eflore-consultation

Compare Revisions

Ignore whitespace Rev 360 → Rev 361

/trunk/metier/api_0.1/Cartes.php
24,6 → 24,10
public function setLargeur($largeur) {
$this->largeur = $largeur;
}
public function setInfoNom($nom) {
$this->nom = $nom;
}
 
public function getUrlDataSvg() {
$tpl = Config::get('carteTpl');
38,6 → 42,15
$url = $this->formaterUrl($tpl, $params);
return $url;
}
public function getUrlMap() {
$tpl = Config::get('efloreCarteTpl');
$params = array('num_nom' => $this->nom->get('id'), 'num_tax' => $this->nom->get('num_taxonomique') ,
'nom_sci' => $this->nom->get('nom_sci'), 'auteur' => $this->nom->get('auteur') ,
'largeur' => $this->largeur, 'mime_type' => 'text/htm');
$url = $this->formaterUrl($tpl, $params);
return $url;
}
 
public function getLegende() {
$tpl = Config::get('legendeCarteTpl');