Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Remove file source from public Map ctor | Bruno de Oliveira Abinader | 2019-03-20 | 5 | -53/+137 |
| | |||||
* | [core] Expose a way of flushing the graphics pipeline | Thiago Marcos P. Santos | 2019-03-20 | 1 | -0/+2 |
| | | | | | Useful for apps before going to background that are restricted by the OS of performing any operation. | ||||
* | [core] Forward evaluation context directly to evaluated property | Alexander Shalamov | 2019-03-15 | 1 | -1/+5 |
| | | | | | So that default value owned by the FormatSectionOverride, can be evaluated based on required context parameters. | ||||
* | [core] Group Map LatLngBounds, min and max zoom methods | Ander Conselvan de Oliveira | 2019-03-14 | 2 | -7/+40 |
| | | | | | | | | Group bounds, minimum and maximum zoom related methods together using the new BoundOptions. v2: Document that getBounds() initializes all optional fields. - Add test for getBounds() on a map with default values. | ||||
* | [core] Remove optional from Map::setLatLngBounds() | Ander Conselvan de Oliveira | 2019-03-14 | 2 | -3/+16 |
| | | | | | | | | This is a first step into grouping together bounds related Map methods into one that takes a "BoundOptions" object. LatLngBounds::unbounded() replaces an undefined optional<LatLngBounds>. v2: Document LatLngBounds::unbounded() | ||||
* | [core] Remove support for setting minimum and maximum pitch | Ander Conselvan de Oliveira | 2019-03-14 | 2 | -4/+1 |
| | | | | | | | | | Support for limiting pitch was introduced in commit c4fc89977bcb ([core] Added {set,get}{Min,Max}Pitch) in 2017 but was never exposed by the platform SDKs. Simplify the Map interface by removing this unused feature. v2: Add util::PITCH_MIN | ||||
* | [core] expose an option to change the db file path in runtime | Łukasz Paczos | 2019-03-13 | 1 | -0/+2 |
| | |||||
* | [core] Get FileSource via UpdateParameters in Renderer::Impl | Bruno de Oliveira Abinader | 2019-03-13 | 1 | -2/+1 |
| | |||||
* | [core] Add possibility of overriding paint properties inside format ↵ | Alexander Shalamov | 2019-03-13 | 5 | -88/+147 |
| | | | | | | | | | | | | | | | | | | expression #14062 * [core] Add format override expression and formatted section to evaluation context * [core] Add textColor to TaggedString's formatted section * [core] Add FormatSectionOverrides and introduce overridable properties * [core] Populate symbol layer paint properties for text sections * [core] Add benchmark for style that uses text-color override * [core] Add unit test for FormatOverrideExpression * [core] Add unit test for FormatSectionOverrides | ||||
* | [core] Don't use exceptions in MapObserver::onDidFailLoadingMap | Ander Conselvan de Oliveira | 2019-03-13 | 1 | -2/+8 |
| | | | | | | | Using different exception pointers to specify the loading failure makes an awkward API. Most users rethrow the exception only to figure out what type of error happened so it can be reported properly. So replace the exception pointer with a enum an string description of the failure. | ||||
* | [core] Add MapOptions to define properties of Map | Sudarsana Babu Nagineni | 2019-03-08 | 2 | -4/+141 |
| | | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map. | ||||
* | [core] consolidate Axonometric rendering API | Sudarsana Babu Nagineni | 2019-03-08 | 2 | -7/+38 |
| | | | | | | | Instead of having individual APIs for setting axonometric and skew options, create ProjectionMode struct that holds all the relevant options for Axonometric rendering and introduce setter/getter on the Map for those options. | ||||
* | [core] util::wrap(): std::fmod is not lossless | Bruno de Oliveira Abinader | 2019-03-06 | 1 | -2/+9 |
| | |||||
* | [core] Organize Map::{move,pitch,scale,rotate}By | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -12/+4 |
| | |||||
* | [core] Remove map coordinate setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -4/+0 |
| | |||||
* | [core] Transform{State}: s/angle/bearing/ | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -3/+3 |
| | |||||
* | [core] Remove map bearing setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -6/+0 |
| | |||||
* | [core] Remove map pitch setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -5/+0 |
| | |||||
* | [core] Remove map zoom setters/getters | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -12/+5 |
| | |||||
* | [core] Added Map::pitchBy() | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -0/+3 |
| | |||||
* | [core] Added Map::scaleBy() | Bruno de Oliveira Abinader | 2019-03-04 | 1 | -0/+1 |
| | |||||
* | [core] peer must not wrap itself | Mikhail Pozdnyakov | 2019-02-28 | 1 | -1/+3 |
| | |||||
* | [core] Simplify util::peer | Mikhail Pozdnyakov | 2019-02-28 | 1 | -88/+9 |
| | | | | Remove custom vtable, base implementation on `std::unique_ptr`. | ||||
* | [core] Move Map::Impl to its own def/impl files | Bruno de Oliveira Abinader | 2019-02-27 | 1 | -0/+1 |
| | |||||
* | [core] Use unwrapped longitude for bounds check | Bruno de Oliveira Abinader | 2019-02-26 | 1 | -9/+4 |
| | |||||
* | [core] Layer manager is responsible for buckets and layouts creation | Mikhail Pozdnyakov | 2019-02-25 | 8 | -5/+36 |
| | | | | This is a step to stop using of render layers in tile worker thread. | ||||
* | [build] Use the correct define on Windows | Thiago Marcos P. Santos | 2019-02-19 | 1 | -1/+1 |
| | | | | https://blog.kowalczyk.info/article/j/guide-to-predefined-macros-in-c-compilers-gcc-clang-msvc-etc..html | ||||
* | [core] Abstract the OpenGL implementation | Thiago Marcos P. Santos | 2019-02-12 | 1 | -0/+337 |
| | | | | | | | | | | | The platform will be responsible to load the OpenGL implementation and give the function pointers to Mapbox GL Core. The platform might load OpenGL by linking against some OpenGL implementation, load it dynamically, etc. It doesn't matter as long as it is a valid implementation. Also adds the `::platform` namespace where all the missing symbols and interfaces expected to be implemented by the platforms will live. | ||||
* | [core] Simplify mbgl::Immutable | Mikhail Pozdnyakov | 2019-01-15 | 1 | -15/+5 |
| | |||||
* | [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] Support for excluding ideographic glyphs from offline downloads. | Chris Loer | 2018-12-21 | 1 | -2/+4 |
| | |||||
* | [core] Introduce Renderer::queryFeatureExtension API | Alexander Shalamov | 2018-12-12 | 2 | -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 -> BecomeIdle | Chris Loer | 2018-12-11 | 1 | -1/+1 |
| | |||||
* | [core, darwin, android] Add onDidEnterIdle to MapObserver. | Chris Loer | 2018-12-11 | 1 | -0/+1 |
| | | | | didEnterIdle fires whenever render completes and no repaint is scheduled. | ||||
* | [core, android, darwin] Move layer factories to separate files | Mikhail Pozdnyakov | 2018-12-10 | 21 | -99/+143 |
| | |||||
* | [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] OverscaledTileID::isChildOf should check wrap values. | Chris Loer | 2018-11-30 | 1 | -1/+2 |
| | | | | Fixes issue #13478 | ||||
* | [core] layermanager folder | Mikhail Pozdnyakov | 2018-11-30 | 14 | -80/+96 |
| | | | | 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] Cleanup Transform, use {jump,ease}To() instead | Bruno de Oliveira Abinader | 2018-11-27 | 1 | -0/+7 |
| | |||||
* | [core] Remove error-prone setlatLng overload | Bruno de Oliveira Abinader | 2018-11-27 | 1 | -1/+0 |
| | |||||
* | [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] Camera center and anchor points are mutually exclusive | Bruno de Oliveira Abinader | 2018-11-26 | 1 | -1/+4 |
| | |||||
* | [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] define number of concurrent downloads in online file source variable | Huyen Chau Nguyen | 2018-11-15 | 1 | -1/+3 |
| | |||||
* | [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. | ||||
* | [core] Add RendererState::{pixelForLatLng,latLngForPixel} | Bruno de Oliveira Abinader | 2018-11-14 | 1 | -4/+10 |
| |