Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core][tile mode] Make sure only a single tile is used | Mikhail Pozdnyakov | 2020-04-24 | 1 | -0/+8 |
| | | | | | | | | | | | In tile mode, we're supposed to have only one tile, which is achieved with provided camera options. However, if camera options are not accurate enough more tile could be used, which could cause: * various symbol placement problems like, symbol duplications or cut-offs * memory/cpu overhead Now, if `mbgl::tileCover()` returns several tiles, only the first one is used (given that tiles are sorted by the distance to the map center) | ||||
* | Add vec3 math operations | Mikko Pulkki | 2020-04-23 | 2 | -28/+29 |
| | |||||
* | Fix compilation issues on GCC 9 | Bruno de Oliveira Abinader | 2020-04-22 | 1 | -0/+1 |
| | |||||
* | [core] Source::setVolatile enables Resource::StoragePolicy::Volatile for tiles | Mikhail Pozdnyakov | 2020-04-22 | 4 | -3/+7 |
| | |||||
* | [core] Add TileUpdateParameters and use it | Mikhail Pozdnyakov | 2020-04-22 | 10 | -17/+29 |
| | |||||
* | [core] Add style::Source::setVolatile()/isVolatile() API | Mikhail Pozdnyakov | 2020-04-22 | 2 | -1/+15 |
| | |||||
* | [core] Distance expression: Fix expression serialization | zmiao | 2020-04-22 | 2 | -12/+16 |
| | |||||
* | [core] Distance expression: Add index range checker, fix geojson type conversion | zmiao | 2020-04-22 | 2 | -15/+40 |
| | |||||
* | [core] Distance expression: Change template class into template function in ↵ | zmiao | 2020-04-22 | 5 | -114/+153 |
| | | | | | | geometry_util, add range assertion for distance contaniner IndexRange Change distance units to small letters, update tests accordingly | ||||
* | [core] Distance expression: add unit tests for distance expression | zmiao | 2020-04-22 | 1 | -4/+4 |
| | |||||
* | [core] Introduce distance expression | zmiao | 2020-04-22 | 8 | -175/+789 |
| | | | | | | | | | | | | | | | | | | 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] Tile pyramid passes minimum update interval to tiles | Mikhail Pozdnyakov | 2020-04-20 | 1 | -7/+6 |
| | |||||
* | [core] TilePyramid::update accepts source impl | Mikhail Pozdnyakov | 2020-04-20 | 8 | -67/+53 |
| | |||||
* | [core] Introduce Source::setMinimumTileUpdateInterval API | Mikhail Pozdnyakov | 2020-04-20 | 3 | -3/+21 |
| | | | | | | 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 Tile::setMinimumUpdateInterval() | Mikhail Pozdnyakov | 2020-04-20 | 9 | -13/+51 |
| | |||||
* | [core] Introduce `Resource::minimumUpdateInterval` | Mikhail Pozdnyakov | 2020-04-20 | 1 | -3/+3 |
| | | | | | | 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. Santos | 2020-04-20 | 1 | -1/+2 |
| | | | | | Some platforms might require special permissions or custom APIs to access the current time of the day. | ||||
* | [core] Fix -Werror={pessimizing,redundant}-move from GCC 9 | Bruno de Oliveira Abinader | 2020-04-20 | 4 | -7/+4 |
| | |||||
* | Add a name to CustomLayer LayerTypeInfo | Gali Nelle | 2020-04-20 | 1 | -1/+1 |
| | | | | | | This to prevent confusion and enable proper error logging when registering layers with missing name in LayerTypeInfo where the name should instead be present. | ||||
* | Add missing cast for unsigned long to int conversion | Gali Nelle | 2020-04-20 | 1 | -2/+2 |
| | |||||
* | [core] Fix clang-analyzer-optin.cplusplus.VirtualCall | Thiago Marcos P. Santos | 2020-04-17 | 1 | -4/+6 |
| | | | | Detected by clang-tidy-8. | ||||
* | [core] Fix android-cloexec-fopen warning | Thiago Marcos P. Santos | 2020-04-17 | 1 | -1/+1 |
| | | | | Detected by clang-tidy-8. | ||||
* | Introduce a mean to add render features in layers with no sources | Gali Nelle | 2020-04-17 | 6 | -11/+122 |
| | | | | | | This change also uses the support in the LocationIndicator layer, to return a point feature when queried in correspondence of the location indicator. | ||||
* | Use unique_ptr for RenderLocationIndicatorImpl | Gali Nelle | 2020-04-17 | 2 | -2/+2 |
| | |||||
* | Better structure fix. | Luke Seelenbinder | 2020-04-17 | 1 | -4/+4 |
| | |||||
* | Fix segfault resulting from an invalid geometry. | Luke Seelenbinder | 2020-04-17 | 1 | -2/+5 |
| | |||||
* | [core] Fix performance-no-automatic-move (bonus) | Thiago Marcos P. Santos | 2020-04-17 | 3 | -4/+4 |
| | | | | | | 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 files | Thiago Marcos P. Santos | 2020-04-17 | 4 | -5/+8 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-unnecessary-value-param errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 6 | -6/+9 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-use-equals-default errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -3/+3 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-default-arguments errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -6/+6 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix misc-unconventional-assign-operator errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -2/+6 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix google-build-namespaces errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -12/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-use-override errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 5 | -5/+5 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-type-promotion-in-math-fn errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -10/+15 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-return-braced-init-list errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -3/+3 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-unnecessary-value-param errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 2 | -6/+3 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-move-const-arg errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -2/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix modernize-pass-by-value errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 3 | -11/+12 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix bugprone-forward-declaration-namespace errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -4/+0 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix performance-unnecessary-copy-initialization errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 1 | -2/+2 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-redundant-member-init errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 5 | -4/+6 |
| | | | | As reported by clang-tidy-8. | ||||
* | [core] Fix readability-avoid-const-params-in-decls errors in header files | Thiago Marcos P. Santos | 2020-04-17 | 39 | -201/+248 |
| | | | | As reported by clang-tidy-8. | ||||
* | Add generic setter for 'source' property | Alexander Shalamov | 2020-04-16 | 1 | -1/+24 |
| | | | | | - Add setter for 'source' property - Test generic setters via setProperty method | ||||
* | Fix LocationIndicator not updating image sizes when image manager content ↵ | Gali Nelle | 2020-04-16 | 1 | -19/+27 |
| | | | | changes | ||||
* | [core] RenderCircleLayer fixes | Mikhail Pozdnyakov | 2020-04-14 | 1 | -68/+52 |
| | |||||
* | [core] CircleLayout fixes | Mikhail Pozdnyakov | 2020-04-14 | 1 | -37/+33 |
| | |||||
* | Enable 'circle-sort-key' layout property | Andrew Hay Kurtz | 2020-04-14 | 11 | -98/+337 |
| | |||||
* | when removing an image use the correct list ptr for presence verification | Łukasz Paczos | 2020-04-10 | 1 | -1/+1 |
| | | | | This fixes an issues where calling `removeImage` would crash if the image was not present and the original list was not empty. | ||||
* | Fix LocationIndicator Layer | Gali Nelle | 2020-04-10 | 4 | -97/+151 |
| | | | | | | | | | 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. |