Mapbox GL JS provides new and interesting ways to query data found on a map. We built an example that filters points of interest by genre, which uses the featuresAt method to only select data based on the position and radius of the circle. Drag the blue circle around the map to populate points of interest on the left. Zoom in and out on the circle to adjust the radius.

POI data provided by NYC OpenData.

The code is available on GitHub. There are also many more examples using Mapbox GL JS on the examples page.