Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Drop LayerType | Mikhail Pozdnyakov | 2019-01-04 | 2 | -21/+0 |
| | | | | | Drop LayerType and its remaining usages. The generic code should be layer type agnostic. | ||||
* | [core, android, darwin] Move layer factories to separate files | Mikhail Pozdnyakov | 2018-12-10 | 11 | -99/+0 |
| | |||||
* | [core] convert CompoundExpressionRegistry to constexpr hash map | Konstantin Käfer | 2018-12-04 | 2 | -11/+3 |
| | |||||
* | [core] use constexpr map using eternal for expression lookups | Konstantin Käfer | 2018-12-04 | 1 | -2/+1 |
| | |||||
* | [core] layermanager folder | Mikhail Pozdnyakov | 2018-11-30 | 12 | -80/+11 |
| | | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder. | ||||
* | [core] Support fill-extrusion-vertical-gradient | Bruno de Oliveira Abinader | 2018-11-29 | 1 | -0/+6 |
| | |||||
* | [core] LayerManager can disable annotations | Mikhail Pozdnyakov | 2018-11-28 | 1 | -0/+22 |
| | | | | | | | | | | | | | At the moment, the annotations implementation in the `mapbox-gl-native` core is creating concrete layer instances apart from `LayerManager/LayerFactory` code path. So, annotations must be disabled if the `LayerManager` implementation does not provide line, fill or symbol layers (those, used by the annotations). Note: in future, annotations implementation will be moved from the core to the platform SDK level(see https://github.com/mapbox/mapbox-plugins-android/tree/master/plugin-annotation) and `LayerManager` won't need to disable it. | ||||
* | [core][Android][Darwin] LayerManager creates RenderLayer instances | Mikhail Pozdnyakov | 2018-11-27 | 12 | -98/+84 |
| | | | | | | | | `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`. | ||||
* | [core] Let placement transitions use the transition duration, if set, and ↵ | Bruno de Oliveira Abinader | 2018-11-21 | 1 | -3/+7 |
| | | | | allow disabling them entirely | ||||
* | [core] Add static layer properties to mbgl::style::LayerTypeInfo | Alexander Shalamov | 2018-11-19 | 1 | -3/+22 |
| | |||||
* | [core][android] Introduce mbgl::style::LayerTypeInfo | Mikhail Pozdnyakov | 2018-11-15 | 12 | -78/+53 |
| | | | | | | | | | 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. | ||||
* | noexcept specifier for layer factory methods | Mikhail Pozdnyakov | 2018-11-07 | 12 | -27/+27 |
| | |||||
* | Refer corresponding LayerFactory instance from the Layer::Impl | Mikhail Pozdnyakov | 2018-11-07 | 12 | -35/+110 |
| | |||||
* | Introduce the style::Layer factory classes | Mikhail Pozdnyakov | 2018-10-31 | 11 | -2/+119 |
| | | | | | | | | | 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 Pozdnyakov | 2018-10-31 | 11 | -75/+0 |
| | |||||
* | Consolidate `style::Layer` properties API | Mikhail Pozdnyakov | 2018-10-25 | 12 | -196/+55 |
| | | | | | | | | 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. | ||||
* | [ios, macos] Minimal darwin wrappers of 'format' expression | Chris Loer | 2018-10-15 | 1 | -1/+5 |
| | | | | Add support for `MGL_FUNCTION('format', <text>, <options dictionary>)` | ||||
* | [core] Initial implementation of 'format' expression | Chris Loer | 2018-10-15 | 18 | -8/+153 |
| | |||||
* | [core] For string-valued properties, do coercion rather than assertion | John Firebaugh | 2018-09-19 | 1 | -10/+23 |
| | |||||
* | [core] Auto-convert concat arguments to strings | John Firebaugh | 2018-09-19 | 1 | -0/+2 |
| | |||||
* | [core] Implement array assertion fallback behavior | John Firebaugh | 2018-09-13 | 3 | -48/+1 |
| | | | | This was added in gl-js in #7095. | ||||
* | Port symbol-z-order symbol layout style-spec property to Nativeupstream/sort-by-y | ryanhamley | 2018-09-07 | 2 | -0/+9 |
| | |||||
* | [core] Fix cubic-bezier interpolation for zooms outside stop range. | Chris Loer | 2018-09-06 | 1 | -1/+7 |
| | | | | | Fixes issue #12812. Using `util::interpolationFactor` handles the case where inputLevels.min == inputLevels.max, so it returns an interpolation factor of "0" instead of dividing by 0. | ||||
* | [core] Add `line-gradient` property | Mikhail Pozdnyakov | 2018-08-23 | 2 | -1/+8 |
| | | | | | | | | Porting of https://github.com/mapbox/mapbox-gl-js/pull/6303 See the link above for the description of the feature and its limitations). Based on patch from @lbud (Lauren Budorick). | ||||
* | [core] make style/conversion.hpp implementation private | Konstantin Käfer | 2018-08-19 | 22 | -393/+335 |
| | |||||
* | [core] Factor out setVisibility conversion | John Firebaugh | 2018-08-13 | 1 | -0/+1 |
| | |||||
* | [core] Eliminate setProperty & co. | John Firebaugh | 2018-08-13 | 13 | -3/+49 |
| | |||||
* | [core] Replace unique_any with peer from mapbox-bindgen | Bruno de Oliveira Abinader | 2018-08-08 | 2 | -4/+4 |
| | |||||
* | [core] Add lineMetrics to GeoJSONOptions | Mikhail Pozdnyakov | 2018-08-08 | 1 | -0/+1 |
| | | | | | This patch also bumps geojson-vt-cpp version to 6.6.0, which enables the `lineMetrics` option. | ||||
* | Rename `EvaluationContext::heatmapDensity` to `colorRampParameter` | Mikhail Pozdnyakov | 2018-08-07 | 1 | -4/+4 |
| | | | | | More generic name as the same class member is to be used by the linear gradient properties. | ||||
* | Relax typing for comparison operators (#12537) | Anand Thakker | 2018-08-02 | 4 | -36/+70 |
| | | | | | | | | | | * Relax typing for comparison operators Ports https://github.com/mapbox/mapbox-gl-js/pull/6961 * Review comments * Lint fixes | ||||
* | [core] Merge DataDrivenPropertyValue into PropertyValue (#12513) | John Firebaugh | 2018-07-31 | 15 | -329/+210 |
| | |||||
* | [core] Tweak conversions to reduce binary size | John Firebaugh | 2018-07-30 | 6 | -126/+29 |
| | | | | | * return {} → return nullopt * error = { "..." } → error.message = "..." | ||||
* | [core] Simplify CompoundExpression implementation | John Firebaugh | 2018-07-30 | 2 | -102/+21 |
| | |||||
* | Fix compilation errors with libc++ on QNX 7 | Sudarsana Babu Nagineni | 2018-07-30 | 1 | -1/+4 |
| | | | | | | | | | | This patch fixes the compilation errors on QNX 7: 1) QNX 7 compiler (i.e qcc based GCC 5.4.0 with libc++ from LLVM) has a limited c++11 feature support and causing the compilation errors with the inheriting constructors. This fixes the issues by providing the required constructors explicitly. 2) Resolves an ambiguous overload error with optional<T> | ||||
* | [core] Replace expressions RTTI with enums + static cast | Bruno de Oliveira Abinader | 2018-07-24 | 15 | -27/+68 |
| | |||||
* | [core] Add `symbol-placement: line-center` | Chris Loer | 2018-07-23 | 1 | -1/+2 |
| | | | | | - Remove unused/vestigial 'maxCameraDistance' - Create a single collision circle for line labels that are less than half the width of a collision circle | ||||
* | Keep original input for filters using legacy syntax. | Asheem Mamoowala | 2018-07-23 | 1 | -3/+17 |
| | |||||
* | [core] Convert token strings to expressions | John Firebaugh | 2018-07-20 | 7 | -29/+41 |
| | |||||
* | [core] Replace {Source,Camera,Composite}Function with PropertyExpression | John Firebaugh | 2018-07-20 | 11 | -293/+164 |
| | |||||
* | [core] Convert legacy functions directly to expressions | John Firebaugh | 2018-07-13 | 12 | -966/+64 |
| | |||||
* | [core] Simplify Value conversions | John Firebaugh | 2018-07-12 | 1 | -41/+23 |
| | | | | | | Use a single template function for each of {to,from}ExpressionValue, always dispatching to ValueConverter. Remove unused ValueConverter::ExpressionType typedefs. | ||||
* | Rename `HeatmapColorPropertyValue` to `ColorRampPropertyValue` | Mikhail Pozdnyakov | 2018-07-05 | 4 | -23/+23 |
| | | | | | | | | Based on patch from @lbud (Lauren Budorick). Give `HeatmapColorPropertyValue` a more generic name, since the same value type will be used for both `heatmap-color` and `line-gradient` properties. | ||||
* | [core] Introduce "collator" expressions | Chris Loer | 2018-07-03 | 5 | -1/+86 |
| | | | | Cross platform parsing and evaluation code. | ||||
* | [core] Add assertions to expression constructors | John Firebaugh | 2018-06-29 | 3 | -20/+7 |
| | |||||
* | [core] Remove stops-based *Function constructors | John Firebaugh | 2018-06-29 | 5 | -155/+81 |
| | |||||
* | [darwin] Replace use of *Stops with expressions DSL | John Firebaugh | 2018-06-29 | 1 | -0/+7 |
| | |||||
* | [core] Replace use of *Stops with expressions DSL | John Firebaugh | 2018-06-29 | 5 | -20/+68 |
| | |||||
* | [core] InterpolateBase → Interpolate; Interpolate → InterpolateImpl | John Firebaugh | 2018-06-28 | 4 | -9/+9 |
| | |||||
* | [core] Privatize Interpolate<T> | John Firebaugh | 2018-06-28 | 2 | -102/+30 |
| |