Skip to content

Commit a893408

Browse files
author
Lucas Wojciechowski
committed
Update CHANGELOG.md
1 parent 2e0fc01 commit a893408

File tree

1 file changed

+20
-9
lines changed

1 file changed

+20
-9
lines changed

CHANGELOG.md

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
#### Breaking Changes
44

5-
* `map.featuresAt` and `map.featuresIn` are removed. Use `map.queryRenderedFeatures` or `map.querySourceFeatures` instead. To migrate:
6-
* replace `featuresAt` and `featuresIn` with `queryRenderedFeatures`
7-
* `queryRenderedFeatures` is synchronous. Remove the callback and use the return value.
8-
* rename the `layer` parameters to `layers` and make it an array of strings.
9-
* remove the `radius` parameter. `radius` was often used with `featuresAt` to account for style properties like `line-width` and `circle-radius`. `queryRenderedFeatures` automatically accounts for these style properties. If you need to query a larger area, make the first argument a box instead of a point.
10-
* remove the `includeGeometry` parameter. `queryRenderedFeatures` always includes geometries.
5+
* Replace `Map#featuresAt` and `Map#featuresIn` with `Map#queryRenderedFeatures` and `map.querySourceFeatures` (#2224)
6+
* Replace `featuresAt` and `featuresIn` with `queryRenderedFeatures`
7+
* Make `queryRenderedFeatures` synchronous, remove the callback and use the return value.
8+
* Rename `layer` parameter to `layers` and make it an array of layer names.
9+
* 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.
10+
* Remove the `includeGeometry` parameter because `queryRenderedFeatures` always includes geometries.
11+
* `Map#debug` is renamed to `Map#showTileBoundaries` (#2284)
12+
* `Map#collisionDebug` is renamed to `Map#showCollisionBoxes` (#2284)
1113

1214
#### New Features & Improvements
1315

@@ -17,16 +19,25 @@
1719
* Add `isActive` and `isEnabled` methods to interaction handlers (#2238)
1820
* Add `Map#setZoomBounds` method (#2243)
1921
* Add touch events (#2195)
20-
* `map.queryRenderedFeatures` can be used to query the styled and rendered representations of features
21-
* `map.querySourceFeatures` can be used to get features directly from vector tiles, independent of the style.
22-
* interaction for labels (#303) and style-property-aware hit testing (#316) are possible with `map.queryRenderedFeatures`
22+
* Add `map.queryRenderedFeatures` to query the styled and rendered representations of features (#2224)
23+
* Add `map.querySourceFeatures` to get features directly from vector tiles, independent of the style (#2224)
24+
* Add `mapboxgl.Geolocate` control (#1939)
25+
* Make background patterns render seamlessly across tile boundaries (#2305)
2326

2427
#### Bugfixes
2528

2629
* Fix calls to `setFilter`, `setLayoutProperty`, and `setLayerZoomRange` on ref children (#2228)
2730
* Fix `undefined` bucket errors after `setFilter` calls (#2244)
2831
* Fix bugs causing hidden symbols to be rendered (#2246, #2276)
2932
* Fix raster flickering (#2236)
33+
* Fix `queryRenderedFeatures` precision at high zoom levels (#2292)
34+
* Fix holes in GeoJSON data caused by unexpected winding order (#2285)
35+
* Fix bug causing deleted features to be returned by `queryRenderedFeatures` (#2306)
36+
* Fix bug causing unexpected fill patterns to be rendered (#2307)
37+
* Fix popup location with preceding sibling elements (#2311)
38+
* Fix polygon anti-aliasing (#2319)
39+
* Fix slivers between non-adjacent polygons (#2319)
40+
* Fix keyboard shortcuts causing page to scroll (#2312)
3041

3142
## 0.15.0 (March 1 2016)
3243

0 commit comments

Comments
 (0)