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
Replace Map#featuresAt and Map#featuresIn with Map#queryRenderedFeatures and map.querySourceFeatures (#2224)
Replace featuresAt and featuresIn with queryRenderedFeatures
Make queryRenderedFeatures synchronous, remove the callback and use the return value.
Rename layer parameter to layers and make it an array of layer names.
Remove the radius parameter. radius was used with featuresAt to account for style properties like line-width and circle-radius. queryRenderedFeatures accounts for these style properties. If you need to query a larger area, use a bounding box query instead of a point query.
Remove the includeGeometry parameter because queryRenderedFeatures always includes geometries.
Map#debug is renamed to Map#showTileBoundaries (#2284)
Map#collisionDebug is renamed to Map#showCollisionBoxes (#2284)