Feature query on Mapbox returns nothing sometimes
Initializing Mapbox:
In onViewCreated() we set the style for our Mapbox map and also call mapboxMap.queryRenderedFeatures() where we pass a geometry-point.
Description of problem:
Sometimes (1 out of 4 times) the queryRenderedFeatures() returns an empty list even though we are sure that it should return a list with elements.
Question:
Why is this happening? My guess is that maybe the style is not fully loaded when we query. But, I also tried to delay the queryRenderedFeatures() and I still...