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

Store different opacity when unclustered #890

Merged
merged 1 commit into from
Apr 19, 2018
Merged

Conversation

r-yanyo
Copy link
Contributor

@r-yanyo r-yanyo commented Apr 18, 2018

Following code store opacity number 1 if this.options.opacity equals 0, but the number 0 should be stored.

this.options.opacityWhenUnclustered = this.options.opacity || 1;

Therefore, need to check if it's number or not before stored.

@danzel
Copy link
Member

danzel commented Apr 19, 2018

Good catch!

@danzel danzel merged commit 79441a6 into Leaflet:master Apr 19, 2018
Exilz pushed a commit to archriss/Leaflet.markercluster that referenced this pull request Jul 6, 2018
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

Successfully merging this pull request may close these issues.

2 participants