summaryrefslogtreecommitdiff
path: root/include/mbgl/style/layers/background_layer.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Fix modernize-use-override errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* [core] Fix readability-redundant-member-init errors in header filesThiago Marcos P. Santos2020-04-171-1/+1
| | | | As reported by clang-tidy-8.
* Make location indicator bearing a paint propertyGali Nelle2020-04-081-1/+0
| | | | | | 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.
* [core] Move generic setProperty() parts to the base Layer classMikhail Pozdnyakov2020-03-241-6/+6
|
* [core] Generate layer codeAlexander Shalamov2020-02-261-0/+1
|
* [core] Merge style::Layer::set{Layout,Paint}PropertyMikhail Pozdnyakov2019-12-031-2/+1
|
* [core] Implement image expression (#15877)Alexander Shalamov2019-11-111-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Bump gl-js version * [core] Implement image expression * [core] Use new image expression * [core] Coerce image expression to / from string * [core] Serialize evaluated image * [core] Pass available images to layout * [core] Pass images to evaluation context * [core] Set available flag value based on image availability * [core] Allow image coercion to boolean to indicate image availability * [core] Coalesce image expression * [core] Add image expression to next build system * [core] Align serialization format and evaluated type with gl-js * [core] Add images to expression evaluation method * [core] Add support for Image expression to expression test runner * [core] Unskip image expression tests * [core] Update unit tests * [core] Use image expression in annotation manager * [core] Add string to ImageExpression conversion * [core] Add image expression to expression dsl * [core] Convert tokens for implicitly created Image literal * [core] Fix clang format * [core] Split generated style code lines that are over 120 characters * [core] Add unit test for image expression equality * [core] Add image property expression evaluation unit test * [core] Unskip image expression render test * [core] Skip 'in' expression tests * [core] Ignore fill-pattern/update-feature-state render test * [core] Rename Image::serialize to Image::toValue
* [core] Layer::getPaintProperty() -> Layer::getProperty()Mikhail Pozdnyakov2019-09-261-1/+1
|
* [core] LayerProperty -> StylePropertyMikhail Pozdnyakov2019-09-261-1/+1
|
* [core] Introduce Layer::getPaintProperty() generic getterMikhail Pozdnyakov2019-09-261-0/+2
|
* [build] Disable clang-format on generated codeThiago Marcos P. Santos2019-09-251-0/+4
| | | | Nice to have, but would make maintain the templates a lot harder.
* [build] change style code generator to sort properties alphabeticallyKonstantin Käfer2019-05-021-6/+6
| | | | JSON keys in our style specification don't have a defined order. This change sorts them alphabetically so that we can rely on the order remaining them same across code generation runs.
* [core] clang-tidy fixesKonstantin Käfer2019-04-051-6/+6
|
* [core, android, darwin] Move layer factories to separate filesMikhail Pozdnyakov2018-12-101-9/+0
|
* [core] layermanager folderMikhail Pozdnyakov2018-11-301-1/+1
| | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder.
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-271-8/+6
| | | | | | | | `LayerManager` is now responsible for `RenderLayer` instances creation, so that there is a single entry point for creating of objects, which correspond to a certain layer type. The `LayerType type` field is dropped from `Layer::Impl`.
* [core][android] Introduce mbgl::style::LayerTypeInfoMikhail Pozdnyakov2018-11-151-7/+3
| | | | | | | | | The `LayerTypeInfo` contains static meta data about certain layer type. Each layer module should have a single immutable `LayerTypeInfo` instance for the represented layer type. Both `LayerImpl` and `LayerFactory` from the module always refer to the same `LayerTypeInfo` instance, so address of this instance can be used as a layer module Id during the process life time.
* noexcept specifier for layer factory methodsMikhail Pozdnyakov2018-11-071-2/+2
|
* Refer corresponding LayerFactory instance from the Layer::ImplMikhail Pozdnyakov2018-11-071-3/+9
|
* Introduce the style::Layer factory classesMikhail Pozdnyakov2018-10-311-0/+8
| | | | | | | | | This patch introduces the initial implementation of - A `LayerFactory` abstract class that creates `style::Layer` instances of a certain layer type (line, hillshade, round, ..) - A singleton `LayerManager` class, which is responsible for initializing the `LayerFactory` instances and forwarding the `create()` calls to the corresponding factory.
* Remove style::Layer::is()/as()Mikhail Pozdnyakov2018-10-311-5/+0
|
* Consolidate `style::Layer` properties APIMikhail Pozdnyakov2018-10-251-7/+3
| | | | | | | | The `style::Layer` class now exposes all the properties contained at `style::LayerImpl`. This allowed to drop `style::Layer::accept()` method usage, avoid the repeated generated code and thus save some binary size. This patch is a part of the layers modularization effort.
* [core] Initial implementation of 'format' expressionChris Loer2018-10-151-0/+1
|
* [core] Eliminate setProperty & co.John Firebaugh2018-08-131-0/+4
|
* [core] Merge DataDrivenPropertyValue into PropertyValue (#12513)John Firebaugh2018-07-311-1/+0
|
* [core, node, darwin, qt] Remove support for paint classesJohn Firebaugh2017-05-151-12/+12
|
* [core] Immutable ImplsJohn Firebaugh2017-05-121-4/+12
|
* [core] split off render layersIvo van Dongen2017-04-251-1/+1
|
* Per-attribute transition properties on MGLStyleLayer (#8225)Fabian Guerra Soto2017-03-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [ios, macos] new struct MGLTransition * [ios] MGLTransition struct moved to MGLTypes.h * [ios] MGLTransition implemented for style layer properties * [ios, macos] added support for getting property transitions * [ios, macos] updated to MGLDurationFromTimeInterval and MGLTimeIntervalFromDuration * [ios, macos] added transition properties test * [ios, macos] modified key strings imp * [ios, macos] The impl for transition properties were changed to public methods * [ios, macos] Changelog update * [ios] Fixed layer space formatting * [core] The name space was fixed for getters that returned TransitionOptions * [ios, macos] Added rawLayer transition property tests * [ios] Added a factory method for MGLTransition and transition-related methods to NSValue(MGLAdditions) * [ios, macos] Copyedited changelog blurbs about transition properties
* [core] Restore support for *-transition propertiesJohn Firebaugh2017-02-091-0/+5
|
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-021-0/+1
|
* [core] Add missing classed paint property getterJohn Firebaugh2016-09-061-3/+3
|
* [core] Add static getters for property default values (#6124)John Firebaugh2016-08-231-0/+3
|
* [core, node] Implement bindings for addLayerJohn Firebaugh2016-06-241-3/+3
|
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-0/+45