summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [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
* [core] Change GeoJSONOptions.clusterProperties to std::mapAlexander Shalamov2020-03-051-2/+2
| | | | The clusterProperties contain only few elements at most.
* [core] OnlineFileSource is never accessed directlyMikhail Pozdnyakov2020-02-261-1/+1
|
* [core] Fix mbgl::Pass constructorMikhail Pozdnyakov2020-02-261-1/+1
|
* [core] Move setResourceTransform() to FileSource interfaceMikhail Pozdnyakov2020-02-262-6/+5
|
* [core] FileSourceManager::getFileSource() returns PassRefPtrMikhail Pozdnyakov2020-02-261-1/+2
|
* [core] Move mbgl::Pass and mbgl::PassRefPtr to a separate headerMikhail Pozdnyakov2020-02-262-17/+26
|
* [core] Fix TransitionOptions serializationAlexander Shalamov2020-02-262-8/+16
|
* [core] Fix Color serializationAlexander Shalamov2020-02-262-3/+7
|
* [core] Generate layer codeAlexander Shalamov2020-02-269-0/+9
|
* [core] Add layer serialization methodAlexander Shalamov2020-02-263-0/+5
|
* [core] Return pitch bounds in degreesJuha Alanen2020-02-261-2/+2
|
* [core] Consolidate file source keys in the generic FileSource headerMikhail Pozdnyakov2020-02-253-20/+20
| | | | | Thus we do not need to include specific headers to use `{set|get}Property` API with key constants.
* [core] Add min and max pitch optionsJuha Alanen2020-02-251-0/+16
|
* [core] Add bounding box overlapping check before line within polygon testzmiao2020-02-211-1/+3
|
* [core] Remove unnecessary includes, fix commentszmiao2020-02-211-4/+1
| | | | This reverts commit b5c386ad7708ca9fe14f219b0ffc94cf6ce8fc88.
* [core] Update unti tests. Remove unnecessary debugging codezmiao2020-02-211-1/+2
|
* [core] Add support for "line within polygon"zmiao2020-02-211-9/+3
|
* [core] Implement 'in' expression. (#16162)Kevin Li2020-02-152-0/+34
| | | | | | | | | | | | | | | | | | * Implement in.cpp * Fix review comments. * Add expression_equality test for 'in' * Fix review comments. * [core] Update changelog. * [core] Update mapbox-gl-js * [core] Ignore render-tests/debug/padding * [core] Update baseline.
* [core] Support [within expression] with layout propertyzmiao2020-02-121-0/+33
|
* reserve vecotr capacity, fix for points within polygonzmiao2020-02-121-1/+1
| | | | Address review findings/nit
* Add support for expression testzmiao2020-02-122-2/+7
| | | | | | | Fix polygon within algorithm Add Unit tests Fix incorrect metrics folder for ios-render-test-runner job
* Enable within expression with Filterzmiao2020-02-122-5/+7
| | | | | | add canonical as pointer fix review findings