| Line 187... |
Line 187... |
| 187 |
ctaLayer = new google.maps.KmlLayer('<?=$url?>', {preserveViewport: true});
|
187 |
ctaLayer = new google.maps.KmlLayer('<?=$url?>', {preserveViewport: true});
|
| 188 |
ctaLayer.setMap(map);
|
188 |
ctaLayer.setMap(map);
|
| 189 |
<? endforeach; ?>
|
189 |
<? endforeach; ?>
|
| 190 |
<? endif; ?>
|
190 |
<? endif; ?>
|
| Line -... |
Line 191... |
| - |
|
191 |
|
| 191 |
|
192 |
<? if ($num_taxon == '*') : ?>
|
| 192 |
var ouvertureDiv = document.getElementById('pl-ouverture');
|
193 |
var ouvertureDiv = document.getElementById('pl-ouverture');
|
| Line 193... |
Line 194... |
| 193 |
google.maps.event.addDomListener(ouvertureDiv, 'click', afficher);
|
194 |
google.maps.event.addDomListener(ouvertureDiv, 'click', afficher);
|
| 194 |
|
195 |
|
| 195 |
var fermetureDiv = document.getElementById('pl-fermeture');
|
196 |
var fermetureDiv = document.getElementById('pl-fermeture');
|
| Line 196... |
Line 197... |
| 196 |
google.maps.event.addDomListener(fermetureDiv, 'click', cacher);
|
197 |
google.maps.event.addDomListener(fermetureDiv, 'click', cacher);
|
| 197 |
|
198 |
<? endif ?>
|
| Line 198... |
Line 199... |
| 198 |
|
199 |
|
| Line 221... |
Line 222... |
| 221 |
height:expression(document.body.clientHeight-35); /* 80+20+20=120 */
|
222 |
height:expression(document.body.clientHeight-35); /* 80+20+20=120 */
|
| 222 |
}
|
223 |
}
|
| 223 |
</style>
|
224 |
</style>
|
| 224 |
<![endif]-->
|
225 |
<![endif]-->
|
| Line -... |
Line 226... |
| - |
|
226 |
|
| - |
|
227 |
<? if ($num_taxon != '*') : ?>
|
| - |
|
228 |
<style type="text/css">
|
| - |
|
229 |
#carte {
|
| - |
|
230 |
left:0;
|
| - |
|
231 |
}
|
| - |
|
232 |
</style>
|
| - |
|
233 |
<? endif ?>
|
| 225 |
|
234 |
|
| 226 |
<!-- Stats : Google Analytics -->
|
235 |
<!-- Stats : Google Analytics -->
|
| 227 |
<script type="text/javascript">
|
236 |
<script type="text/javascript">
|
| 228 |
//<![CDATA[
|
237 |
//<![CDATA[
|
| 229 |
var _gaq = _gaq || [];
|
238 |
var _gaq = _gaq || [];
|
| Line 240... |
Line 249... |
| 240 |
</head>
|
249 |
</head>
|
| Line 241... |
Line 250... |
| 241 |
|
250 |
|
| 242 |
<body onload="initialize()">
|
251 |
<body onload="initialize()">
|
| 243 |
<div id="zone-titre">
|
252 |
<div id="zone-titre">
|
| - |
|
253 |
<h1 id="carte-titre">
|
| 244 |
<h1 id="carte-titre">
|
254 |
<? if ($num_taxon == '*') : ?>
|
| - |
|
255 |
<span id="commune-nbre"> </span> communes contenant des observations du <a href="http://www.tela-botanica.org/appli:cel" title="Carnet en Ligne" onclick="window.open(this.href); arreter(event); return false;">CEL</a> de <a href="http://www.tela-botanica.org/" onclick="window.open(this.href); arreter(event); return false;">Tela Botanica</a>
|
| - |
|
256 |
<? else : ?>
|
| - |
|
257 |
<span id="commune-nbre"> </span> communes pour <?=$taxon_nom?> - <a href="http://www.tela-botanica.org/appli:cel" title="Carnet en Ligne" onclick="window.open(this.href); arreter(event); return false;">CEL</a> de <a href="http://www.tela-botanica.org/" onclick="window.open(this.href); arreter(event); return false;">Tela Botanica</a>
|
| 245 |
<span id="commune-nbre"> </span> communes contenant des observations du <abbr title="Carnet en Ligne">CEL</abbr> de <a href="http://www.tela-botanica.org/" onclick="window.open(this.href); arreter(event); return false;">Tela Botanica</a>
|
258 |
<? endif ?>
|
| 246 |
</h1>
|
259 |
</h1>
|
| 247 |
<div id="zone-info">
|
260 |
<div id="zone-info">
|
| 248 |
<a href="<?=$url_base?>carto?carte=avertissement" onClick="ouvrirPopUp('<?=$url_base?>carto?carte=avertissement', 'Avertissement'); arreter(event); return false;">
|
261 |
<a href="<?=$url_base?>carto?carte=avertissement" onClick="ouvrirPopUp('<?=$url_base?>carto?carte=avertissement', 'Avertissement'); arreter(event); return false;">
|
| 249 |
<img src="<?=$url_base?>modules/carto/squelettes/images/information.png"
|
262 |
<img src="<?=$url_base?>modules/carto/squelettes/images/information.png"
|
| 250 |
alt="Avertissements" title="Avertissements & informations" />
|
263 |
alt="Avertissements" title="Avertissements & informations" />
|
| 251 |
</a>
|
264 |
</a>
|
| 252 |
</div>
|
265 |
</div>
|
| - |
|
266 |
</div>
|
| 253 |
</div>
|
267 |
<? if ($num_taxon == '*') : ?>
|
| 254 |
<div id="panneau-lateral">
|
268 |
<div id="panneau-lateral">
|
| 255 |
<div id="pl-ouverture" title="Ouvrir le panneau latéral"><span>Panneau >></span></div>
|
269 |
<div id="pl-ouverture" title="Ouvrir le panneau latéral"><span>Panneau >></span></div>
|
| 256 |
<div id="pl-fermeture" title="Fermer le panneau latéral"><span><< Fermer [x]</span></div>
|
270 |
<div id="pl-fermeture" title="Fermer le panneau latéral"><span><< Fermer [x]</span></div>
|
| 257 |
<div id="pl-contenu">
|
271 |
<div id="pl-contenu">
|
| 258 |
<div id="pl-entete">
|
272 |
<div id="pl-entete">
|
| 259 |
<h2>Filtre par plante</h2>
|
273 |
<h2>Filtre sur <?=count($taxons)?> plantes</h2>
|
| 260 |
<p>
|
274 |
<p>
|
| 261 |
Cliquez sur un nom de plante pour filtrer les observations sur la carte.<br />
|
275 |
Cliquez sur un nom de plante pour filtrer les observations sur la carte.<br />
|
| 262 |
Pour revenir à l'état initial, cliquez à nouveau sur le nom sélectionné.
|
276 |
Pour revenir à l'état initial, cliquez à nouveau sur le nom sélectionné.
|
| 263 |
</p>
|
277 |
</p>
|
| Line 273... |
Line 287... |
| 273 |
<? endforeach; ?>
|
287 |
<? endforeach; ?>
|
| 274 |
</ol>
|
288 |
</ol>
|
| 275 |
</div>
|
289 |
</div>
|
| 276 |
</div>
|
290 |
</div>
|
| 277 |
</div>
|
291 |
</div>
|
| - |
|
292 |
<? endif ?>
|
| 278 |
<div id="carte"></div>
|
293 |
<div id="carte"></div>
|
| Line 279... |
Line 294... |
| 279 |
|
294 |
|
| 280 |
<!-- Blocs chargés à la demande : par défaut avec un style display à none -->
|
295 |
<!-- Blocs chargés à la demande : par défaut avec un style display à none -->
|
| 281 |
<div id="chargement">
|
296 |
<div id="chargement">
|