summaryrefslogtreecommitdiff
path: root/include/mbgl
Commit message (Collapse)AuthorAgeFilesLines
* follow-up fixes after 16416Mikhail Pozdnyakov2020-04-221-2/+3
|
* [core] Add Resource::StoragePolicy and consider it in resource loaderMikhail Pozdnyakov2020-04-221-0/+3
|
* [core] Add style::Source::setVolatile()/isVolatile() APIMikhail Pozdnyakov2020-04-221-2/+5
|
* [core] Introduce distance expressionzmiao2020-04-223-2/+40
| | | | | | | | | | | | | | | | | | Add distance unit choices Fix cmake and add license Add support for LineString Features Add template to geometry helper function Only support line and point Rename geometry_within.cpp hpp file to geometry_util.cpp .hpp Remove incorrect indexFilter, fix pointSetsDistance Fix distance expression
* [core] Introduce Source::setMinimumTileUpdateInterval APIMikhail Pozdnyakov2020-04-201-4/+15
| | | | | | The `Source::setMinimumTileUpdateInterval()` method sets the minimum tile update interval, which is used to throttle the tile update network requests. Default value is `Duration::zero()`.
* [core] Introduce `Resource::minimumUpdateInterval`Mikhail Pozdnyakov2020-04-201-0/+1
| | | | | | Introduce `Resource::minimumUpdateInterval` and consider it in the online file source. The `minimumUpdateInterval` is used to throttle the requests, which were initiated due to resource expiration.
* [core] Add platform abstractions for utils::now()Thiago Marcos P. Santos2020-04-202-1/+16
| | | | | Some platforms might require special permissions or custom APIs to access the current time of the day.
* [core] Fix performance-no-automatic-move (bonus)Thiago Marcos P. Santos2020-04-173-5/+6
| | | | | | As reported by clang-tidy-10. We don't run clang-tidy-10 yet. We should probably consider moving the bots at some point so errors like this won't return.
* [core] Fix performance-noexcept-move-constructor in header filesThiago Marcos P. Santos2020-04-173-12/+8
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-173-3/+5
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-use-equals-default errors in header filesThiago Marcos P. Santos2020-04-172-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix google-default-arguments errors in header filesThiago Marcos P. Santos2020-04-172-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-use-override errors in header filesThiago Marcos P. Santos2020-04-1712-12/+12
| | | | As reported by clang-tidy-8.
* [core] Fix readability-container-size-empty errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix readability-redundant-smartptr-get errors in header filesThiago Marcos P. Santos2020-04-172-4/+2
| | | | As reported by clang-tidy-8.
* [core] Fix readability-redundant-declaration errors in header filesThiago Marcos P. Santos2020-04-171-0/+4
| | | | As reported by clang-tidy-8.
* [core] Fix readability-const-return-type errors in header filesThiago Marcos P. Santos2020-04-171-6/+2
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-return-braced-init-list errors in header filesThiago Marcos P. Santos2020-04-173-15/+8
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-178-44/+29
| | | | As reported by clang-tidy-8.
* [core] Fix performance-move-const-arg errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-forwarding-reference-overload errors in header filesThiago Marcos P. Santos2020-04-171-0/+1
| | | | | | This was a false positive. As reported by clang-tidy-8.
* [core] Fix bugprone-forward-declaration-namespace errors in header filesThiago Marcos P. Santos2020-04-171-1/+0
| | | | As reported by clang-tidy-8.
* [core] Fix performance-inefficient-vector-operation errors in header filesThiago Marcos P. Santos2020-04-171-0/+1
| | | | As reported by clang-tidy-8.
* [core] Fix readability-redundant-member-init errors in header filesThiago Marcos P. Santos2020-04-1714-17/+16
| | | | As reported by clang-tidy-8.
* [core] Fix readability-avoid-const-params-in-decls errors in header filesThiago Marcos P. Santos2020-04-179-14/+11
| | | | As reported by clang-tidy-8.
* Add generic setter for 'source' propertyAlexander Shalamov2020-04-161-0/+1
| | | | | - Add setter for 'source' property - Test generic setters via setProperty method
* Enable 'circle-sort-key' layout propertyAndrew Hay Kurtz2020-04-142-1/+9
|
* Fix LocationIndicator LayerGali Nelle2020-04-101-8/+12
| | | | | | | | | This changes image size properties to be scales instead of pixel sizes. The commit also adds fixes for handling image updates with the same ID, adds tests for expressions in paint properties, as well as tests for using images with pixel ratio greater than 1. Finally it moves image-tilt-displacement and perspective-compensation properties from layout to paint properties, and includes other minor cleanups.
* [core] PlacedSymbolData contains layer idMikhail Pozdnyakov2020-04-091-0/+2
|
* Add unit tests for Rotation interpolatorGali Nelle2020-04-081-3/+3
|
* Make location indicator bearing a paint propertyGali Nelle2020-04-0815-15/+93
| | | | | | This change introduces a new property type, Rotation, that uses a custom interpolator, and that is currently applied to all style properties named "bearing", with a period attribute.
* Add LocationIndicatorLayerGali Nelle2020-04-085-1/+140
| | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo.
* [core] PlacedSymbolData includes viewport paddingMikhail Pozdnyakov2020-04-021-1/+5
|
* [core] Introduce API to collect placed symbols dataMikhail Pozdnyakov2020-04-021-2/+37
| | | | | | | | | | The following methods are added to the `Renderer` class: - `collectPlacedSymbolData()` enables or disables collecting of the placed symbols data - `getPlacedSymbolsData()` if collecting of the placed symbols data is enabled, returns the reference to the `PlacedSymbolData` vector holding the collected data.
* [core] Add setMaxOverscaleFactorForParentTilesAlexander Shalamov2020-04-011-0/+14
|
* [core] Move logging off the main threadJuha Alanen2020-04-011-1/+15
|
* [core] Fix readability-* errorsThiago Marcos P. Santos2020-03-301-1/+1
| | | | As reported by clang-tidy-8.
* [core] Use const& for the OfflineRegion objectThiago Marcos P. Santos2020-03-251-5/+5
| | | | | | | | | | It is used as const and also fixes a build issue on iOS: ``` Non-const lvalue reference to type ‘mbgl::OfflineRegion’ cannot bind to a temporary of type ‘typename remove_reference<OfflineRegion &>::type’ (aka ‘mbgl::OfflineRegion’) ```
* [core] Ability to set source-layer setProperty methodMikhail Pozdnyakov2020-03-241-1/+0
|
* [core] Layer::setProperty() can set min/max zoom and filterMikhail Pozdnyakov2020-03-241-0/+2
|
* [core] Move generic setProperty() parts to the base Layer classMikhail Pozdnyakov2020-03-2412-73/+72
|
* [core] Fix modernize-pass-by-value errorsThiago Marcos P. Santos2020-03-231-13/+4
| | | | As reported by clang-tidy-8.
* Bump mapbox-base to 1.2.0Alexander Shalamov2020-03-239-11/+11
|
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-2315-29/+36
| | | | As reported by clang-tidy-8.
* [core] Introduce Renderer::clearData() instead of keepRenderData map optionsMikhail Pozdnyakov2020-03-202-22/+1
| | | | | | | | | | `Renderer::clearData()` is a better API than the removed `MapOptions::keepRenderData()`: - gives more flexibility to the client - similar to the existing `Renderer::reduceMemoryUse()` - the `MapOptions::keepRenderData()` API implementation could not handle the raise condition, which happened if the new still image request had come before all tiles from the previous requests were loaded. Co-authored-by: Dane Springmeyer <dane@mapbox.com>
* [core] Using TileCoordinates for geometry comparisonzmiao2020-03-191-2/+1
|
* [core][tile|static mode] Introduce MapOptions::keepRenderData() flagMikhail Pozdnyakov2020-03-181-0/+22
| | | | Render orchestrator stores the render data between render frames if this flag is set.
* [core] Follow-up on the platform integration callback PRThiago Marcos P. Santos2020-03-121-5/+6
| | | | Addressing review comments that arrived after the PR was merged.
* [core] Add a callback for platform RunLoop integrationThiago Marcos P. Santos2020-03-111-0/+12
| | | | | | | | Platform integration callback for platforms that do not have full run loop integration or don't want to block at the Mapbox GL Native loop. It will be called from any thread and is up to the platform to, after receiving the callback, call RunLoop::runOnce() from the same thread as the Map object lives.
* [core] Fix within expression serialization + fix within expression equal ↵zmiao2020-03-051-1/+1
| | | | operator