summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* add onStyleImageMissing to allow dynamically loaded or generated images (#14253)Ansis Brammanis2019-04-022-0/+6
| | | Also make `Style#updateImage(...)` much faster when the image doesn't change size. This can be useful for asynchronously generating images.
* [core] Introduce variable text placement for point labels - Layout partMikhail Pozdnyakov2019-03-291-0/+3
|
* [core] auto value for 'text-justify' fieldMikhail Pozdnyakov2019-03-291-0/+1
|
* [core] Enable 'text-radial-offset' propertyMikhail Pozdnyakov2019-03-291-0/+4
|
* [core] Enable text-variable-anchor propertyMikhail Pozdnyakov2019-03-293-0/+11
|
* [core] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-282-1/+15
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-282-5/+17
|
* [core] Add interface to change the orientation through MapOptionsSudarsana Babu Nagineni2019-03-282-4/+18
|
* [core] Add getter for Map optionsSudarsana Babu Nagineni2019-03-281-5/+2
| | | | | Instead of having individual getter for each Map option, add a common getter for all Map options.
* [core] ResoureOptions explicit copy via clone()Bruno de Oliveira Abinader2019-03-252-4/+6
|
* [core] Fix signature of fluent interface settersBruno de Oliveira Abinader2019-03-232-10/+10
|
* [core] Replace shared_ptr with unique_ptr in {Map,Resource}OptionsBruno de Oliveira Abinader2019-03-222-20/+26
|
* [core] Change definition of "complete" so offline packs created before ↵Julian Rex2019-03-211-1/+1
| | | | #11055 can complete. (#14188)
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-205-53/+137
|
* [core] Expose a way of flushing the graphics pipelineThiago Marcos P. Santos2019-03-201-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 propertyAlexander Shalamov2019-03-151-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 methodsAnder Conselvan de Oliveira2019-03-142-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 Oliveira2019-03-142-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 pitchAnder Conselvan de Oliveira2019-03-142-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 Paczos2019-03-131-0/+2
|
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-131-2/+1
|
* [core] Add possibility of overriding paint properties inside format ↵Alexander Shalamov2019-03-135-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::onDidFailLoadingMapAnder Conselvan de Oliveira2019-03-131-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 MapSudarsana Babu Nagineni2019-03-082-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 APISudarsana Babu Nagineni2019-03-082-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 losslessBruno de Oliveira Abinader2019-03-061-2/+9
|
* [core] Organize Map::{move,pitch,scale,rotate}ByBruno de Oliveira Abinader2019-03-041-12/+4
|
* [core] Remove map coordinate setters/gettersBruno de Oliveira Abinader2019-03-041-4/+0
|
* [core] Transform{State}: s/angle/bearing/Bruno de Oliveira Abinader2019-03-041-3/+3
|
* [core] Remove map bearing setters/gettersBruno de Oliveira Abinader2019-03-041-6/+0
|
* [core] Remove map pitch setters/gettersBruno de Oliveira Abinader2019-03-041-5/+0
|
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-041-12/+5
|
* [core] Added Map::pitchBy()Bruno de Oliveira Abinader2019-03-041-0/+3
|
* [core] Added Map::scaleBy()Bruno de Oliveira Abinader2019-03-041-0/+1
|
* [core] peer must not wrap itselfMikhail Pozdnyakov2019-02-281-1/+3
|
* [core] Simplify util::peerMikhail Pozdnyakov2019-02-281-88/+9
| | | | Remove custom vtable, base implementation on `std::unique_ptr`.
* [core] Move Map::Impl to its own def/impl filesBruno de Oliveira Abinader2019-02-271-0/+1
|
* [core] Use unwrapped longitude for bounds checkBruno de Oliveira Abinader2019-02-261-9/+4
|
* [core] Layer manager is responsible for buckets and layouts creationMikhail Pozdnyakov2019-02-258-5/+36
| | | | This is a step to stop using of render layers in tile worker thread.
* [build] Use the correct define on WindowsThiago Marcos P. Santos2019-02-191-1/+1
| | | | https://blog.kowalczyk.info/article/j/guide-to-predefined-macros-in-c-compilers-gcc-clang-msvc-etc..html
* [core] Abstract the OpenGL implementationThiago Marcos P. Santos2019-02-121-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::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
|