1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
- |
|
2 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
3 |
<html xmlns="http://www.w3.org/1999/xhtml">
|
3 |
<head>
|
4 |
<head>
|
4 |
<title>Observations publiques du CEL - Tela Botanica</title>
|
5 |
<title>Observations publiques du CEL - Tela Botanica</title>
|
5 |
|
6 |
|
6 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
7 |
<meta http-equiv="content-type" content="text/html; charset=UTF-8"/>
|
7 |
<meta http-equiv="Content-style-type" content="text/css" />
|
8 |
<meta http-equiv="Content-style-type" content="text/css" />
|
8 |
<meta http-equiv="Content-script-type" content="text/javascript" />
|
9 |
<meta http-equiv="Content-script-type" content="text/javascript" />
|
9 |
<meta http-equiv="Content-language" content="fr" />
|
10 |
<meta http-equiv="Content-language" content="fr" />
|
10 |
|
11 |
|
11 |
<meta name="revisit-after" content="15 days" />
|
12 |
<meta name="revisit-after" content="15 days" />
|
12 |
<meta name="robots" content="index,follow" />
|
13 |
<meta name="robots" content="index,follow" />
|
13 |
<meta name="author" content="Delphine CAUQUIL, Jean-Pascal MILCENT" />
|
14 |
<meta name="author" content="Delphine CAUQUIL, Jean-Pascal MILCENT" />
|
14 |
<meta name="keywords" content="Tela Botanica, cartographie, CEL" />
|
15 |
<meta name="keywords" content="Tela Botanica, cartographie, CEL" />
|
15 |
<meta name="description" content="Widget de cartographie des observations publiques de plantes saisies dans le Carnet en Ligne (CEL)" />
|
16 |
<meta name="description" content="Widget de cartographie des observations publiques de plantes saisies dans le Carnet en Ligne (CEL)" />
|
16 |
|
17 |
|
17 |
<!-- Spécial mobile -->
|
18 |
<!-- Spécial mobile -->
|
18 |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
19 |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
|
19 |
|
20 |
|
20 |
<!-- Favicones -->
|
21 |
<!-- Favicones -->
|
21 |
<link rel="icon" type="image/png" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.png" />
|
22 |
<link rel="icon" type="image/png" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.png" />
|
22 |
<link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.ico" />
|
23 |
<link rel="shortcut icon" type="image/x-icon" href="http://www.tela-botanica.org/sites/commun/generique/images/favicones/tela_botanica.ico" />
|
23 |
|
24 |
|
24 |
<!-- Javascript : bibliothèques -->
|
25 |
<!-- Javascript : bibliothèques -->
|
25 |
<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.3&sensor=true"></script>
|
26 |
<script type="text/javascript" src="http://maps.google.com/maps/api/js?v=3.3&sensor=true"></script>
|
26 |
<script type="text/javascript" src="<?=$url_base?>modules/carto/squelettes/markerclusterer_compiled.js"></script>
|
27 |
<script type="text/javascript" src="<?=$url_base?>modules/carto/squelettes/markerclusterer_compiled.js"></script>
|
27 |
<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/<?=$jquery_version?>/jquery-<?=$jquery_version?>.min.js"></script>
|
28 |
<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/<?=$jquery_version?>/jquery-<?=$jquery_version?>.min.js"></script>
|
28 |
<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/tablesorter/2.0.5/jquery.tablesorter.min.js"></script>
|
29 |
<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/tablesorter/2.0.5/jquery.tablesorter.min.js"></script>
|
- |
|
30 |
<script type="text/javascript" src="http://www.tela-botanica.org/commun/jquery/fancybox/1.3.4/jquery.fancybox-1.3.4.pack.js"></script>
|
29 |
|
31 |
|
30 |
<!-- Javascript : données -->
|
32 |
<!-- Javascript : données -->
|
31 |
<script src="<?=$url_json?>" type="text/javascript"></script>
|
33 |
<script src="<?=$url_json?>" type="text/javascript"></script>
|
32 |
|
34 |
|
33 |
<!-- Javascript : appli carto -->
|
35 |
<!-- Javascript : appli carto -->
|
34 |
<script type="text/javascript">
|
36 |
<script type="text/javascript">
|
35 |
//<![CDATA[
|
37 |
//<![CDATA[
|
36 |
var pointImageUrl = 'http://chart.apis.google.com/chart?cht=mm&chs=24x32&chco=FFFFFF,008CFF,000000&ext=.png';
|
38 |
var pointImageUrl = 'http://chart.apis.google.com/chart?cht=mm&chs=24x32&chco=FFFFFF,008CFF,000000&ext=.png';
|
37 |
var pointsOrigine = null;
|
39 |
var pointsOrigine = null;
|
38 |
var boundsOrigine = null;
|
40 |
var boundsOrigine = null;
|
39 |
var markerClusterer = null;
|
41 |
var markerClusterer = null;
|
40 |
var map = null;
|
42 |
var map = null;
|
41 |
var nt = '<?=$num_taxon?>';
|
43 |
var nt = '<?=$num_taxon?>';
|
42 |
var infoBulle = new google.maps.InfoWindow();
|
44 |
var infoBulle = new google.maps.InfoWindow();
|
43 |
google.maps.event.addListener(infoBulle, 'domready', function() {
|
45 |
google.maps.event.addListener(infoBulle, 'domready', function() {
|
44 |
if ($("#observations table").get() != 'undefined') {
|
46 |
if ($("#observations table").get() != 'undefined') {
|
45 |
$("#observations table").tablesorter();
|
47 |
$("#observations table").tablesorter();
|
46 |
}
|
48 |
}
|
47 |
});
|
49 |
});
|
48 |
var carteCentre = new google.maps.LatLng(46.4, 3.10);
|
50 |
var carteCentre = new google.maps.LatLng(46.4, 3.10);
|
49 |
var carteOptions = {
|
51 |
var carteOptions = {
|
50 |
zoom: 6,
|
52 |
zoom: 6,
|
51 |
mapTypeId: google.maps.MapTypeId.ROADMAP,
|
53 |
mapTypeId: google.maps.MapTypeId.ROADMAP,
|
52 |
mapTypeControlOptions: {
|
54 |
mapTypeControlOptions: {
|
53 |
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}
|
55 |
style: google.maps.MapTypeControlStyle.DROPDOWN_MENU}
|
54 |
};
|
56 |
};
|
55 |
var ctaLayer = null;
|
57 |
var ctaLayer = null;
|
56 |
|
58 |
|
57 |
function refreshMap() {
|
59 |
function refreshMap() {
|
58 |
var points = [];
|
60 |
var points = [];
|
59 |
var bounds = new google.maps.LatLngBounds();
|
61 |
var bounds = new google.maps.LatLngBounds();
|
60 |
for (var i = 0; i < obs.nombre; ++i) {
|
62 |
for (var i = 0; i < obs.nombre; ++i) {
|
61 |
var maLatLng = new google.maps.LatLng(obs.points[i].coord_x, obs.points[i].coord_y);
|
63 |
var maLatLng = new google.maps.LatLng(obs.points[i].coord_x, obs.points[i].coord_y);
|
62 |
var pointImage = new google.maps.MarkerImage(pointImageUrl, new google.maps.Size(24, 32));
|
64 |
var pointImage = new google.maps.MarkerImage(pointImageUrl, new google.maps.Size(24, 32));
|
63 |
var point = new google.maps.Marker({
|
65 |
var point = new google.maps.Marker({
|
64 |
position: maLatLng,
|
66 |
position: maLatLng,
|
65 |
map: map,
|
67 |
map: map,
|
66 |
icon: pointImage,
|
68 |
icon: pointImage,
|
67 |
stationId: obs.points[i].id
|
69 |
stationId: obs.points[i].id
|
68 |
});
|
70 |
});
|
69 |
|
71 |
|
70 |
bounds.extend(maLatLng);
|
72 |
bounds.extend(maLatLng);
|
71 |
|
73 |
|
72 |
google.maps.event.addListener(point, 'click', function() {
|
74 |
google.maps.event.addListener(point, 'click', function() {
|
73 |
afficherMsgChargement();
|
75 |
afficherMsgChargement();
|
74 |
infoBulle.open(map, this);
|
76 |
infoBulle.open(map, this);
|
75 |
chargerFormatObs(this.stationId, '*');
|
77 |
chargerFormatObs(this.stationId, '*');
|
76 |
});
|
78 |
});
|
77 |
|
79 |
|
78 |
points.push(point);
|
80 |
points.push(point);
|
79 |
}
|
81 |
}
|
80 |
|
82 |
|
81 |
if (pointsOrigine == null && boundsOrigine == null) {
|
83 |
if (pointsOrigine == null && boundsOrigine == null) {
|
82 |
pointsOrigine = points;
|
84 |
pointsOrigine = points;
|
83 |
boundsOrigine = bounds;
|
85 |
boundsOrigine = bounds;
|
84 |
}
|
86 |
}
|
85 |
|
87 |
|
86 |
executerMarkerClusterer(points, bounds);
|
88 |
executerMarkerClusterer(points, bounds);
|
87 |
}
|
89 |
}
|
88 |
|
90 |
|
89 |
function executerMarkerClusterer(points, bounds) {
|
91 |
function executerMarkerClusterer(points, bounds) {
|
90 |
if (markerClusterer) {
|
92 |
if (markerClusterer) {
|
91 |
markerClusterer.clearMarkers();
|
93 |
markerClusterer.clearMarkers();
|
92 |
}
|
94 |
}
|
93 |
markerClusterer = new MarkerClusterer(map, points);
|
95 |
markerClusterer = new MarkerClusterer(map, points);
|
94 |
map.fitBounds(bounds);
|
96 |
map.fitBounds(bounds);
|
95 |
}
|
97 |
}
|
96 |
|
98 |
|
97 |
function afficherMsgChargement() {
|
99 |
function afficherMsgChargement() {
|
98 |
var chargement = document.getElementById('chargement').cloneNode(true);
|
100 |
var chargement = document.getElementById('chargement').cloneNode(true);
|
99 |
chargement.setAttribute('id', 'chargement-copie');
|
101 |
chargement.setAttribute('id', 'chargement-copie');
|
100 |
infoBulle.setContent(chargement);
|
102 |
infoBulle.setContent(chargement);
|
101 |
}
|
103 |
}
|
102 |
|
104 |
|
103 |
function chargerFormatObs(stationId, format) {
|
105 |
function chargerFormatObs(stationId, format) {
|
104 |
var url = '<?=$url_base?>carto?carte=observations'+
|
106 |
var url = '<?=$url_base?>carto?carte=observations'+
|
105 |
'&utilisateur=<?=$utilisateur?>'+
|
107 |
'&utilisateur=<?=$utilisateur?>'+
|
106 |
'&projet=<?=$projet?>'+
|
108 |
'&projet=<?=$projet?>'+
|
107 |
'&num_taxon='+nt+
|
109 |
'&num_taxon='+nt+
|
108 |
'&dept=<?=$dept?>'+
|
110 |
'&dept=<?=$dept?>'+
|
109 |
'&format='+format+'&station='+stationId;
|
111 |
'&format='+format+'&station='+stationId;
|
110 |
$.get(url, function(observations){
|
112 |
$.get(url, function(observations){
|
111 |
infoBulle.setContent(observations);
|
113 |
infoBulle.setContent(observations);
|
112 |
});
|
114 |
});
|
113 |
}
|
115 |
}
|
114 |
|
116 |
|
115 |
function arreter(event) {
|
117 |
function arreter(event) {
|
116 |
if (event.stopPropagation) {
|
118 |
if (event.stopPropagation) {
|
117 |
event.stopPropagation();
|
119 |
event.stopPropagation();
|
118 |
}
|
120 |
}
|
119 |
return false;
|
121 |
return false;
|
120 |
}
|
122 |
}
|
121 |
|
123 |
|
122 |
function afficher() {
|
124 |
function afficher() {
|
123 |
document.getElementById('panneau-lateral').style.width = '300px';
|
125 |
document.getElementById('panneau-lateral').style.width = '300px';
|
124 |
document.getElementById('pl-contenu').style.display = 'block';
|
126 |
document.getElementById('pl-contenu').style.display = 'block';
|
125 |
document.getElementById('pl-ouverture').style.display = 'none';
|
127 |
document.getElementById('pl-ouverture').style.display = 'none';
|
126 |
document.getElementById('pl-fermeture').style.display = 'block';
|
128 |
document.getElementById('pl-fermeture').style.display = 'block';
|
127 |
document.getElementById('carte').style.left = '300px';
|
129 |
document.getElementById('carte').style.left = '300px';
|
128 |
google.maps.event.trigger(map, 'resize');
|
130 |
google.maps.event.trigger(map, 'resize');
|
129 |
};
|
131 |
};
|
130 |
|
132 |
|
131 |
function cacher() {
|
133 |
function cacher() {
|
132 |
document.getElementById('panneau-lateral').style.width = '24px';
|
134 |
document.getElementById('panneau-lateral').style.width = '24px';
|
133 |
document.getElementById('pl-contenu').style.display = 'none';
|
135 |
document.getElementById('pl-contenu').style.display = 'none';
|
134 |
document.getElementById('pl-ouverture').style.display = 'block';
|
136 |
document.getElementById('pl-ouverture').style.display = 'block';
|
135 |
document.getElementById('pl-fermeture').style.display = 'none';
|
137 |
document.getElementById('pl-fermeture').style.display = 'none';
|
136 |
document.getElementById('carte').style.left = '24px';
|
138 |
document.getElementById('carte').style.left = '24px';
|
137 |
google.maps.event.trigger(map, 'resize');
|
139 |
google.maps.event.trigger(map, 'resize');
|
138 |
};
|
140 |
};
|
139 |
|
141 |
|
140 |
function ouvrirPopUp(url, nom) {
|
142 |
function ouvrirPopUp(url, nom) {
|
141 |
window.open(url, nom, 'directories=no, location=no, menubar=no, scrollbars=yes, status=no, toolbar=no, width=650,height=600');
|
143 |
window.open(url, nom, 'directories=no, location=no, menubar=no, scrollbars=yes, status=no, toolbar=no, width=650,height=600');
|
142 |
};
|
144 |
};
|
143 |
|
145 |
|
144 |
function filtrerParTaxon(ntAFiltrer) {
|
146 |
function filtrerParTaxon(ntAFiltrer) {
|
145 |
infoBulle.close();
|
147 |
infoBulle.close();
|
146 |
$('#taxon-'+nt).removeClass('taxon-actif');
|
148 |
$('#taxon-'+nt).removeClass('taxon-actif');
|
147 |
if (nt == ntAFiltrer) {
|
149 |
if (nt == ntAFiltrer) {
|
148 |
nt = '*';
|
150 |
nt = '*';
|
149 |
executerMarkerClusterer(pointsOrigine, boundsOrigine);
|
151 |
executerMarkerClusterer(pointsOrigine, boundsOrigine);
|
150 |
} else {
|
152 |
} else {
|
151 |
var url = '<?=$url_cel_carto?>/carte-defaut-json/<?=$utilisateur?>/<?=$projet?>/<?=$dept?>/'+ntAFiltrer+'?formatRetour=jsonp&callback=?';
|
153 |
var url = '<?=$url_cel_carto?>/carte-defaut-json/<?=$utilisateur?>/<?=$projet?>/<?=$dept?>/'+ntAFiltrer+'?formatRetour=jsonp&callback=?';
|
152 |
$.getJSON(url, function (observations) {
|
154 |
$.getJSON(url, function (observations) {
|
153 |
obs = observations;
|
155 |
obs = observations;
|
154 |
nt = ntAFiltrer;
|
156 |
nt = ntAFiltrer;
|
155 |
$('#taxon-'+nt).addClass('taxon-actif');
|
157 |
$('#taxon-'+nt).addClass('taxon-actif');
|
156 |
refreshMap();
|
158 |
refreshMap();
|
157 |
});
|
159 |
});
|
158 |
}
|
160 |
}
|
159 |
};
|
161 |
};
|
160 |
|
162 |
|
161 |
function initialize() {
|
163 |
function initialize() {
|
162 |
map = new google.maps.Map(document.getElementById('carte'), carteOptions);
|
164 |
map = new google.maps.Map(document.getElementById('carte'), carteOptions);
|
163 |
|
165 |
|
164 |
// Ajout des limites communales sur la carte
|
166 |
// Ajout des limites communales sur la carte
|
165 |
<? if (isset($url_limites_communales)) : ?>
|
167 |
<? if (isset($url_limites_communales)) : ?>
|
166 |
<? foreach ($url_limites_communales as $url) : ?>
|
168 |
<? foreach ($url_limites_communales as $url) : ?>
|
167 |
ctaLayer = new google.maps.KmlLayer('<?=$url?>');
|
169 |
ctaLayer = new google.maps.KmlLayer('<?=$url?>');
|
168 |
ctaLayer.setMap(map);
|
170 |
ctaLayer.setMap(map);
|
169 |
<? endforeach; ?>
|
171 |
<? endforeach; ?>
|
170 |
<? endif; ?>
|
172 |
<? endif; ?>
|
171 |
|
173 |
|
172 |
var ouvertureDiv = document.getElementById('pl-ouverture');
|
174 |
var ouvertureDiv = document.getElementById('pl-ouverture');
|
173 |
google.maps.event.addDomListener(ouvertureDiv, 'click', afficher);
|
175 |
google.maps.event.addDomListener(ouvertureDiv, 'click', afficher);
|
174 |
|
176 |
|
175 |
var fermetureDiv = document.getElementById('pl-fermeture');
|
177 |
var fermetureDiv = document.getElementById('pl-fermeture');
|
176 |
google.maps.event.addDomListener(fermetureDiv, 'click', cacher);
|
178 |
google.maps.event.addDomListener(fermetureDiv, 'click', cacher);
|
177 |
|
179 |
|
178 |
|
180 |
|
179 |
refreshMap();
|
181 |
refreshMap();
|
180 |
}
|
182 |
}
|
181 |
|
183 |
|
182 |
// Déclenchement d'actions pour JQuery
|
184 |
// Déclenchement d'actions pour JQuery
|
183 |
$(document).ready(function() {
|
185 |
$(document).ready(function() {
|
184 |
// Ajout du nombre de communes où des observations ont eu lieu
|
186 |
// Ajout du nombre de communes où des observations ont eu lieu
|
185 |
$('#commune-nbre').append(obs.nombre);
|
187 |
$('#commune-nbre').append(obs.nombre);
|
186 |
});
|
188 |
});
|
187 |
//]]>
|
189 |
//]]>
|
188 |
</script>
|
190 |
</script>
|
189 |
|
191 |
|
190 |
<!-- CSS -->
|
192 |
<!-- CSS -->
|
191 |
<link href="<?=$url_base?>modules/carto/squelettes/css/carto.css" rel="stylesheet" type="text/css" media="screen" />
|
193 |
<link href="<?=$url_base?>modules/carto/squelettes/css/carto.css" rel="stylesheet" type="text/css" media="screen" />
|
- |
|
194 |
<link rel="stylesheet" href="http://www.tela-botanica.org/commun/jquery/fancybox/1.3.4/jquery.fancybox-1.3.4.css" type="text/css" media="screen" />
|
192 |
|
195 |
|
193 |
<!--[if lt IE 7]>
|
196 |
<!--[if lt IE 7]>
|
194 |
<style type="text/css">
|
197 |
<style type="text/css">
|
195 |
#carte {
|
198 |
#carte {
|
196 |
height:expression(document.body.clientHeight-35); /* 80+20+20=120 */
|
199 |
height:expression(document.body.clientHeight-35); /* 80+20+20=120 */
|
197 |
width:expression(document.body.clientWidth-24); /* 200+20+20+20=260 */
|
200 |
width:expression(document.body.clientWidth-24); /* 200+20+20+20=260 */
|
198 |
}
|
201 |
}
|
199 |
#panneau-lateral {
|
202 |
#panneau-lateral {
|
200 |
height:expression(document.body.clientHeight-35); /* 80+20+20=120 */
|
203 |
height:expression(document.body.clientHeight-35); /* 80+20+20=120 */
|
201 |
}
|
204 |
}
|
202 |
</style>
|
205 |
</style>
|
203 |
<![endif]-->
|
206 |
<![endif]-->
|
204 |
|
207 |
|
205 |
<!-- Stats : Google Analytics -->
|
208 |
<!-- Stats : Google Analytics -->
|
206 |
<script type="text/javascript">
|
209 |
<script type="text/javascript">
|
207 |
//<![CDATA[
|
210 |
//<![CDATA[
|
208 |
var _gaq = _gaq || [];
|
211 |
var _gaq = _gaq || [];
|
209 |
_gaq.push(['_setAccount', 'UA-20092557-1']);
|
212 |
_gaq.push(['_setAccount', 'UA-20092557-1']);
|
210 |
_gaq.push(['_trackPageview']);
|
213 |
_gaq.push(['_trackPageview']);
|
211 |
|
214 |
|
212 |
(function() {
|
215 |
(function() {
|
213 |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
216 |
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
|
214 |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
217 |
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
|
215 |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
218 |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
|
216 |
})();
|
219 |
})();
|
217 |
//]]>
|
220 |
//]]>
|
218 |
</script>
|
221 |
</script>
|
219 |
</head>
|
222 |
</head>
|
220 |
|
223 |
|
221 |
<body onload="initialize()">
|
224 |
<body onload="initialize()">
|
222 |
<div id="zone-titre">
|
225 |
<div id="zone-titre">
|
223 |
<h1 id="carte-titre">
|
226 |
<h1 id="carte-titre">
|
224 |
<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>
|
227 |
<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>
|
225 |
</h1>
|
228 |
</h1>
|
226 |
<div id="zone-info">
|
229 |
<div id="zone-info">
|
227 |
<a href="<?=$url_base?>carto?carte=avertissement" onClick="ouvrirPopUp('<?=$url_base?>carto?carte=avertissement', 'Avertissement'); arreter(event); return false;">
|
230 |
<a href="<?=$url_base?>carto?carte=avertissement" onClick="ouvrirPopUp('<?=$url_base?>carto?carte=avertissement', 'Avertissement'); arreter(event); return false;">
|
228 |
<img src="<?=$url_base?>modules/carto/squelettes/images/information.png"
|
231 |
<img src="<?=$url_base?>modules/carto/squelettes/images/information.png"
|
229 |
alt="Avertissements" title="Avertissements & informations" />
|
232 |
alt="Avertissements" title="Avertissements & informations" />
|
230 |
</a>
|
233 |
</a>
|
231 |
</div>
|
234 |
</div>
|
232 |
</div>
|
235 |
</div>
|
233 |
<div id="panneau-lateral">
|
236 |
<div id="panneau-lateral">
|
234 |
<div id="pl-ouverture" title="Ouvrir le panneau latéral"><span>Panneau >></span></div>
|
237 |
<div id="pl-ouverture" title="Ouvrir le panneau latéral"><span>Panneau >></span></div>
|
235 |
<div id="pl-fermeture" title="Fermer le panneau latéral"><span><< Fermer [x]</span></div>
|
238 |
<div id="pl-fermeture" title="Fermer le panneau latéral"><span><< Fermer [x]</span></div>
|
236 |
<div id="pl-contenu">
|
239 |
<div id="pl-contenu">
|
237 |
<div id="pl-entete">
|
240 |
<div id="pl-entete">
|
238 |
<h2>Filtre par plante</h2>
|
241 |
<h2>Filtre par plante</h2>
|
239 |
<p>
|
242 |
<p>
|
240 |
Cliquez sur un nom de plante pour filtrer les observations sur la carte.<br />
|
243 |
Cliquez sur un nom de plante pour filtrer les observations sur la carte.<br />
|
241 |
Pour revenir à l'état initial, cliquez à nouveau sur le nom sélectionné.
|
244 |
Pour revenir à l'état initial, cliquez à nouveau sur le nom sélectionné.
|
242 |
</p>
|
245 |
</p>
|
243 |
</div>
|
246 |
</div>
|
244 |
<div id="pl-corps" onMouseOver="map.setOptions({'scrollwheel':false});" onMouseOut="map.setOptions({'scrollwheel':true});">
|
247 |
<div id="pl-corps" onMouseOver="map.setOptions({'scrollwheel':false});" onMouseOut="map.setOptions({'scrollwheel':true});">
|
245 |
<ol id="taxons">
|
248 |
<ol id="taxons">
|
246 |
<? foreach ($taxons as $taxon) : ?>
|
249 |
<? foreach ($taxons as $taxon) : ?>
|
247 |
<li id="taxon-<?=$taxon['nt']?>">
|
250 |
<li id="taxon-<?=$taxon['nt']?>">
|
248 |
<a href="#" onclick="filtrerParTaxon(<?=$taxon['nt']?>);" title="<?=$taxon['famille']?>">
|
251 |
<a href="#" onclick="filtrerParTaxon(<?=$taxon['nt']?>);" title="<?=$taxon['famille']?>">
|
249 |
<?=$taxon['nom']?>
|
252 |
<?=$taxon['nom']?>
|
250 |
</a>
|
253 |
</a>
|
251 |
</li>
|
254 |
</li>
|
252 |
<? endforeach; ?>
|
255 |
<? endforeach; ?>
|
253 |
</ol>
|
256 |
</ol>
|
254 |
</div>
|
257 |
</div>
|
255 |
</div>
|
258 |
</div>
|
256 |
</div>
|
259 |
</div>
|
257 |
<div id="carte"></div>
|
260 |
<div id="carte"></div>
|
258 |
|
261 |
|
259 |
<!-- Blocs chargés à la demande : par défaut avec un style display à none -->
|
262 |
<!-- Blocs chargés à la demande : par défaut avec un style display à none -->
|
260 |
<div id="chargement">
|
263 |
<div id="chargement">
|
261 |
<img src="<?=$url_base?>modules/carto/squelettes/images/chargement.gif" alt="Chargement en cours..." />
|
264 |
<img src="<?=$url_base?>modules/carto/squelettes/images/chargement.gif" alt="Chargement en cours..." />
|
262 |
<p>Chargement des observations en cours...</p>
|
265 |
<p>Chargement des observations en cours...</p>
|
263 |
</div>
|
266 |
</div>
|
264 |
</body>
|
267 |
</body>
|
265 |
</html>
|
268 |
</html>
|