summaryrefslogtreecommitdiff
path: root/src/mbgl/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] Remove RenderLinePaintPropertiesMikhail Pozdnyakov2019-04-024-0/+20
| | | | | | | This patch removes the `RenderLinePaintProperties` by making `LineFloorWidth` part of the `style::LinePaintProperties`. It normalizes paint properties evaluation for the line layer.
* [core] Single line optimization for variable label placementMikhail Pozdnyakov2019-03-291-5/+0
|
* [core] auto value for 'text-justify' fieldMikhail Pozdnyakov2019-03-291-0/+1
|
* [core] Enable 'text-radial-offset' propertyMikhail Pozdnyakov2019-03-292-1/+30
|
* [core] Enable text-variable-anchor propertyMikhail Pozdnyakov2019-03-297-1/+70
|
* [core] Traverse expression tree when checking for property overridesAlexander Shalamov2019-03-282-14/+53
| | | | | | | | | | Before this change, symbol layer was only checking whether top level 'text-field' layout property expression is FormatExpression and if it has paint property overrides. This change takes into account that 'text-field' might have nested expressions, thus, requires traversal over child expressions. Fixes: #14254
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-201-3/+0
|
* [core] remove a_/u_ prefix from attribute/uniform typesKonstantin Käfer2019-03-206-34/+34
|
* [core] Add possibility of overriding paint properties inside format ↵Alexander Shalamov2019-03-1314-39/+282
| | | | | | | | | | | | | | | | | | expression #14062 * [core] Add format override expression and formatted section to evaluation context * [core] Add textColor to TaggedString's formatted section * [core] Add FormatSectionOverrides and introduce overridable properties * [core] Populate symbol layer paint properties for text sections * [core] Add benchmark for style that uses text-color override * [core] Add unit test for FormatOverrideExpression * [core] Add unit test for FormatSectionOverrides
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-1/+1
|
* [core] extract attribute structs and gl::Vertex to separate namespaceKonstantin Käfer2019-03-013-7/+6
|
* [core] change loop variable type to autoKonstantin Käfer2019-01-301-1/+1
| | | | We used `const std::pair<T, std::shared_ptr<Expression>>`, but the actual type is `const std::pair<const T, std::shared_ptr<Expression>>` which resulted in an implicit copy
* [core] return constexpr strings from functions to avoid ODR compile failuresKonstantin Käfer2019-01-114-43/+43
|
* [core] Use eternal::hash_map in style::LayersMikhail Pozdnyakov2018-12-1910-1214/+311
|
* [core] Share GeoJSONData pointer as weak_ptr instead of raw ptrAlexander Shalamov2018-12-122-7/+7
|
* [core] Expose getChildren, getLeaves, getClusterExpansionZoom on ↵Alexander Shalamov2018-12-122-0/+35
| | | | SuperclusterData
* [core, android, darwin] Move layer factories to separate filesMikhail Pozdnyakov2018-12-1011-257/+0
|
* [android] expose Formatted text-field setterŁukasz Paczos2018-12-041-3/+57
|
* [core] convert CompoundExpressionRegistry to constexpr hash mapKonstantin Käfer2018-12-043-110/+420
|
* [core] use constexpr map using eternal for expression lookupsKonstantin Käfer2018-12-042-39/+44
|
* [core] layermanager folderMikhail Pozdnyakov2018-11-302-59/+2
| | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder.
* [core] Support fill-extrusion-vertical-gradientBruno de Oliveira Abinader2018-11-292-1/+62
|
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-2731-203/+279
| | | | | | | | `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`.
* Refactor util::fontStacks()Mikhail Pozdnyakov2018-11-196-4/+37
| | | | | | So that it does not downcast `Layer::Impl` instances. Also, an unneeded `std::vector` construction was removed from `Parser::fontStacks()`.
* [core] Add static layer properties to mbgl::style::LayerTypeInfoAlexander Shalamov2018-11-1911-16/+114
|
* [core][android] Introduce mbgl::style::LayerTypeInfoMikhail Pozdnyakov2018-11-1524-188/+120
| | | | | | | | | 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.
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-134-19/+14
|
* noexcept specifier for layer factory methodsMikhail Pozdnyakov2018-11-0724-46/+46
|
* Refer corresponding LayerFactory instance from the Layer::ImplMikhail Pozdnyakov2018-11-0724-78/+230
|
* Introduce the style::Layer factory classesMikhail Pozdnyakov2018-10-3112-112/+281
| | | | | | | | | 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-2513-537/+97
| | | | | | | | 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] remove some uses of <iostream> and <sstream>Konstantin Käfer2018-10-232-10/+2
|
* [core, tests] Don't break text-field support "identity functions"Chris Loer2018-10-151-0/+3
|
* [core] Initial implementation of 'format' expressionChris Loer2018-10-1512-20/+368
|
* [core,test] Update expression style parsing test fixture.Chris Loer2018-10-151-18/+14
| | | | Always clear errors before trying automatic coercion for a new compound expression overload.
* [core] Add automatic argument coercion for compound expressions with ↵Chris Loer2018-10-151-64/+91
| | | | multiple overloads.
* Reserve vector storage in the convert filter codeMikhail Pozdnyakov2018-10-102-4/+7
|
* [core] Read style's transition from parserBruno de Oliveira Abinader2018-10-032-3/+3
|
* [core] For string-valued properties, do coercion rather than assertionJohn Firebaugh2018-09-196-36/+58
|
* [core] Auto-convert concat arguments to stringsJohn Firebaugh2018-09-192-9/+13
|
* [core] Make "to-number" of null behave as documentedJohn Firebaugh2018-09-131-0/+1
|
* [core] Implement array assertion fallback behaviorJohn Firebaugh2018-09-134-124/+77
| | | | This was added in gl-js in #7095.
* [core] to-color should be idempotentJohn Firebaugh2018-09-131-0/+3
| | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/7260.
* [core] ["to-array", <item type>, <empty array>] should work for any item typeJohn Firebaugh2018-09-131-4/+12
| | | | Ports https://github.com/mapbox/mapbox-gl-js/pull/7261.
* [android] add support for gnustlKonstantin Käfer2018-09-111-1/+1
|
* Port symbol-z-order symbol layout style-spec property to Nativeupstream/sort-by-yryanhamley2018-09-077-0/+53
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-3110-7/+31
| | | | expressions in `*-pattern` properties
* [core] move PaintProperty::Attribute to TypeList and pass to Binder constructorsKonstantin Käfer2018-08-311-0/+1
|
* [core] introduce TypeListConcat and TypeList::ExpandIntoKonstantin Käfer2018-08-311-7/+2
|