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

Function for Layer properties... seems not, but layer.style can #61

Open
SFSailor opened this issue Nov 26, 2017 · 0 comments
Open

Function for Layer properties... seems not, but layer.style can #61

SFSailor opened this issue Nov 26, 2017 · 0 comments

Comments

@SFSailor
Copy link

The documentation says

layer - Object or function with signature (featureData) that returns geoJSON layer options object. Useful for setting path color. Default: {}.

However, that throws an error. But I CAN use a function with the style sub-property of layer. Spent a bit of time learning this.

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