-
Notifications
You must be signed in to change notification settings - Fork 8
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
Cannot specify map type or any other GoogleMutant property #24
Comments
@Matthias-Claes Hi, Can you please add a codesandbox to show the issue? |
I'm also seeing this issue in VS Code, but it's not reproducible in CodeSandbox. I think it's something around the fact that the type |
I've been trying to narrow down the issue and it seems that if I remove |
OK -- so the problem can be fixed by upgrading
However, I don't understand what most of those words mean so it could have been something else they changed. Anyway, I think the solution to this one might be just to upgrade yarn. |
I have the same now (after three years) in |
@dennisat Hi, can you please add a codesandbox with the issue? |
When I'm trying to specify the map type I get this error:
'Property 'type' does not exist on type 'IntrinsicAttributes & LayerProps & IProps & RefAttributes'.'
In fact, I cannot seem to set any of the GoogleMutant properties
My code:
<ReactLeafletGoogleLayer apiKey={config.googleMapsApiKey} type="satellite" />
I am using react leaflet v3 and using v2.0.4 of this library
The text was updated successfully, but these errors were encountered: