Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

divIcon seems don't work #9

Open
MoulinZ opened this issue Apr 2, 2020 · 0 comments
Open

divIcon seems don't work #9

MoulinZ opened this issue Apr 2, 2020 · 0 comments

Comments

@MoulinZ
Copy link

MoulinZ commented Apr 2, 2020

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant