summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core][tile mode] Make sure only a single tile is usedMikhail Pozdnyakov2020-04-241-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 operationsMikko Pulkki2020-04-232-28/+29
|
* Fix compilation issues on GCC 9Bruno de Oliveira Abinader2020-04-221-0/+1
|
* [core] Source::setVolatile enables Resource::StoragePolicy::Volatile for tilesMikhail Pozdnyakov2020-04-224-3/+7
|
* [core] Add TileUpdateParameters and use itMikhail Pozdnyakov2020-04-2210-17/+29
|
* [core] Add style::Source::setVolatile()/isVolatile() APIMikhail Pozdnyakov2020-04-222-1/+15
|
* [core] Distance expression: Fix expression serializationzmiao2020-04-222-12/+16
|
* [core] Distance expression: Add index range checker, fix geojson type conversionzmiao2020-04-222-15/+40
|
* [core] Distance expression: Change template class into template function in ↵zmiao2020-04-225-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 expressionzmiao2020-04-221-4/+4
|
* [core] Introduce distance expressionzmiao2020-04-228-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 tilesMikhail Pozdnyakov2020-04-201-7/+6
|
* [core] TilePyramid::update accepts source implMikhail Pozdnyakov2020-04-208-67/+53
|
* [core] Introduce Source::setMinimumTileUpdateInterval APIMikhail Pozdnyakov2020-04-203-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 Pozdnyakov2020-04-209-13/+51
|
* [core] Introduce `Resource::minimumUpdateInterval`Mikhail Pozdnyakov2020-04-201-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. Santos2020-04-201-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 9Bruno de Oliveira Abinader2020-04-204-7/+4
|
* Add a name to CustomLayer LayerTypeInfoGali Nelle2020-04-201-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 conversionGali Nelle2020-04-201-2/+2
|
* [core] Fix clang-analyzer-optin.cplusplus.VirtualCallThiago Marcos P. Santos2020-04-171-4/+6
| | | | Detected by clang-tidy-8.
* [core] Fix android-cloexec-fopen warningThiago Marcos P. Santos2020-04-171-1/+1
| | | | Detected by clang-tidy-8.
* Introduce a mean to add render features in layers with no sourcesGali Nelle2020-04-176-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 RenderLocationIndicatorImplGali Nelle2020-04-172-2/+2
|
* Better structure fix.Luke Seelenbinder2020-04-171-4/+4
|
* Fix segfault resulting from an invalid geometry.Luke Seelenbinder2020-04-171-2/+5
|
* [core] Fix performance-no-automatic-move (bonus)Thiago Marcos P. Santos2020-04-173-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 filesThiago Marcos P. Santos2020-04-174-5/+8
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-176-6/+9
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-use-equals-default errors in header filesThiago Marcos P. Santos2020-04-172-3/+3
| | | | As reported by clang-tidy-8.
* [core] Fix google-default-arguments errors in header filesThiago Marcos P. Santos2020-04-173-6/+6
| | | | As reported by clang-tidy-8.
* [core] Fix misc-unconventional-assign-operator errors in header filesThiago Marcos P. Santos2020-04-172-2/+6
| | | | As reported by clang-tidy-8.
* [core] Fix google-build-namespaces errors in header filesThiago Marcos P. Santos2020-04-173-12/+2
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-use-override errors in header filesThiago Marcos P. Santos2020-04-175-5/+5
| | | | As reported by clang-tidy-8.
* [core] Fix performance-type-promotion-in-math-fn errors in header filesThiago Marcos P. Santos2020-04-173-10/+15
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-return-braced-init-list errors in header filesThiago Marcos P. Santos2020-04-173-3/+3
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-172-6/+3
| | | | As reported by clang-tidy-8.
* [core] Fix performance-move-const-arg errors in header filesThiago Marcos P. Santos2020-04-171-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-pass-by-value errors in header filesThiago Marcos P. Santos2020-04-173-11/+12
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-forward-declaration-namespace errors in header filesThiago Marcos P. Santos2020-04-171-4/+0
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-copy-initialization errors in header filesThiago Marcos P. Santos2020-04-171-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix readability-redundant-member-init errors in header filesThiago Marcos P. Santos2020-04-175-4/+6
| | | | As reported by clang-tidy-8.
* [core] Fix readability-avoid-const-params-in-decls errors in header filesThiago Marcos P. Santos2020-04-1739-201/+248
| | | | As reported by clang-tidy-8.
* Add generic setter for 'source' propertyAlexander Shalamov2020-04-161-1/+24
| | | | | - Add setter for 'source' property - Test generic setters via setProperty method
* Fix LocationIndicator not updating image sizes when image manager content ↵Gali Nelle2020-04-161-19/+27
| | | | changes
* [core] RenderCircleLayer fixesMikhail Pozdnyakov2020-04-141-68/+52
|
* [core] CircleLayout fixesMikhail Pozdnyakov2020-04-141-37/+33
|
* Enable 'circle-sort-key' layout propertyAndrew Hay Kurtz2020-04-1411-98/+337
|
* when removing an image use the correct list ptr for presence verificationŁukasz Paczos2020-04-101-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 LayerGali Nelle2020-04-104-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.