summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* [core] PlacedSymbolData contains layer idMikhail Pozdnyakov2020-04-092-2/+6
|
* [core][tile mode] Support variable placement + icon-text-fitMikhail Pozdnyakov2020-04-081-1/+15
|
* Make location indicator bearing a paint propertyGali Nelle2020-04-087-36/+96
| | | | | | 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-0817-11/+1733
| | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo.
* [core][tile mode] Fix placement mismatch for the labels with same geomertyMikhail Pozdnyakov2020-04-081-2/+9
|
* [core][tile mode] Improve placement algorithm for variable labelsMikhail Pozdnyakov2020-04-082-17/+26
|
* [core][tile mode] Placement algorithm improvementsMikhail Pozdnyakov2020-04-083-29/+81
| | | | | | | | | | | Now, the intersecting symbols are placed across all layers according to the following rules: 1) First we look, which of the tile border(s) the symbol intersects and prioritize the the symbol accordingly (high priority -> low priority): vertical & horizontal -> vertical -> horizontal 2) For the symbols that intersect the same tile border(s), assuming the tile border split symbol into several sections, we look at the minimal section length. The symbol with a larger minimal section length is placed first. 3) Finally, for the symbols that intersect the same tile border(s), and have equal minimal section length, we look at the anchor Y cordinate.
* [core] Symbol by symbol placement for intersectionsMikhail Pozdnyakov2020-04-082-57/+70
|
* [core] Introduce PlacementContextMikhail Pozdnyakov2020-04-082-371/+434
| | | | Make `placeSymbol()` a method and introduce copiable `PlacementContext`.
* [build] Fix undefined behavour sanitizer (#16375)zmiao2020-04-0712-32/+53
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [build] Fix integer overflow runtime error for core part Temporarily remove circle ci UBSAN build precondition * [build] Enable all of the ubsans [build] Check runtime error [build] Update UBSAN_OPTION * [build] Add UBSAN blacklist [build] Ignore system libraries [build] Ignore vendor library * [build] Fix implicit conversion runtime error in core * [build] Fix division by zero runtime error * [build] Add unfixed error to ubsan blacklist * [build] Make UBSAN halt on error Revert "Temporary remove build precondition" * [build] Fix division by zero error * [build] Make UBSAN officially work without FIXME prefix * [build] Fix implicit conversion from int64_t to uint64_t * [build] Rename style test json file name * Address review findings
* Refactor tileCover to support lod tilesMikko Pulkki2020-04-0610-44/+511
|
* [core] PlacedSymbolData includes viewport paddingMikhail Pozdnyakov2020-04-023-3/+6
|
* [core][tile mode] Implement API to collect placed symbols dataMikhail Pozdnyakov2020-04-022-4/+56
|
* [core] Introduce API to collect placed symbols dataMikhail Pozdnyakov2020-04-025-4/+33
| | | | | | | | | | 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-0112-14/+78
|
* Hillshade bucket fix https://github.com/mapbox/mapbox-gl-native-ios/issues/240Aleksandar Stojiljkovic2020-04-011-2/+4
| | | | Fixes: https://github.com/mapbox/mapbox-gl-native-ios/issues/240
* [core] Move logging off the main threadJuha Alanen2020-04-011-6/+47
|
* [build] Disable clang-format for generated code (#16358)Thiago Marcos P. Santos2020-03-3110-0/+40
| | | | | | The code should be human readable but it is more important if the code in the generator itself is easier to understand. Nobody wants to play clang-format golf with these generators.
* [core] Fix misc-* errorsThiago Marcos P. Santos2020-03-302-3/+2
| | | | As reported by clang-tidy-8.
* [core] Fix readability-* errorsThiago Marcos P. Santos2020-03-3052-403/+451
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-string-integer-assignment errorsThiago Marcos P. Santos2020-03-301-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-integer-division errorsThiago Marcos P. Santos2020-03-301-1/+4
| | | | As reported by clang-tidy-8.too_small
* [core] Fix bugprone-macro-parentheses errorsThiago Marcos P. Santos2020-03-301-4/+2
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-move-forwarding-reference errorsThiago Marcos P. Santos2020-03-304-60/+51
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-too-small-loop-variable errorsThiago Marcos P. Santos2020-03-304-5/+7
| | | | As reported by clang-tidy-8.
* [core] Fix google-build-explicit-make-pair errorsThiago Marcos P. Santos2020-03-301-9/+9
| | | | As reported by clang-tidy-8.
* [core] Fix google-default-arguments errorsThiago Marcos P. Santos2020-03-301-2/+1
| | | | As reported by clang-tidy-8.
* [core] Fix google-explicit-constructor errorsThiago Marcos P. Santos2020-03-303-4/+3
| | | | As reported by clang-tidy-8.
* [core] Fix google-readability-casting errorsThiago Marcos P. Santos2020-03-305-19/+29
| | | | As reported by clang-tidy-8.
* Fix assert on gfx resource cleanupMikko Pulkki2020-03-301-1/+1
|
* Address review findingzmiao2020-03-261-7/+13
| | | | Remove unncessary condition check
* [core] Fix within meridian issuezmiao2020-03-262-7/+38
|
* [core][tile mode] Share seenCrossTileIDs across all placeLayer() callsMikhail Pozdnyakov2020-03-252-7/+15
| | | | Thus we obviate lots of repeated operations for already placed symbols.
* [core][tile mode] Place tile intersecting labels first, across all layersMikhail Pozdnyakov2020-03-252-31/+34
| | | | | | | | Thus, we reduce the amount of label cut-offs in Tile mode. Before, labels were arranged within one symbol layer (one bucket), which was not enough for several symbol layers being placed at the same time.
* [core] Introduce map mode specific Placement implementationsMikhail Pozdnyakov2020-03-253-184/+275
|
* [core] Introduce Placement::placeLayers()Mikhail Pozdnyakov2020-03-255-28/+29
|
* [core] Ability to set source-layer setProperty methodMikhail Pozdnyakov2020-03-249-44/+22
|
* [core] conversion::Layer uses setProperty API to set max/min zoom & filterMikhail Pozdnyakov2020-03-242-33/+16
|
* [core] Layer::setProperty() can set min/max zoom and filterMikhail Pozdnyakov2020-03-241-2/+19
|
* [core] Move generic setProperty() parts to the base Layer classMikhail Pozdnyakov2020-03-2412-51/+28
|
* [core] Fix modernize-pass-by-value errorsThiago Marcos P. Santos2020-03-236-21/+17
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-deprecated-headers errorsThiago Marcos P. Santos2020-03-231-1/+2
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-return-braced-init-list errorsThiago Marcos P. Santos2020-03-238-45/+33
| | | | As reported by clang-tidy-8.
* Bump mapbox-base to 1.2.0Alexander Shalamov2020-03-233-3/+3
|