summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* [core] Simplify mbgl::ImmutableMikhail Pozdnyakov2019-01-151-15/+5
|
* [core] Drop LayerTypeMikhail Pozdnyakov2019-01-042-21/+0
| | | | | Drop LayerType and its remaining usages. The generic code should be layer type agnostic.
* [core] Support for excluding ideographic glyphs from offline downloads.Chris Loer2018-12-211-2/+4
|
* [core] Introduce Renderer::queryFeatureExtension APIAlexander Shalamov2018-12-122-1/+10
| | | | | | New interface allows it's users to query additional information about feature that was provided by qRF interface. This is particularly useful for clustered features.
* [docs] EnterIdle -> BecomeIdleChris Loer2018-12-111-1/+1
|
* [core, darwin, android] Add onDidEnterIdle to MapObserver.Chris Loer2018-12-111-0/+1
| | | | didEnterIdle fires whenever render completes and no repaint is scheduled.
* [core, android, darwin] Move layer factories to separate filesMikhail Pozdnyakov2018-12-1021-99/+143
|
* [core] convert CompoundExpressionRegistry to constexpr hash mapKonstantin Käfer2018-12-042-11/+3
|
* [core] use constexpr map using eternal for expression lookupsKonstantin Käfer2018-12-041-2/+1
|
* [core] OverscaledTileID::isChildOf should check wrap values.Chris Loer2018-11-301-1/+2
| | | | Fixes issue #13478
* [core] layermanager folderMikhail Pozdnyakov2018-11-3014-80/+96
| | | | Move `LayerManager` and `LayerFactory` abstract classes to a dedicated folder.
* [core] Support fill-extrusion-vertical-gradientBruno de Oliveira Abinader2018-11-291-0/+6
|
* [core] LayerManager can disable annotationsMikhail Pozdnyakov2018-11-281-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] Cleanup Transform, use {jump,ease}To() insteadBruno de Oliveira Abinader2018-11-271-0/+7
|
* [core] Remove error-prone setlatLng overloadBruno de Oliveira Abinader2018-11-271-1/+0
|
* [core][Android][Darwin] LayerManager creates RenderLayer instancesMikhail Pozdnyakov2018-11-2712-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] Camera center and anchor points are mutually exclusiveBruno de Oliveira Abinader2018-11-261-1/+4
|
* [core] Let placement transitions use the transition duration, if set, and ↵Bruno de Oliveira Abinader2018-11-211-3/+7
| | | | allow disabling them entirely
* [core] Add static layer properties to mbgl::style::LayerTypeInfoAlexander Shalamov2018-11-191-3/+22
|
* [core] define number of concurrent downloads in online file source variableHuyen Chau Nguyen2018-11-151-1/+3
|
* [core][android] Introduce mbgl::style::LayerTypeInfoMikhail Pozdnyakov2018-11-1512-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.
* [core] Add RendererState::{pixelForLatLng,latLngForPixel}Bruno de Oliveira Abinader2018-11-141-4/+10
|
* [build] Update to geometry v1.0.0Bruno de Oliveira Abinader2018-11-133-7/+10
|
* noexcept specifier for layer factory methodsMikhail Pozdnyakov2018-11-0712-27/+27
|
* Refer corresponding LayerFactory instance from the Layer::ImplMikhail Pozdnyakov2018-11-0712-35/+110
|
* [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.