From 60e87507e2a59d26c5cd677adab7b52e7b7b354d Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Sun, 4 Dec 2011 15:47:42 +0100 Subject: [PATCH] Ombres basees sur le logo de survol --- contenu/page-carte_de_sites.html | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/contenu/page-carte_de_sites.html b/contenu/page-carte_de_sites.html index 0f4ed89..cdd9b62 100644 --- a/contenu/page-carte_de_sites.html +++ b/contenu/page-carte_de_sites.html @@ -29,19 +29,20 @@ map.setView(new L.LatLng(46.8, 2.52), 5).addLayer(cloudmade); - var WorkshopIcon = L.Icon.extend({ - iconUrl: '#CONFIG{adresse_site}/plugins/carte-de-sites/images/grey.png', - shadowUrl: '#CONFIG{adresse_site}/lib/CloudMade-Leaflet-404b097/dist/images/marker-shadow.png', - iconSize: new L.Point(25, 41), - shadowSize: new L.Point(41, 41), - iconAnchor: new L.Point(13, 41), - popupAnchor: new L.Point(0, -33) - }); + - siteIcon = new WorkshopIcon('#CONFIG{adresse_site}/IMG/[(#LOGO_MOT|fichier)]','#CONFIG{adresse_site}/IMG/[(#LOGO_MOT_SURVOL|fichier)]') + var WorkshopIcon = L.Icon.extend({ + iconUrl: '#CONFIG{adresse_site}/IMG/[(#LOGO_MOT|fichier)]', + shadowUrl: '#CONFIG{adresse_site}/IMG/[(#LOGO_MOT_SURVOL|fichier)]', + iconSize: new L.Point(25, 41), + shadowSize: new L.Point(41, 41), + iconAnchor: new L.Point(13, 41), + popupAnchor: new L.Point(0, -33) + }); + siteIcon = new WorkshopIcon() 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)]"); -- 2.20.1