Breaking Changes
- Replace
Map#featuresAtandMap#featuresInwithMap#queryRenderedFeaturesandmap.querySourceFeatures(#2224)- Replace
featuresAtandfeaturesInwithqueryRenderedFeatures - Make
queryRenderedFeaturessynchronous, remove the callback and use the return value. - Rename
layerparameter tolayersand make it an array of layer names. - Remove the
radiusparameter.radiuswas used withfeaturesAtto account for style properties likeline-widthandcircle-radius.queryRenderedFeaturesaccounts for these style properties. If you need to query a larger area, use a bounding box query instead of a point query. - Remove the
includeGeometryparameter becausequeryRenderedFeaturesalways includes geometries.
- Replace
Map#debugis renamed toMap#showTileBoundaries(#2284)