| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Check edge insets difference, in addition to isEqualToMapCamera in all the places in MGLMapView before map.easeTo/map.flyTo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The change is implemented in TransformState::getProjMatrix, the rest of the code is making sure that existing API contracts stay and there are tests verifyingrendering and render query processing only items within screen and given tolerance around screen edges.
MapView: don't bake edge insets into relalculated camera center. Keep edge insets as property of camera in TransformState (similar to pitch, zoom, bearing) independent from specified camera center. Interpolate edge insets in animation.
iOS Demo app: "Turn On/Off Content Insets" pitch the camera and navigate to convenient location in Denver, where streets are parallel to cardinal directions, to illustrate viewport center offset when edge insets are set.
Tests:
ViewFrustumCulling: although Annotations are deprecated, queryRenderedFeatures related tests in Annotations would need to get ported and decided to add the edge insets related query tests next to them. Verify frustum culling (render+queryRenderedFeatures) With different camera and edge insets setups. TODO: port Annotations tests.
Transform.Padding: Verify that coordinates take proper place on screen after applying edge insets.
LocalGlyphRasterizer: verify text rendering when applying padding.
Related to #11882: both use projection matrix elements [8] and [9].
Alternative approach to this was to increase and offset map origin so that the screen would be a sub-rectangle in larger map viewport. This approach has a drawback of unecessary processing the items that are outside screen area.
Fixes #12107, #12728, navigation-sdks/issues/120
|
|
|
|
| |
packaging, update gradle tools and wrapper
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
path change
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
starts
|
|
|
|
|
|
|
|
| |
`RenderSymbolLayer` does not have to update dynamic vertices of its buckets, this logic is moved to placement (which is already updates opacity vertices).
* fixes clustering of labels when text variable placement enabled - as assignes `usesVariablePlacement` per bucket
* simplifies the code in `RenderSymbolLayer` (the `RenderSymbolLayer::upload()` is now omitted).
* symbol buckets are not modified after orchestration finishes
|
| |
|
| |
|
|
|
|
| |
master @ cf577993c04a2590185322a0a4e2eaec04ba1b41
|
| |
|
|
|
|
|
|
| |
* [ios] Add missing tick to Podspec specification
* [ios] Remove unnecessary parenthesis from link in changelog
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
creating/destroying core threads
|
|
|
|
| |
render(PaintParameters)
|
|
|
|
|
|
|
| |
prepare(LayerPrepareParameters)
RenderLayer::prepare() is responsible for the complete initialization of a render
layer, so that it can render.
|
| |
|
|
|
|
|
|
| |
* [ios] Podspec bumps for v5.0.0
* [ios] Update changelog for 5.0.0
|
| |
|
| |
|
| |
|
|
|
|
| |
MapObserver interface
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The implementation is buggy and not worth maintaining anymore
because performance benefits are not substantial or sometimes
worse. Also, removing it saves about 150 ~ 180 KB in binary size.
Below timings are averages of minimum 5 runs.
```
Device Init launch Average relaunch
s10 1129.8 ms 700 ms
s10 - binary 1346.75 ms 694 ms
Pixel 1692 ms 723 ms
Pixel - binary 1883 ms 1039 ms
Kazam 17948 ms 1339 ms
Kazam - binary 19157 ms 1564 ms
Wiko 2060 ms 1278 ms
Wiko - binary 3876 ms 1136 ms
```
Fixes #14294
|
|
|
|
|
| |
Since unique_ptr is already nullable there is no need to wrap it in an
optional<>.
|
| |
|
|
|
|
|
| |
Handle categorical function default value properly in conversion to
expreexpression so related tests pass.
|
|
|
|
|
| |
Consider the function default value in interval and exponential
functions conversion.
|
|
|
|
|
| |
This will be used in a follow up patch by the function to expression
conversion code.
|
|
|
|
|
| |
The tests for conversion of legacy interval functions to expressions
expects that the first stop in the "step" expression be omitted.
|
|
|
|
|
| |
Add handling of default value to the conversion of legacy identity
functions. The color and enum tests still don't pass though.
|
|
|
|
| |
One line in that file was indented with tabs instead of spaces.
|
|
|
|
|
|
|
|
| |
In order to test the conversion from function to expressions using the
legacy tests in the expression test suite, parse function objects into
expressions in NodeExpression::Parse.
v2: Coding style fixes.
|
|
|
| |
Removes conditional code that relied on a plist flag. Other small cleanups.
|
|
|
|
|
| |
Refactor out HeadlessFrontend and HeadlessBackend gl independent code to gfx.
Define gl::HeadlessBackend as subclass, instantiated by gfx::HeadlessBackend static factory method.
GL dependent tests are still using gl::HeadlessBackend directly (not through gfx).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
Add new APIs for invalidating tiles, effectively forcing Mapbox
GL Native to check with the servers if the tiles are valid before
using them. This is more efficient then deleting tiles, because
in case of valid tiles, they won't get downloaded.
Fixes #4376.
|