| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Cherry-picked from c231191dbc6f055341fd25ce97309614dc52802f.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios, macos] Introduced more ergonomic expression concatenation syntax
* [ios, macos] Fixed mgl_join:
* [ios, macos] Simplified expression document headings
* [ios, macos] Documented mgl_join:
* [ios, macos] Convert length operator to length: for strings
Only works for literal strings.
* [ios, macos] Implemented type conversion using CAST()
* [ios, macos] Aftermarket let expressions
* [ios, macos] Refactored aftermarket expression functions
Refactored the installation of aftermarket expression functions to use macros. It is no longer necessary to handwrite the type encoding of a function. Also added aftermarket functions for interpolating and stepping.
* [ios, macos] Updated documentation, tests, demo apps
* [ios, macos] Added generic expression function
* [ios, macos] Add MGL_MATCH function placeholder.
* [ios, macos] Add MGL_SWITCH expression operator.
* [ios, macos] Add mgl_coalesce: as expression function.
* [ios, macos] Update style documentation.
* [ios, macos] Add conventional custom function support.
* [ios, macos] Updated example code
* [ios, macos] Add mgl_coalesce conventional custom function support.
* [ios, macos] Add aftermarket function to 'has' operator.
* [ios, macos] Add documentation for lookup and feature operators.
* [ios, macos] Documented simple lookup
* [ios, macos] Renamed, reversed has expression
Renamed mgl_hasProperty:properties: to mgl_does:have: for better readability and consistency with the conventional mgl_has: function. Documented both forms of mgl_has:.
* [ios, macos] Restored OEM conditionals where available
This is the preferred syntax for simple conditionals on iOS 9 and above, because you can inline the predicate instead of wrapping it in a constant value expression, which means you can write a conditional in a single format string.
* [ios, macos] Update style docs.
Co-authored-by: Fabian Guerra <fabian.guerra@mapbox.com>
|
|
|
|
|
|
| |
Second half of fix for issue #11538.
If a global placement took place between the time a tile's non-symbol layout updated and the time new symbol buckets arrived, the tile's new FeatureIndex would be committed, but the global CollisionIndex would be generated against the old symbolBuckets. The mismatch could cause the CollisionIndex to contain indices that didn't exist in the new FeatureIndex, and attempting to access them would generate an out-of-bounds exception.
|
|
|
|
|
|
|
|
| |
First half of fix for issue #11538.
Testing `if (pendingData)` didn't work if there _was_ a data update, but the update was "the data for this tile is now null". In that case, the tile's FeatureIndex would be updated, but the tile's data member would remain unchanged.
In the case of a tile's data being deleted, the matching FeatureIndex would have an empty set of bucketLayerIDs, but the _old_ data would still be in place for querying, and the symbolBuckets might not be updated yet (pending onPlacement). In this case `bucketLayerIDs.at(indexedFeature.bucketName)` could throw an out-of-range exception.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios, macos] Add Expressions 'at' operator.
* [ios, macos] Implement 'has' operator.
* [ios, macos] Implement expressions feature operators.
* [ios, macos] Refactor expressions variable name and 'mgl_has' implementation.
* [ios, macos] Refactor expresssion variable names.
* [ios, macos] Update 'mgl_has' to support non-self operands.
|
|
|
|
| |
* [android] Updated changelog for 6.0.0-beta.5 release
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios, macos] Add match expressions support.
* [ios, macos] Add coalesce operator support.
* [ios, macos] Add coalesce operator test.
* [ios, macos] Match operator implementation is moved to NSPredicate.
* [ios, macos] Match operator function implementation refactor.
* [ios, macos] Address merge conflicts.
|
| |
|
|
|
|
| |
expressions
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#11450)
* [ios, macos] Change the format for case expressions to a flat structure.
* [ios, macos] Add support for multiple branches case expression.
* [ios, macos] Add multiple branch tests to case expressions.
* [ios, macos] Case operator now has iOS 8 support.
|
| |
|
|
|
|
| |
(#11506)
|
|
|
|
| |
expression (#11509)
|
| |
|
|
|
|
|
| |
Fixes issue #11507.
Port of GL JS PR #6375.
|
|
|
|
| |
add param to javadoc (#11501)
|
|
|
| |
* [android] - literal array conversion of primitives types
|
|
|
|
|
|
| |
Clamps perspective ratios in shaders.
Fixes issue #11487.
Port of GL JS PR #6365.
|
|
|
|
| |
callout view (#3249, #9790)
|
| |
|
|
|
|
| |
(#11462)
|
| |
|
| |
|
|
|
| |
* [android] - add expression filter integration
|
| |
|
|
|
|
| |
events related code
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Adapted from https://github.com/mapbox/ios-sdk-examples/blob/cdff47276d261d58c7eb2d0ba75d9cce6c308417/Examples/ObjectiveC/BlockingGesturesDelegateExample.m
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
annotations were set close together (#11438)
* [ios] Fix an issue where wrong annotation may selected when annotations very close #10734
* [macos] Fix an issue where a wrong annotation may selected if annotations were set close together
* update the iOS change log and the macOS change log
* Fix an issue where the comment referenced to the wrong variable name
|
| |
|
| |
|