storymap icon indicating copy to clipboard operation
storymap copied to clipboard

divIcon seems don't work

Open MoulinZ opened this issue 4 years ago • 0 comments

Hi, and thank you for this awesome library. I'm trying to add divIcon on a map, but it seems that not working.

onEachFeature: function (feature, layer) {
   return L.marker([feature.properties.labelx, feature.properties.labely], {icon: L.divIcon({
       className: 'labelDiocese', 
       html: feature.properties.nom
   })});
}

I've no error on my console, but div not appear. Is it storymap configuration or me ?

MoulinZ avatar Apr 02 '20 13:04 MoulinZ