summaryrefslogtreecommitdiff
path: root/src/mbgl/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] Use LayerInfo::tileKind in sourcesMikhail Pozdnyakov2019-09-186-12/+12
|
* [core] Add LayerTypeInfo::TileKindMikhail Pozdnyakov2019-09-1812-18/+47
|
* [core] Check layer compatibility with sourceMikhail Pozdnyakov2019-09-187-38/+85
|
* [build] Fix clang format and tidy checksJuha Alanen2019-09-183-98/+90
|
* [core] Add feature-state compound expressionJuha Alanen2019-09-181-0/+15
|
* [core] Add feature state support to isFeatureConstant expressionJuha Alanen2019-09-181-1/+2
|
* [core] Add feature state support to expressionJuha Alanen2019-09-181-0/+17
|
* [Core] Fix wrong `maxzoom` setting of tileSet when using URL source (#15581)zmiao2019-09-172-6/+30
| | | | | | | | | | | | * [core] Take max/min zoom option from style if they are set * [core] std::move input value * [Core] Add changelogs * [Core] Fix clang-format reported error * [Core] fix clang-tidy reported error
* [core] Fix for FormatSectionOverrides::hasOverrideAlexander Shalamov2019-09-171-11/+4
|
* [core] Use mbgl::underlying_type in style propertiesBruno de Oliveira Abinader2019-09-1112-216/+228
|
* [core] Expose mbgl::style::Light::setPropertyBruno de Oliveira Abinader2019-09-112-0/+196
| | | | Works the same way as mbgl::style::set{Paint,Layout}Property functions.
* Always call onSourceLoaded observers (#15548)Konstantin Käfer2019-09-034-3/+6
| | | | | | | | * [core] add sources to source collection before triggering load * [test] add testcase for #15514 * [core] also call onSourceLoaded observers when no network request was necessary
* [core] Fill layer pattern change must cause re-layoutMikhail Pozdnyakov2019-08-221-0/+1
| | | | | | Otherwise, pattern properties update is not taken in action. This caused the following render tests failure: `build/mbgl-render-test runtime-styling/layer-add-fill regressions/mapbox-gl-js#3107 --recycle-map`
* 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
|