-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
[Doc] MapboxOverlay
type and example
#9389
Comments
There is also a MapboxOverlayProps type, that works for me
|
@WoutRenkin the issue isnt with the
|
This should have been fixed by react-map-gl@8.0.0. |
I am still seeing this issue in react-map-gl@8.0.0. Doesn't seem fixed to me. Also tried out the example here: |
Have you restarted your window? |
Still an issue in
|
Link
https://deck.gl/docs/api-reference/mapbox/mapbox-overlay#:~:text=function%20DeckGLOverlay(props%3A%20DeckProps)%20%7B%0A%20%20const%20overlay%20%3D%20useControl%3CMapboxOverlay%3E(()%20%3D%3E%20new%20MapboxOverlay(props))%3B%0A%20%20overlay.setProps(props)%3B%0A%20%20return%20null%3B
Description
When I paste this code, I get this nice long ts error about how the types do not match up.
When I run my code, it all works fine, so this is not a huge priority, but the typefixes would be clean.
I am willing to contribute to the fix - it looks really simple - but, I would looooove to see this PR addressed first!
(not conditionally contributing, just making a note of my prior work to prevent it from getting stale!)
Versions
The text was updated successfully, but these errors were encountered: