| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
* node package improvements
* npm run test-suite does not do anything anymore
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [android] Expose pre-fetching zoom delta.
* [android] Fix Clang format.
* [android] Add MapboxMap unit test.
* [android] Add prefetching zoom delta into MapboxMapOptions.
* [android] Deprecate setPrefetchesTiles to migrate to setPrefetchZoomDelta.
* [android] Deprecate getPrefetchesTiles() and migrate to setPrefetchZoomDelta().
* [android] Add unit test to NativeMapViewTest.
* [android] Add IntRange annotation to getPrefetchZoomDelta.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This commit refactors `utils::ThreadPool` into a template
`ThreadedScheduler` class and provides aux type aliases.
So that it is possible to obtain a sequenced schedule,where
all the scheduled tasks are guarantied to be executed
consequently.
The sequenced lightweight scheduler is required by both the
orchestration thread and the refactored `FileSource` implementation.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
methods can be called via user interaction (without a mechanism to try/catch) (#15764)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#15584)
* [ios] Add mapView content inset tests.
* [ios] Fix an issue that caused the ornaments ignore the contentInsets.
Fixed an issue that caused ornaments ignore the contentInset. Added a new property automaticallyAdjustContentInset that has the same purpose as UIViewController. automaticallyAdjustsScrollViewInsets. This was changed due to the latter being deprecated.
* [ios] Fix automaticallyAdjustsScrollViewInsets legacy behavior.
The property automaticallyAdjustsScrollViewInsets overrode automaticallyAdjustsScrollViewInsets which caused a breaking change. This is fixed to consider the legacy property when calculating the content insets and added tests for both cases.
* [ios] Fix the contentInset value after adding padding to the camera.
Fixed an issue that caused a discrepancy between the contentInset in MGLMapView and the padding in the transformation state.
When padding is passed through methods such as setCamera it’s persisted. This fix resets the contentInsets.
* [ios] Fix pinch test.
* [ios] Update automaticallyAdjustsScrollViewInsets name and documentation.
* [ios] Update changelog.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(#15746)
* [ios] Adds `pointForCoordinate:`/`coordinateForPoint:` to MGLMapSnapshotOverlay
* [ios] Adds PR #
* [ios, macos] Update file lists & mac contexts
* [macos] Fix for image scale in overlay.
* [ios] Updated change log based on PR feedback.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* [ios] Add failing tests for scale bar updates.
* [ios] Remove borderLayer
* [ios] Ensure bar sections have non-fractional width
* [ios] Add RTL override
* [ios] Update constraints/layout
* [ios] Invalidate scalebars size, after the parent's layout has happened (to ensure the view dimensions are correct when re-laying out the scale bar.
* [ios] Refactor layout
* [ios] Update changelog / remove commented code.
* [ios] Remove whitespace
* [ios] Stop integration tests asserting (when scale bar is hidden). Also reduces the # of calculations (since updateConstraints and layoutSubviews can be called outside of our control).
* [ios] Moves declaration of properties for testing.
* [ios] Removes redundant property attribute
* [ios] Updated change log
|
|
|
|
| |
So that it is possible to schedule normal `std::function` and use `mapbox::base::WeakPtr`.
|
|
|
|
|
| |
This check is needed for mbgl-benchmark target, as it does not require Mapbox
instance, nor Android asset manager.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
RenderOrchestrator holds a vector of ordered rendered layers,
in order to minimize calling of `getRenderLayer()`, which
could be quite expensive as it calculates hash of the layer Id.
This change improves orchestration performance in particular
for the styles that have multiple sources.
The `API_renderStill_multiple_sources` benchmark runs
approximately 70% faster with the changes applied.
|
| |
|
| |
|
|
|
|
| |
* [android] Update changelog for v8.5.0-alpha.1
|
|
|
|
| |
The projected meters per pixel calculation is not dependent on the pixel ratio but rather the tile size, therefore, the division when fetching the value is not necessary.
|
| |
|
|
|
|
| |
port https://github.com/mapbox/mapbox-gl-js/pull/8818
|
| |
|
| |
|
|
|
|
| |
If the render source does not need rendering, we set necessity for its tiles to `optional`, and thus suppress network requests on tiles expiration.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The output of Layer::getProperty is a mapbox::base::Value which is
equivalent to JSON. When setting the value of an enum property via JSON
its value would be a string, so it would be natural to return a string
too.
Also, the numbers generated depend on the enum definition. They are not
part of the style spec.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Platform specific Collator implementations should not be part of an expression APIs.
|
|
|
|
|
| |
The unaccent is used only within collator, thus, there is no
need to have separate platform interface for it.
|
| |
|