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

MVTLayerProps missing styling props #229

Open
Dylan-Melville opened this issue Jan 25, 2022 · 0 comments
Open

MVTLayerProps missing styling props #229

Dylan-Melville opened this issue Jan 25, 2022 · 0 comments

Comments

@Dylan-Melville
Copy link

When defining an MVTLayer object, the following props are not accepted:

  • getLineWidth
  • getFillColor
  • getLineColor
  • etc.

In a pure JS implementation, these are all accepted. To test this, you can try copying the example code from the MVTLayer documentation page into a typescript file, and you will find that the getLineWidth prop throws an 'argument of type x is not assignable to parameter of type y' error.

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