summaryrefslogtreecommitdiff
path: root/include/mbgl/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] Distance expression: remove unit argument (#16434)zmiao2020-04-241-2/+1
|
* follow-up fixes after 16416Mikhail Pozdnyakov2020-04-221-2/+3
|
* [core] Add style::Source::setVolatile()/isVolatile() APIMikhail Pozdnyakov2020-04-221-2/+5
|
* [core] Introduce distance expressionzmiao2020-04-223-2/+40
| | | | | | | | | | | | | | | | | | 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] Introduce Source::setMinimumTileUpdateInterval APIMikhail Pozdnyakov2020-04-201-4/+15
| | | | | | 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] Fix performance-no-automatic-move (bonus)Thiago Marcos P. Santos2020-04-172-3/+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-171-2/+2
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-use-equals-default errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix google-default-arguments errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix modernize-use-override errors in header filesThiago Marcos P. Santos2020-04-1712-12/+12
| | | | As reported by clang-tidy-8.
* [core] Fix readability-redundant-smartptr-get errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix readability-const-return-type errors in header filesThiago Marcos P. Santos2020-04-171-6/+2
| | | | As reported by clang-tidy-8.
* [core] Fix performance-unnecessary-value-param errors in header filesThiago Marcos P. Santos2020-04-176-41/+26
| | | | As reported by clang-tidy-8.
* [core] Fix performance-move-const-arg errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix bugprone-forwarding-reference-overload errors in header filesThiago Marcos P. Santos2020-04-171-0/+1
| | | | | | This was a false positive. As reported by clang-tidy-8.
* [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-1712-14/+14
| | | | As reported by clang-tidy-8.
* [core] Fix readability-avoid-const-params-in-decls errors in header filesThiago Marcos P. Santos2020-04-176-11/+8
| | | | 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-141-0/+6
|
* 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.
* Add unit tests for Rotation interpolatorGali Nelle2020-04-081-3/+3
|
* Make location indicator bearing a paint propertyGali Nelle2020-04-0814-13/+69
| | | | | | 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-084-1/+125
| | | | | New key is "G" in mbgl-glfw, cycling between no puck, centered in the viewport and positioned in Tokyo.
* [core] Add setMaxOverscaleFactorForParentTilesAlexander Shalamov2020-04-011-0/+14
|
* [core] Fix readability-* errorsThiago Marcos P. Santos2020-03-301-1/+1
| | | | As reported by clang-tidy-8.
* [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-2411-63/+66
|
* Bump mapbox-base to 1.2.0Alexander Shalamov2020-03-234-6/+6
|
* [core] Fix performance-unnecessary-value-param errorsThiago Marcos P. Santos2020-03-238-17/+16
| | | | As reported by clang-tidy-8.
* [core] Using TileCoordinates for geometry comparisonzmiao2020-03-191-2/+1
|
* [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] Fix TransitionOptions serializationAlexander Shalamov2020-02-262-8/+16
|
* [core] Fix Color serializationAlexander Shalamov2020-02-261-3/+6
|
* [core] Generate layer codeAlexander Shalamov2020-02-269-0/+9
|
* [core] Add layer serialization methodAlexander Shalamov2020-02-263-0/+5
|
* [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
* Enable parse within expressionzmiao2020-02-122-5/+56
| | | | Add geometry type checker
* style::Style::getImage() returns optional<style::Image>Mikhail Pozdnyakov2020-02-112-3/+3
|
* [core] Loading images to style optimizationMikhail Pozdnyakov2020-02-111-2/+4
| | | | | | This change enables attaching images to the style with batches and avoids massive re-allocations. Thus, it improves UI performance especially at start-up time.
* [core] Add runtime API for setting tile prefetch delta for SourceAlexander Shalamov2020-02-116-0/+22
| | | | | | | New setPrefetchZoomDelta(optional<uint8_t> delta) method allow overriding default tile prefetch setting that is defined by the Map instance. The method can be moved to generic style specification if found to be useful for gl-js engine.