Open Gp2mv3 opened 6 years ago
I've noticed the same error but in a different function, here it happens when the map is mounted. The stacktrace is exactly the same.
Maybe it's more relevant to post those in the android SDK's repo ?
Regards,
Gp2mv3
Are you trying to make calls to the map before you get the events that it is ready?
That's a good question, I don't check the event so it's more than probable ! I'll check for the next release of our app.
Thanks
Looking at the events, what's the event saying that the map is ready ?...
you can try onDidFinishRenderingMap
or onDidFinishLoadingMap
you can see the description of the events here https://github.com/mapbox/react-native-mapbox-gl/blob/master/docs/MapView.md
also could be useful if you can track down what is causing this on your end from the JS side so maybe we can add it to the pre method queue
Hey, Some of our users on Android are experiencing this error:
And here is the call stack:
What's the reason of that error ? It seems to be related to GetLatitude but I don't see what they did wrong, this error happens when calling map.moveTo().