|
2 | 2 |
|
3 | 3 | ## master |
4 | 4 |
|
| 5 | +## maps-v1.6.0-rc.1 |
| 6 | + |
5 | 7 | ### ✨ New features |
6 | 8 |
|
7 | 9 | - [core] Move logging off the main thread ([#16325](https://github.com/mapbox/mapbox-gl-native/pull/16325)) |
|
19 | 21 | - `getPlacedSymbolsData()` |
20 | 22 | if collecting of the placed symbols data is enabled, returns the reference to the `PlacedSymbolData` vector holding the collected data. |
21 | 23 |
|
22 | | -- [core] Enable circle-sort-key property [#15875](https://github.com/mapbox/mapbox-gl-native/pull/15875/) |
| 24 | +- [core] Enable circle-sort-key property ([#15875](https://github.com/mapbox/mapbox-gl-native/pull/15875/)) |
23 | 25 |
|
24 | 26 | Adds support for `circle-sort-key` property, consistent with `symbol-sort-key`. |
25 | 27 |
|
|
29 | 31 |
|
30 | 32 | Adds a new layer type, `location-indicator`, that can be used to add a source-less indicator to the map, comprising raster images and a precision radius in meters. |
31 | 33 |
|
32 | | -- Add generic setter for Layer's 'source' property ([#16406](https://github.com/mapbox/mapbox-gl-native/pull/16406) |
| 34 | +- Add generic setter for Layer's 'source' property ([#16406](https://github.com/mapbox/mapbox-gl-native/pull/16406)) |
33 | 35 |
|
34 | 36 | ### 🐞 Bug fixes |
35 | 37 |
|
|
48 | 50 |
|
49 | 51 | - [core] Correctly log a warning instead of crashing when a non-existent image is attempted to be removed. ([#16391](https://github.com/mapbox/mapbox-gl-native/pull/16391)) |
50 | 52 |
|
| 53 | +- [core] Fix segfault resulting from an invalid geometry ([#16409](https://github.com/mapbox/mapbox-gl-native/pull/16409)) |
| 54 | + |
51 | 55 | ## maps-v1.5.1 |
52 | 56 |
|
53 | 57 | ### 🐞 Bug fixes |
|
128 | 132 | - [default] Fix possible crash at RunLoop::wake() ([#16255](https://github.com/mapbox/mapbox-gl-native/pull/16255)) |
129 | 133 |
|
130 | 134 | - [android] Update toGeoJSON in android_conversion.hpp ([#16243](https://github.com/mapbox/mapbox-gl-native/pull/16243)) |
131 | | - |
132 | | - Before this chage, `toGeoJSON` method in `android_conversion.hpp` could not convert an Object (Map in android) to GeoJSON object. |
133 | | - |
| 135 | + |
| 136 | + Before this chage, `toGeoJSON` method in `android_conversion.hpp` could not convert an Object (Map in android) to GeoJSON object. |
| 137 | + |
134 | 138 | But `within` expression needs to accept an Object and then convert it to the GeoJSON object, now `toGeoJSON` method can convert both string and Object to GeoJSON. |
135 | 139 |
|
136 | 140 | - [core] Fix `within` expression algorithm so that `false` value will be returned when point is on the boundary. Allow using different GeoJSON formats as arguments of `within` expression.([#16232](https://github.com/mapbox/mapbox-gl-native/pull/16232)) |
|
166 | 170 | - Signature of a `MapSnapshotter`'s constructor has been changed |
167 | 171 | - Signature for a `MapSnapshotter::snapshot` method has been changed |
168 | 172 | - Size of an offline regions do not affect ambient cache size ([#15622](https://github.com/mapbox/mapbox-gl-native/pull/15622)) |
169 | | - |
| 173 | + |
170 | 174 | ##### 📌 Known issues |
171 | 175 |
|
172 | 176 | - When feature is exactly on the geometry boundary, `within` expression returns inconsistent values for different zoom levels ([#16301](https://github.com/mapbox/mapbox-gl-native/issues/16301)) |
|
204 | 208 |
|
205 | 209 | Breaking code example: |
206 | 210 | `auto fs = FileSourceManager::getFileSource(); fs->..` |
207 | | - |
| 211 | + |
208 | 212 | Posible fix: |
209 | 213 | `std::shared_ptr<FileSource> fs = `; |
210 | 214 |
|
|
247 | 251 | The new `Source::setPrefetchZoomDelta(optional<uint8_t>)` method allows overriding default tile prefetch setting that is defined by the Map instance. |
248 | 252 |
|
249 | 253 | - [core] Add support for `within expression`. Implement the use of `within expression` with paint propery and filter expression. ([#16157](https://github.com/mapbox/mapbox-gl-native/pull/16157)) |
250 | | - |
| 254 | + |
251 | 255 | The `within expression` enables checking whether a feature is inside a pre-defined geometry set/boundary or not. This `within expression` returns a boolean value, `true` indicates that the feature being evaluated is inside the geometry set. The returned value can be then consumed as input by another expression or used directly by a paint/layer property. |
252 | | - |
| 256 | + |
253 | 257 | Support for using `within expression` with layout property will be implemented separately. |
254 | 258 |
|
255 | 259 | - [core] Add support for using `within expression` with layout property. ([#16194](https://github.com/mapbox/mapbox-gl-native/pull/16194)) |
256 | 260 |
|
257 | 261 | - [core] Add support for `in expression`. ([#16162](https://github.com/mapbox/mapbox-gl-native/pull/16162)) |
258 | | - |
| 262 | + |
259 | 263 | The `in expression` enables checking whether a Number/String/Boolean type item is in a String/Array and returns a boolean value. |
260 | 264 |
|
261 | 265 | - [core] Add support for using `within expression` with features having `'LineString'` geometry type. ([#16220](https://github.com/mapbox/mapbox-gl-native/pull/16220)) |
262 | | - |
| 266 | + |
263 | 267 | `within expression` now supports features with geometry types: `'Point'` or `'LineString'`. |
264 | 268 |
|
265 | 269 | ### 🐞 Bug fixes |
|
439 | 443 |
|
440 | 444 | Introduces public [mblg::Renderer::render](https://github.com/mapbox/mapbox-gl-native/pull/16127/files#diff-5a977e0401792825d7fcf522d48df11fR34) API break. |
441 | 445 |
|
442 | | -- [core] Refactor DefaultFileSource codebase ([#15768](https://github.com/mapbox/mapbox-gl-native/pull/15768)) |
| 446 | +- [core] Refactor DefaultFileSource codebase ([#15768](https://github.com/mapbox/mapbox-gl-native/pull/15768)) |
443 | 447 | - Adds `FileSourceManager` interface that provides access to `FileSource` instances and means of registering / unregistering `FileSource` factories |
444 | 448 | - Splits `DefaultFileSource` into smaller parts |
445 | 449 | - Adds `DatabaseFileSource` interface and it's default implementation |
|
0 commit comments