summaryrefslogtreecommitdiff
path: root/src/mbgl/style
Commit message (Collapse)AuthorAgeFilesLines
* Indroduce clusterProperty option for aggregation (#15287)zmiao2019-08-168-27/+162
| | | | | | | | | | * indroduce clusterProperty option for aggregation * remove unnecessary codes * update geojson_option conversion * fix reviewing findings
* [core] Check type of a convertible value when constructing legacy filterupstream/node-releaseAlexander Shalamov2019-08-161-1/+6
|
* [core] Add style bindings for "text-writing-mode" layout propertyAlexander Shalamov2019-08-137-2/+50
|
* [core] Avoid copying feature propertiesMikhail Pozdnyakov2019-07-252-2/+3
|
* [core] Default GeometryTileFeature::getGeometries() implementationMikhail Pozdnyakov2019-07-241-3/+0
|
* [core] Force getGeometries() return const refAlexander Shalamov2019-07-241-1/+3
|
* [core] Avoid unneeded tile sets copying at sources codeMikhail Pozdnyakov2019-07-226-18/+7
|
* [core] Introduce LayerProperties::constantsMask()Mikhail Pozdnyakov2019-07-0221-0/+82
| | | | | | Constants mask for data-driven paint properties is a reliable criteria of whether the given updated properties can still be used with the existing bucket (and the gl program instance).
* [core] Add number-format expressionJuha Alanen2019-06-272-0/+217
|
* [core] Fix macOS clang exception error in expression-tests/to-number/2-aryBruno de Oliveira Abinader2019-06-251-1/+1
|
* [core] Don't use optional unique_ptr in function coversion codeAnder Conselvan de Oliveira2019-05-212-22/+25
| | | | | Since unique_ptr is already nullable there is no need to wrap it in an optional<>.
* [core] Forward args in style::expression::dsl::compound()Ander Conselvan de Oliveira2019-05-211-2/+2
|
* [core] Pass legacy/categorical/*-default expression testsAnder Conselvan de Oliveira2019-05-211-14/+26
| | | | | Handle categorical function default value properly in conversion to expreexpression so related tests pass.
* [core] Fix legacy/{interval,exponential}/*-default expression testsAnder Conselvan de Oliveira2019-05-211-20/+63
| | | | | Consider the function default value in interval and exponential functions conversion.
* [core] Expose dsl::compound() internallyAnder Conselvan de Oliveira2019-05-212-6/+23
| | | | | This will be used in a follow up patch by the function to expression conversion code.
* [core] Fix some of the legacy interval function expression testsAnder Conselvan de Oliveira2019-05-211-0/+12
| | | | | The tests for conversion of legacy interval functions to expressions expects that the first stop in the "step" expression be omitted.
* [core] Fix most identity function with default legacy expression testsAnder Conselvan de Oliveira2019-05-212-20/+47
| | | | | Add handling of default value to the conversion of legacy identity functions. The color and enum tests still don't pass though.
* [core] Fix indentation of src/mbgl/style/conversion/function.cppAnder Conselvan de Oliveira2019-05-211-1/+1
| | | | One line in that file was indented with tabs instead of spaces.
* [core] Remove RenderLayerSymbolInterfaceMikhail Pozdnyakov2019-05-1911-11/+23
|
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-104-12/+7
| | | | | | | | | | - Do not carry it over everywhere as parameter, it is a shared instance anyway and the lifecycle is pretty much the app lifecycle from the moment we instantiate a map. - Rename to BackgroundScheduler because it is a Scheduler that will do tasks in the background, we don't make assumptions if it is a thread pool or a single thread. - Most importantly, remove the dependency from `core` on `platform`.
* [core] Failed sprite requests do not block tiles renderingMikhail Pozdnyakov2019-05-091-0/+3
|
* [core] Remove clipping option from RenderTile and style::LayerMikhail Pozdnyakov2019-05-0811-12/+0
|
* [core] Guard access to CustomTileLoader's data members with mutexAlexander Shalamov2019-05-032-4/+9
|
* [core] Keep shared_ptr to thread pool in CustomGeometrySourceAlexander Shalamov2019-05-031-1/+2
| | | | | CustomGeometrySource should keep strong reference to shared thread pool that is used by CustomTileLoader.
* [build] change style code generator to sort properties alphabeticallyKonstantin Käfer2019-05-0219-1746/+1746
| | | | 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.
* [build] change special casing for LineFloorWidth in shader generationKonstantin Käfer2019-05-022-17/+10
|
* [core] Add `FadingTiles` layer type propertyMikhail Pozdnyakov2019-04-1711-11/+23
|
* [core] Use `style::LayerProperties` in render layers, buckets and layouts.Mikhail Pozdnyakov2019-04-171-0/+7
|
* [core] Introduce `style::LayerProperties` interface and its implementationsMikhail Pozdnyakov2019-04-1721-3/+359
|
* [core] Enable 'symbol-sort-key' layout property and generate style codeAlexander Shalamov2019-04-172-40/+69
|
* [core] Add 'auto' enum value to symbol-z-order layout propertyAlexander Shalamov2019-04-172-1/+2
|
* [core] clang-tidy fixesKonstantin Käfer2019-04-0526-284/+285
|
* add onStyleImageMissing to allow dynamically loaded or generated images (#14253)Ansis Brammanis2019-04-022-0/+2
| | | Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
* [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
|