-
Notifications
You must be signed in to change notification settings - Fork 29
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
Can Not Use react.map.gl.gecoder with Typescript #99
Comments
I was having the same issue but I am not using TypeScript. It appears
Switching to |
Hi, I am using Typescript and tried the solution from @icebox, but still get this error message: TypeError: Cannot read property 'addControl' of null. I have the same versions as mentioned by @icebox My code looks like this:
Anyone having a solution for that? Thanks a lot. |
Hey @uebriges, you need to pass |
Hi @SamSamskies, Thanks a lot. It worked now also with the latest version of react-map-gl (6.1.10). |
Hello Team,
I have tried a lot to use the gecoder with type script but it is keep showing errors my file is as below
the Error messages that I am getting are TypeError: Cannot read property 'remove' of undefined && TypeError: Cannot read property 'addControl' of null
is there a way to fix that
The text was updated successfully, but these errors were encountered: