You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using version 0.37.0 and recreated with this fiddle (click on the top box to recalculate those values)
querySourceFeatures should return features from loaded/nearby source tiles. It's unclear if it returning the wrong features or if only the geometry getter is affected but the returned geometries don't appear to be within (or nearby) the map bounds. It only happens after a certain zoom level (in this example, 9). A little more investigation revealed that the feature.tile was sometimes returning twice the x and y values I expected but this was difficult to recreate and not always present.
The text was updated successfully, but these errors were encountered:
Hi @drewbo – thanks for the report. This has to do with the source's maxzoom(which in your example is 8) and I believe is related to the ticket you cut previously #2868. I also think this is a duplicate of #3722. closing here to move discussion over there.
Using version
0.37.0
and recreated with this fiddle (click on the top box to recalculate those values)querySourceFeatures
should return features from loaded/nearby source tiles. It's unclear if it returning the wrong features or if only the geometry getter is affected but the returned geometries don't appear to be within (or nearby) the map bounds. It only happens after a certain zoom level (in this example, 9). A little more investigation revealed that thefeature.tile
was sometimes returning twice the x and y values I expected but this was difficult to recreate and not always present.The text was updated successfully, but these errors were encountered: