summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layer_impl.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] split off render layersIvo van Dongen2017-04-251-32/+2
|
* [core] account for property functions in query rendered featuresIvo van Dongen2017-04-191-3/+3
|
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-021-1/+1
|
* [core] Get rid of user-specified refsJohn Firebaugh2017-01-041-6/+7
|
* [core] Convert BucketParameters#layer to a separate parameterJohn Firebaugh2016-12-211-1/+1
| | | | This parameter varies between Buckets, while the others are constant. It makes more sense as an individual parameter.
* [core] Convert style properties to a tuple-based approachJohn Firebaugh2016-11-171-2/+2
| | | | | | | | This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md. The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily. Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state.
* [core] No need for feature querying to support multipolygonsJohn Firebaugh2016-10-111-1/+1
|
* [core, ios, android, qt] Observe style layer mutations rather than requiring ↵John Firebaugh2016-09-061-0/+6
| | | | | | SDKs to use Map::update This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation.
* [core] Respect minzoom and maxzoom propertiesThiago Marcos P. Santos2016-07-291-1/+1
| | | | Fixes #5811
* [core, node] Implement bindings for addLayerJohn Firebaugh2016-06-241-3/+2
|
* [core] Adjust layer source properties to better reflect realityJohn Firebaugh2016-06-241-0/+6
| | | | | | | | * 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] *Tile ↔ *TileDataJohn Firebaugh2016-06-131-1/+1
| | | | Tile is now the main base class; RasterTile, VectorTile, etc are its subclasses. GeometryTileData and its subclasses form the piece that's passed to the worker.
* [core] Rationalize naming for style-related codeJohn Firebaugh2016-06-021-0/+92