summaryrefslogtreecommitdiff
path: root/include/mbgl/style/layer.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Remove clipping option from RenderTile and style::Layerupstream/mikhail_simplify_render_tileMikhail Pozdnyakov2019-05-071-6/+0
|
* [core] Add `FadingTiles` layer type propertyMikhail Pozdnyakov2019-04-171-0/+6
|
* [core] Drop LayerTypeMikhail Pozdnyakov2019-01-041-1/+0
| | | | | Drop LayerType and its remaining usages. The generic code should be layer type agnostic.
* [core] layermanager folderMikhail Pozdnyakov2018-11-301-70/+0
| | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder.
* [core] LayerManager can disable annotationsMikhail Pozdnyakov2018-11-281-0/+22
| | | | | | | | | | | | | At the moment, the annotations implementation in the `mapbox-gl-native` core is creating concrete layer instances apart from `LayerManager/LayerFactory` code path. So, annotations must be disabled if the `LayerManager` implementation does not provide line, fill or symbol layers (those, used by the annotations). Note: in future, annotations implementation will be moved from the core to the platform SDK level(see https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation) and `LayerManager` won't need to disable it.
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-271-11/+19
| | | | | | | | `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] Add static layer properties to mbgl::style::LayerTypeInfoAlexander Shalamov2018-11-191-3/+22
|
* [core][android] Introduce mbgl::style::LayerTypeInfoMikhail Pozdnyakov2018-11-151-2/+21
| | | | | | | | | 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-5/+5
|
* Refer corresponding LayerFactory instance from the Layer::ImplMikhail Pozdnyakov2018-11-071-5/+6
|
* Introduce the style::Layer factory classesMikhail Pozdnyakov2018-10-311-2/+39
| | | | | | | | | 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-25/+0
|
* Consolidate `style::Layer` properties APIMikhail Pozdnyakov2018-10-251-50/+23
| | | | | | | | 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] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-191-0/+1
|
* [core] Factor out setVisibility conversionJohn Firebaugh2018-08-131-0/+1
|
* [core] Eliminate setProperty & co.John Firebaugh2018-08-131-1/+5
|
* [core] Replace unique_any with peer from mapbox-bindgenBruno de Oliveira Abinader2018-08-081-2/+2
|
* [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-0/+3
|
* [core, ios, macos] Implement unique_any and remove linb::anyAsheem Mamoowala2017-11-221-2/+2
|
* [core] ensure layer::accept works with non-void return values on gccIvo van Dongen2017-05-301-0/+7
|
* [core] forward visitor in layer::acceptIvo van Dongen2017-05-231-8/+8
|
* [core] Return {Source,Layer}::getID by valueJohn Firebaugh2017-05-121-1/+1
| | | | | | | | | | Avoid dangling references in the following sequence: auto& id = layer->getID(); layer->setMaxZoom(2); std::cout << id; The reference would be dangling because mutating the layer allocates a new Immutable impl, and there may be no references to the prior impl, which held the id.
* [core] Immutable ImplsJohn Firebaugh2017-05-121-14/+17
|
* [core] Render fill-extrusion layers (#8431)Lauren Budorick2017-04-271-1/+1
|
* [core] split off render layersIvo van Dongen2017-04-251-23/+15
|
* [core, darwin] Object identity for MGLSource*, MGLStyleLayer*John Firebaugh2017-04-131-0/+6
| | | | All `MGLSource` pointers referencing the same logical source will now be object identical; similarly for `MGLStyleLayer`.
* [core] Include what you useThiago Marcos P. Santos2017-01-201-0/+1
|
* [core] Get rid of user-specified refsJohn Firebaugh2017-01-041-0/+2
|
* [core] Implement circle-stroke propertiesJohn Firebaugh2016-12-091-0/+4
| | | | Also includes stubs for fill-extrusion layer, because most of the code was auto-generated.
* [core] Trigger Source::Impl::reload when a filter or layout property is modifiedJohn Firebaugh2016-09-061-15/+55
|
* [core] Adjust layer source properties to better reflect realityJohn Firebaugh2016-06-241-5/+0
| | | | | | | | * 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] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-4/+3
|
* [core] Add {min,max}Zoom accessorsJohn Firebaugh2016-06-021-0/+6
|
* [core] Runtime style layer APIJohn Firebaugh2016-06-021-0/+78