Subversion Repositories eFlore/Applications.coel

Rev

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

Rev 1822 Rev 1825
Line 186... Line 186...
186
function ajouterStructureAMarqueur(marqueur, structure) {
186
function ajouterStructureAMarqueur(marqueur, structure) {
187
	marqueur.options.structures.push(structure);
187
	marqueur.options.structures.push(structure);
188
	// changer la propriété title du marqueur ne fonctionne pas
188
	// changer la propriété title du marqueur ne fonctionne pas
189
	// en dehors du constructeur (mais cette méthode est-elle pérenne ?)
189
	// en dehors du constructeur (mais cette méthode est-elle pérenne ?)
190
	marqueur._icon.title += "\n"+structure.nom;
190
	marqueur._icon.title += "\n"+structure.nom;
191
	console.log(marqueur._icon);
-
 
192
}
191
}
Line 193... Line 192...
193
 
192
 
194
function surClickMarqueur(event) {
193
function surClickMarqueur(event) {
195
	var latlng = event.target.getLatLng();
194
	var latlng = event.target.getLatLng();