summaryrefslogtreecommitdiff
path: root/src/mbgl/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] Merge style::Layer::set{Layout,Paint}PropertyMikhail Pozdnyakov2019-12-0312-827/+536
|
* [core] Add unit tests for Formatted classAlexander Shalamov2019-12-021-3/+2
|
* [core] Add image sections to format expressionAlexander Shalamov2019-12-025-71/+122
|
* [core] Retain thread pool in GeoJSONSourceMikhail Pozdnyakov2019-11-291-2/+2
| | | | Otherwise, the construction of the `Immutable<Source::Impl>` in background thread might never yeld.
* [core] GeoJSONVTData uses Scheduler::GetSequenced()Mikhail Pozdnyakov2019-11-291-14/+19
|
* [core] Calculate GeoJSON tile geometries in a background threadMikhail Pozdnyakov2019-11-291-25/+18
| | | | | Call `mapbox::geojsonvt::GeoJSONVT::getTile()` in a background thread, so that the rendering thread is not blocked.
* [core] Fix supercluster lambdas capturingMikhail Pozdnyakov2019-11-291-7/+7
|
* [core][android][darwin] Fix GeoJSONOptions handlingMikhail Pozdnyakov2019-11-294-27/+31
| | | | | | - share the `GeoJSONOptions` instances using `Immutable<GeoJSONOptions>` - avoid extra copying - fix wrapping of the `GeoJSONOptions` instances in supercluster map/reduce lambdas. Previously, local variables were wrapped by reference.
* [core] Introduce style::CollectionWithPersistentOrderMikhail Pozdnyakov2019-11-193-39/+77
| | | | | | So that we do not unnecessarily remove and re-add sources and images if their order has been modified in the updated style.
* [core] Implement image expression (#15877)Alexander Shalamov2019-11-1131-300/+561
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Bump gl-js version * [core] Implement image expression * [core] Use new image expression * [core] Coerce image expression to / from string * [core] Serialize evaluated image * [core] Pass available images to layout * [core] Pass images to evaluation context * [core] Set available flag value based on image availability * [core] Allow image coercion to boolean to indicate image availability * [core] Coalesce image expression * [core] Add image expression to next build system * [core] Align serialization format and evaluated type with gl-js * [core] Add images to expression evaluation method * [core] Add support for Image expression to expression test runner * [core] Unskip image expression tests * [core] Update unit tests * [core] Use image expression in annotation manager * [core] Add string to ImageExpression conversion * [core] Add image expression to expression dsl * [core] Convert tokens for implicitly created Image literal * [core] Fix clang format * [core] Split generated style code lines that are over 120 characters * [core] Add unit test for image expression equality * [core] Add image property expression evaluation unit test * [core] Unskip image expression render test * [core] Skip 'in' expression tests * [core] Ignore fill-pattern/update-feature-state render test * [core] Rename Image::serialize to Image::toValue
* [core] Parse GeoJSONSource description in backgroundMikhail Pozdnyakov2019-11-051-12/+24
| | | | Unblocks the UI thread on heavy GeoJSON tiles parsing operation
* [android] Convert GeoJSON features to tiles in backgroundMikhail Pozdnyakov2019-10-311-0/+4
| | | | | | | | | Composing tiles from the GeoJSON features is an expensive operation that might block UI thread on updating the `GeoJsonSource` with the new data. This change moves tile composing to the background thread and thus unblocks the UI thread.
* [core] Introduce and apply GeoJSONData::create() APIMikhail Pozdnyakov2019-10-313-40/+33
|
* [core] map image type to string until we have a dedicated implementationKonstantin Käfer2019-10-142-35/+37
|
* Add iOS bindings for cluster properties (#15515)Jordan Kiley2019-10-111-0/+1
|
* [core] Introduce Light::getProperty()Mikhail Pozdnyakov2019-09-272-39/+93
|
* [core] Layer::getProperty supports layout propertiesMikhail Pozdnyakov2019-09-2710-208/+262
|
* [core] ValueFactory for `expression::formatted`, other improvementsMikhail Pozdnyakov2019-09-271-0/+29
|
* [core] Layer::getPaintProperty() -> Layer::getProperty()Mikhail Pozdnyakov2019-09-2611-11/+11
|
* [core] LayerProperty -> StylePropertyMikhail Pozdnyakov2019-09-2611-169/+169
|
* [core] Fix clang format errorsMikhail Pozdnyakov2019-09-2610-401/+441
|
* [core] Introduce Layer::getPaintProperty() generic getterMikhail Pozdnyakov2019-09-2611-375/+819
|
* [core][android][darwin] Move number format to i18nAlexander Shalamov2019-09-261-2/+2
|
* [core][android][darwin] Move platform specific Collator impls from expressionAlexander Shalamov2019-09-261-0/+24
| | | | Platform specific Collator implementations should not be part of an expression APIs.
* [core] Fix performance-move-const-argThiago Marcos P. Santos2019-09-2511-20/+14
|
* [build] Disable clang-format on generated codeThiago Marcos P. Santos2019-09-2532-0/+128
| | | | Nice to have, but would make maintain the templates a lot harder.
* [core] Fix formattingMikhail Pozdnyakov2019-09-1812-99/+81
|
* [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
|