summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix raster map jittering during panning (#16478)Kevin Li2020-05-251-2/+2
|
* Add FreeCameraOptions to the Map classMikko Pulkki2020-05-026-2/+153
|
* Refactor TransformState to use internal 3d cameraMikko Pulkki2020-05-024-37/+357
|
* Add quaternions to represent orientationsMikko Pulkki2020-05-022-0/+147
|
* Move vector types to a public headerMikko Pulkki2020-05-022-4/+2
|
* [core] Fix rest of 'brace initialization' errorsAlexander Shalamov2020-04-304-52/+52
|
* [core] Fix geometry_util compilation errorzmiao2020-04-301-9/+10
|
* [core] Distance expression: Refine logiczmiao2020-04-301-103/+174
|
* [test] Distance expression: Update unit testszmiao2020-04-301-13/+12
|
* Add support for polygon in distance expressionzmiao2020-04-302-33/+297
|
* [core] Distance expression: Remove code and comments related to unit argumentzmiao2020-04-281-9/+7
|
* [core][tile mode] Further improve the label prioritizationMikhail Pozdnyakov2020-04-281-12/+16
| | | | | | The most important variable labels a placed right away at "populate intersections" phase, even if they do not actually intersect the tile borders.
* [core][tile mode] Fix placement order of the variable labelsMikhail Pozdnyakov2020-04-282-29/+41
| | | | | | Before this change, all variable labels that could potentially intersect tile borders were placed first, breaking the style label placement priority order.
* [core] Label intersection prioritizationMikhail Pozdnyakov2020-04-281-3/+9
|
* [core] Distance expression: remove unit argument (#16434)zmiao2020-04-241-92/+25
|
* [core] Factored out default fontsMinh Nguyễn2020-04-241-8/+5
|
* [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.