From: Ludovic CHEVALIER Date: Fri, 2 Dec 2011 17:33:52 +0000 (+0100) Subject: Premier jet sur les ombres a partir du logo de survol X-Git-Tag: v0.5~45 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fspip_carte_de_sites.git;a=commitdiff_plain;h=ac2ea3cf7d05fec266a70f02d1ad6115836b6f98;hp=d2e384b83a080bf5e13ae173e7f428197ed45f5a Premier jet sur les ombres a partir du logo de survol --- diff --git a/contenu/page-carte_de_sites.html b/contenu/page-carte_de_sites.html index dd3360f..0f4ed89 100644 --- a/contenu/page-carte_de_sites.html +++ b/contenu/page-carte_de_sites.html @@ -38,23 +38,16 @@ popupAnchor: new L.Point(0, -33) }); - var greyIcon = new WorkshopIcon() - redIcon = new WorkshopIcon('#CONFIG{adresse_site}/plugins/carte-de-sites/images/red.png'), - yellowIcon = new WorkshopIcon('#CONFIG{adresse_site}/plugins/carte-de-sites/images/yellow.png'), - blueIcon = new WorkshopIcon('#CONFIG{adresse_site}/plugins/carte-de-sites/images/blue.png'), - greenIcon = new WorkshopIcon('#CONFIG{adresse_site}/plugins/carte-de-sites/images/green.png'); - - - - - - siteIcon = new WorkshopIcon('#CONFIG{adresse_site}/IMG/[(#LOGO_MOT|fichier)]') - var markerAtelier = new L.Marker(new L.LatLng(#LAT, #LON), {icon: siteIcon}); - map.addLayer(markerAtelier); - markerAtelier.bindPopup("#NOM_SITE
#_sites:DESCRIPTIF
#ADRESSE
#CODE_POSTAL #VILLE

Statut: [(#_ateliers_types:TITRE|supprimer_numero)]"); - - - + + + + siteIcon = new WorkshopIcon('#CONFIG{adresse_site}/IMG/[(#LOGO_MOT|fichier)]','#CONFIG{adresse_site}/IMG/[(#LOGO_MOT_SURVOL|fichier)]') + var markerAtelier = new L.Marker(new L.LatLng(#LAT, #LON), {icon: siteIcon}); + map.addLayer(markerAtelier); + markerAtelier.bindPopup("#NOM_SITE
#_sites:DESCRIPTIF
#ADRESSE
#CODE_POSTAL #VILLE

Statut: [(#_ateliers_types:TITRE|supprimer_numero)]"); + + + map.on('click', onMapClick);