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

Hello World for .setIcon() #10

Closed
wboykinm opened this issue Mar 5, 2014 · 1 comment
Closed

Hello World for .setIcon() #10

wboykinm opened this issue Mar 5, 2014 · 1 comment

Comments

@wboykinm
Copy link

wboykinm commented Mar 5, 2014

Thanks for the clarity of this solution to bindPopup, however I can't seem to use the same logic to apply .setIcon():

http://bl.ocks.org/wboykinm/9374994

I've also tried specifying it in the eachLayer() function as with bindPopup, but that also fails to change the icon. This is surely a basic screwup on my end; what is it?

@tmcw
Copy link
Contributor

tmcw commented Mar 21, 2014

@tmcw tmcw closed this as completed Mar 21, 2014
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

2 participants