summaryrefslogtreecommitdiff
path: root/test/api/query.test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [core][android][darwin] Fix GeoJSONOptions handlingMikhail Pozdnyakov2019-11-291-3/+3
| | | | | | - share the `GeoJSONOptions` instances using `Immutable<GeoJSONOptions>` - avoid extra copying - fix wrapping of the `GeoJSONOptions` instances in supercluster map/reduce lambdas. Previously, local variables were wrapped by reference.
* [core] Implement image expression (#15877)Alexander Shalamov2019-11-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * [core] Bump gl-js version * [core] Implement image expression * [core] Use new image expression * [core] Coerce image expression to / from string * [core] Serialize evaluated image * [core] Pass available images to layout * [core] Pass images to evaluation context * [core] Set available flag value based on image availability * [core] Allow image coercion to boolean to indicate image availability * [core] Coalesce image expression * [core] Add image expression to next build system * [core] Align serialization format and evaluated type with gl-js * [core] Add images to expression evaluation method * [core] Add support for Image expression to expression test runner * [core] Unskip image expression tests * [core] Update unit tests * [core] Use image expression in annotation manager * [core] Add string to ImageExpression conversion * [core] Add image expression to expression dsl * [core] Convert tokens for implicitly created Image literal * [core] Fix clang format * [core] Split generated style code lines that are over 120 characters * [core] Add unit test for image expression equality * [core] Add image property expression evaluation unit test * [core] Unskip image expression render test * [core] Skip 'in' expression tests * [core] Ignore fill-pattern/update-feature-state render test * [core] Rename Image::serialize to Image::toValue
* [core] Add batch conversion of latLngs to/from screenCoords (#15891)zmiao2019-11-071-2/+14
| | | | | | * [core] Add batch conversion of latLng vs screenCoord * [core] Take the simple approach
* [tests] Add feature state unit testJuha Alanen2019-09-181-0/+16
|
* [core] Refactor HeadlessFrontend/Backend: GL separation and factory (#14692)Aleksandar Stojiljkovic2019-05-211-1/+1
| | | | | Refactor out HeadlessFrontend and HeadlessBackend gl independent code to gfx. Define gl::HeadlessBackend as subclass, instantiated by gfx::HeadlessBackend static factory method. GL dependent tests are still using gl::HeadlessBackend directly (not through gfx).
* [core] Make the BackgroundScheduler a singletonThiago Marcos P. Santos2019-05-101-4/+2
| | | | | | | | | | - Do not carry it over everywhere as parameter, it is a shared instance anyway and the lifecycle is pretty much the app lifecycle from the moment we instantiate a map. - Rename to BackgroundScheduler because it is a Scheduler that will do tasks in the background, we don't make assumptions if it is a thread pool or a single thread. - Most importantly, remove the dependency from `core` on `platform`.
* [core] Include pixelRatio property in MapOptionsSudarsana Babu Nagineni2019-03-281-4/+3
| | | | Move pixelRatio property from Map constructor to MapOptions.
* [core] Add setter/getter for size property in MapOptionsSudarsana Babu Nagineni2019-03-281-2/+2
|
* [core] Remove file source from public Map ctorBruno de Oliveira Abinader2019-03-201-6/+7
|
* [core] Get FileSource via UpdateParameters in Renderer::ImplBruno de Oliveira Abinader2019-03-131-1/+1
|
* [core] Add MapOptions to define properties of MapSudarsana Babu Nagineni2019-03-081-1/+2
| | | | | | To simplify the Map constructor, introduce MapOptions interface to define the properties that can be set on a Map.
* [core] Remove map zoom setters/gettersBruno de Oliveira Abinader2019-03-041-1/+1
|
* [core] Add unit tests for queryFeatureExtensionsAlexander Shalamov2018-12-121-0/+147
|
* [core] Replace use of *Stops with expressions DSLJohn Firebaugh2018-06-291-9/+11
|
* [core] Convert "legacy" filters directly into expressions (#11610)Lucas Wojciechowski2018-05-101-6/+9
| | | Ports the specialized filter-* expressions from GL JS, adding them to src/mbgl/style/expression/compound_expression.cpp
* [core] Split MapMode::Still into Static and TileAnsis Brammanis2017-11-171-1/+1
| | | | | `Tile` makes sure the symbols in the resulting tile are tileable while symbols in `Still` match rendering in `Continuous` mode.
* [node, tests] Consolidate headless rendering logic in HeadlessFrontendJohn Firebaugh2017-07-261-27/+20
|
* [test] allow only a single shared display to avoid egl errorsIvo van Dongen2017-07-181-1/+1
|
* [core] rename backend to renderer backendIvo van Dongen2017-07-181-1/+1
|
* [core] renderer interfaceIvo van Dongen2017-07-181-17/+23
|
* [core] split backend from mapobserverIvo van Dongen2017-07-181-1/+1
|
* [core] Move setStyleJSON/URL to Style; add Map::setStyleJohn Firebaugh2017-06-221-1/+1
|
* [all] Promote Style to public APIJohn Firebaugh2017-06-221-1/+2
|
* [core, node, darwin, android, qt] Make image ID part of ImageJohn Firebaugh2017-05-161-1/+1
| | | | More like Source and Layer.
* [all] Push querySourceFeatures back out to MapJohn Firebaugh2017-05-021-7/+7
| | | | Once Source and RendererSource are split, Source will no longer have access to tiles.
* [all] Rationalize style::ImageJohn Firebaugh2017-04-241-5/+3
| | | | | | | A style has a collection of images, just as it has collections of sources and layers. * Name things appropriately * Use std::unique_ptr
* [core] Ensure that a BackendScope exists when doing GL callsKonstantin Käfer2017-03-231-0/+2
|
* [core] query source featuresIvo van Dongen2017-03-091-0/+41
|
* [core] Add support for queryRenderedFeatures filterAsheem Mamoowala2017-03-041-5/+24
|
* [core] private OffscreenView implementationKonstantin Käfer2017-02-271-1/+1
|
* [build] move headless rendering files to platform/defaultKonstantin Käfer2016-11-221-2/+2
|
* [build] move default ThreadPool implementation to platform/defaultKonstantin Käfer2016-11-221-1/+1
|
* [test] Use shared headless displayBruno de Oliveira Abinader2016-11-171-1/+1
| | | | Prevents some OpenGL implementations from bailing out.
* [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-271-1/+1
|
* [core] move gl::Context to Backend and refactor ViewKonstantin Käfer2016-10-251-4/+4
|
* [core] separate Backend from View for headless renderingKonstantin Käfer2016-10-251-4/+4
|
* [core] [node] pass thread pool impl to Map constructorMike Morris2016-10-201-1/+3
| | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread
* [tests] Add unit tests for query features fitersThiago Marcos P. Santos2016-10-051-0/+62