summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [build] Remove #pragma diagnostic for boostThiago Marcos P. Santos2018-11-011-3/+0
| | | | | Boost is now included as a system header and the compiler should ignore it when issuing warnings.
* Introduce the style::Layer factory classesMikhail Pozdnyakov2018-10-3111-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 Pozdnyakov2018-10-3111-75/+0
|
* Consolidate `style::Layer` properties APIMikhail Pozdnyakov2018-10-2513-196/+61
| | | | | | | | 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] Added RendererState::has{Image,Layer,Source}Bruno de Oliveira Abinader2018-10-251-1/+9
|
* [core] Avoid wrapping longitude values of exactly 180 and 360 (#12797) (#13006)Ryan Hamley2018-10-241-1/+1
|
* [core] add tests for handling requests with different prioritiesHuyen Chau Nguyen2018-10-231-0/+1
| | | | | | - ensure that low priority requests are handled last - add option to set the number of maximum concurrent requests for tests - some style fixups
* [core] add priorities to resourcesHuyen Chau Nguyen2018-10-231-7/+19
| | | | | - priorities can be low or regular - offline downloads should have low priority to not throttle "regular requests"
* [core] refactor util::toString to use RapidJSON's stringificationKonstantin Käfer2018-10-231-37/+50
|
* [core] remove some uses of <iostream> and <sstream>Konstantin Käfer2018-10-231-2/+0
|
* [core] only include <sstream> when we need itKonstantin Käfer2018-10-231-1/+3
|
* [core] add the ability to stringy numbers as hexKonstantin Käfer2018-10-231-0/+2
|
* [core] add ability to stringify doubles that are integer with and without ↵Konstantin Käfer2018-10-231-3/+3
| | | | trailing ".0"
* [core] Introduce mbgl::RendererStateBruno de Oliveira Abinader2018-10-191-0/+22
|
* [core] CameraOptions receives and outputs angle and pitch as degrees, not ↵Bruno de Oliveira Abinader2018-10-191-3/+2
| | | | radians
* [core] Promote DefaultFileSource::put to general use.Chris Loer2018-10-171-1/+11
|
* [ios, macos] Minimal darwin wrappers of 'format' expressionChris Loer2018-10-151-1/+5
| | | | Add support for `MGL_FUNCTION('format', <text>, <options dictionary>)`
* [core] Initial implementation of 'format' expressionChris Loer2018-10-1519-10/+156
|
* [core] For string-valued properties, do coercion rather than assertionJohn Firebaugh2018-09-191-10/+23
|
* [core] Auto-convert concat arguments to stringsJohn Firebaugh2018-09-191-0/+2
|
* [core] Implement array assertion fallback behaviorJohn Firebaugh2018-09-133-48/+1
| | | | This was added in gl-js in #7095.
* [core] Port "collision group" plumbing to gl-native.Chris Loer2018-09-121-1/+2
| | | | | [node] Hook up map-wide "crossSourceCollisions" option, defaulting to true. [test] Pass "crossSourceCollisions" test option through test harness; enable cross-source-collisions tests on native.
* [android] add support for gnustlKonstantin Käfer2018-09-111-0/+11
|
* Port symbol-z-order symbol layout style-spec property to Nativeupstream/sort-by-yryanhamley2018-09-072-0/+9
|
* [core] Fix cubic-bezier interpolation for zooms outside stop range.Chris Loer2018-09-061-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.
* [windows, qt] fix windows compiler errors, remove tao + tuple polyfillMolly Lloyd2018-08-312-24/+14
|
* [core] Implement CrossFadedDataDrivenProperty to add support for feature ↵Molly Lloyd2018-08-311-2/+3
| | | | expressions in `*-pattern` properties
* [core] introduce TypeListConcat and TypeList::ExpandIntoKonstantin Käfer2018-08-311-2/+26
|
* [core] simplify attribute/location typesKonstantin Käfer2018-08-311-0/+3
|
* Enforce Offline tile limit when merging sideloaded databasesAsheem Mamoowala2018-08-281-3/+9
|
* [core] Add DefaultFileSource::mergeRegions API and CLI support in the ↵Asheem Mamoowala2018-08-281-0/+17
| | | | mbgl-offline tool.
* [core] Add `line-gradient` propertyMikhail Pozdnyakov2018-08-232-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] offline region definition - add support for arbitrary geometriesIvo van Dongen2018-08-201-7/+27
|
* [core] make style/conversion.hpp implementation privateKonstantin Käfer2018-08-1922-393/+335
|
* [core] Evict unused font stacks from GlyphManagerJohn Firebaugh2018-08-171-0/+7
|
* WIP: use expected<T, E> for passing on errorsKonstantin Käfer2018-08-142-8/+9
|
* [core] harden OfflineDatabaseKonstantin Käfer2018-08-141-1/+1
|
* [build] vendor std::expected polyfillKonstantin Käfer2018-08-141-0/+16
|
* [core] Factor out setVisibility conversionJohn Firebaugh2018-08-131-0/+1
|
* [core] Eliminate setProperty & co.John Firebaugh2018-08-1313-3/+49
|
* [core] Fix build when building Qt Location plugin for AndroidSudarsana Babu Nagineni2018-08-101-0/+16
| | | | | | | - log2 is not available on Android before API 18. - Android doesn't have 'round' on the std:: namespace when using g++. Co-authored-by: Thiago Marcos P. Santos <thiago@mapbox.com>
* [core] Replace unique_any with peer from mapbox-bindgenBruno de Oliveira Abinader2018-08-084-275/+115
|
* [core] Add lineMetrics to GeoJSONOptionsMikhail Pozdnyakov2018-08-081-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 Pozdnyakov2018-08-071-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 Thakker2018-08-024-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 Firebaugh2018-07-3116-342/+223
|
* [core] Tweak conversions to reduce binary sizeJohn Firebaugh2018-07-306-126/+29
| | | | | * return {} → return nullopt * error = { "..." } → error.message = "..."
* [core] Simplify CompoundExpression implementationJohn Firebaugh2018-07-302-102/+21
|
* Fix compilation errors with libc++ on QNX 7Sudarsana Babu Nagineni2018-07-301-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 castBruno de Oliveira Abinader2018-07-2415-27/+68
|