Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1826 Rev 1827
Line 174... Line 174...
174
}
174
}
Line 175... Line 175...
175
 
175
 
176
function creerMarqueur(structure) {
176
function creerMarqueur(structure) {
177
	var latlng = new L.LatLng(structure.latitude, structure.longitude);
177
	var latlng = new L.LatLng(structure.latitude, structure.longitude);
178
	var marqueur = new L.Marker(latlng, {
-
 
179
		//title : structure.nom,
178
	var marqueur = new L.Marker(latlng, {
180
		structures : [structure],
179
		structures : [structure],
181
		structuresNom : structure.nom
180
		structuresNom : structure.nom
182
	});
181
	});
183
	marqueur.on('click', surClickMarqueur);
182
	marqueur.on('click', surClickMarqueur);