summaryrefslogtreecommitdiff
path: root/include/mbgl/style/layers/layer.hpp.ejs
Commit message (Collapse)AuthorAgeFilesLines
* [core] clang-tidy fixesKonstantin Käfer2019-04-051-4/+4
|
* [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-19/+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] Add `line-gradient` propertyMikhail Pozdnyakov2018-08-231-1/+1
| | | | | | | | Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303 See the link above for the description of the feature and its limitations). Based on patch from @lbud (Lauren Budorick).
* [core] Eliminate setProperty & co.John Firebaugh2018-08-131-0/+4
|
* [core] Merge DataDrivenPropertyValue into PropertyValue (#12513)John Firebaugh2018-07-311-1/+0
|
* Rename `HeatmapColorPropertyValue` to `ColorRampPropertyValue`Mikhail Pozdnyakov2018-07-051-3/+3
| | | | | | | | Based on patch from @lbud (Lauren Budorick). Give `HeatmapColorPropertyValue` a more generic name, since the same value type will be used for both `heatmap-color` and `line-gradient` properties.
* [core, ios, macos, android, node] Heatmap layer (#11046)Vladimir Agafonkin2018-02-151-0/+3
| | | | | Co-Authored-By: Konstantin Käfer <mail@kkaefer.com> Co-Authored-By: Anand Thakker <anandthakker@users.noreply.github.com> Co-Authored-By: Minh Nguyễn <1ec5@users.noreply.github.com>
* [core] add raster-dem source type and hillshade layer type (#10642)Molly Lloyd2018-01-231-1/+1
|
* [core, node, darwin, qt] Remove support for paint classesJohn Firebaugh2017-05-151-4/+4
|
* [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/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [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/+3
|
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-021-6/+7
|
* [core] Add missing classed paint property getterJohn Firebaugh2016-09-061-1/+1
|
* [core] Add static getters for property default values (#6124)John Firebaugh2016-08-231-0/+2
|
* [core, node] Implement bindings for addLayerJohn Firebaugh2016-06-241-1/+1
|
* [core] Adjust layer source properties to better reflect realityJohn Firebaugh2016-06-241-9/+8
| | | | | | | | * Layer source ID is immutable; must be provided to the constructor * Layer source layer is mutable * Layers with GeoJSON sources do not have a source layer While here, make Layer::copy impl-private.
* [core] Extract code templates to individual .ejs filesJohn Firebaugh2016-06-131-0/+76