Skip to content

Conversation

@nicolaskruchten
Copy link
Contributor

@nicolaskruchten nicolaskruchten commented Oct 19, 2018

Closes #771

update['marker.sizeref'] = size.reduce((a, b) => Math.max(a, b)) / 2000;
update['marker.sizemode'] = 'area';
}
};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, it seems like this is a good place to put that code in.
So we can never use size.mode diameter when there's a sizeref..?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you can, you just have to set it yourself after. It's almost always the wrong thing to do tho, so I'm OK with forcing it back every time you switch that dropdown.

@VeraZab
Copy link
Contributor

VeraZab commented Oct 19, 2018

this seems good, just question above..

@nicolaskruchten nicolaskruchten merged commit 25722c1 into master Oct 19, 2018
@nicolaskruchten nicolaskruchten deleted the autosize branch October 19, 2018 15:13
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.

3 participants