-
Notifications
You must be signed in to change notification settings - Fork 69
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
The following _CastError was thrown during paint(): Null check operator used on a null value #124
Comments
Can you share your code? I'm guessing that the style is asynchronously fetched and so it hasn't yet initialized when the map is drawn. |
Thanks for the quick response. My code is very similar to the example given. Here are the relevant methods:
The error occurs whenever the zoom value is very high. Once the map or I think style has loaded, the error disappears. if I jump to another location, the error shows again. |
Do you have any suggestions?? |
this is fixed in version 3.1.2 of https://pub.dev/packages/vector_tile_renderer |
Hi there,
I encounter this problem using this plugin:
It disappears after one second, but sometimes when I reload the app, it appears again.
I know that the error occurs when you use a ! operator on a nullable instance which wasn't initialized. But initializing styledSymbol doesn't help.
Are there any suggestions?
The text was updated successfully, but these errors were encountered: