summaryrefslogtreecommitdiff
path: root/test/style
Commit message (Collapse)AuthorAgeFilesLines
* [core] Move Sprite parsing to thread poolKonstantin Käfer2017-04-243-6/+13
|
* Fix edge case in composite function interpolation (#8613)Anand Thakker2017-04-031-0/+46
| | | | | | | | | | | | | | | | This fixes a bug where, for a zoom value greater than that of the highest zoom stop, composite function interpolation would return nan. (Blocking a render test over in #8593) * Add failing tests for composite function edge case The failing cases here are: - Should interpolate before the first stop - Should interpolate past the last stop * Fix edge case in composite function interpolation * Hold functions constant outside stop-defined domain
* [all] Replace Result<T> with optional<T> plus out Error parameterJohn Firebaugh2017-03-234-25/+35
|
* Make Source::getZoomRange return an optional rangeBruno de Oliveira Abinader2017-03-211-9/+16
|
* [core] s/onSourceDidChange/onSourceChanged/ + source refBruno de Oliveira Abinader2017-03-211-2/+2
|
* [core] Expose Source::getZoomRangeBruno de Oliveira Abinader2017-03-201-0/+24
|
* [core] Avoid unnecessary convert template instantiationsJohn Firebaugh2017-03-092-2/+2
|
* For data-driven paint setters, transition immediately to target value (#8306)Anand Thakker2017-03-081-0/+45
| | | Closes #8237
* [core] Restore support for *-transition propertiesJohn Firebaugh2017-02-091-0/+46
|
* [core, ios, macos] Refactor composite stop types and conversionsJohn Firebaugh2017-02-091-3/+6
|
* [core] default value support in categorical function conversionIvo van Dongen2017-02-022-2/+98
|
* [core] Add support for data-driven stylingJohn Firebaugh2017-02-025-110/+131
|
* [core] remove trailing whitespace, add trailing newlines, add space after //Konstantin Käfer2017-01-274-20/+20
|
* [core] Fix calculation of delayed transitionsJohn Firebaugh2017-01-171-0/+94
|
* [core] add tests for function parsingKonstantin Käfer2017-01-161-0/+54
|
* [tests] Sidestep a gcc or gtest bugJohn Firebaugh2017-01-111-5/+5
| | | | | | | https://github.com/google/googletest/issues/458 https://github.com/google/googletest/issues/322 Not seen in CI because of https://github.com/mapbox/mapbox-gl-native/blob/0ef52d7f7ceee670e8961e811364d215fde7e980/scripts/travis_setup.sh#L17-L22
* [core] Fix flickering caused by regression in #7586John Firebaugh2017-01-101-4/+4
| | | | It should be safe to invoke GeometryTileWorker::setData multiple times without invoking GeometryTileWorker::setLayers. Therefore GeometryTileWorker::redoLayout() must not consume the layers.
* [core] Get rid of user-specified refsJohn Firebaugh2017-01-042-0/+142
|
* [core] Correct boolean function interpolationJohn Firebaugh2016-12-221-10/+20
|
* [core] guard against duplicate layer idsIvo van Dongen2016-12-121-0/+28
|
* [core] Functions must have at least one stopJohn Firebaugh2016-12-011-6/+0
| | | | This is already enforced by the style validator in mapbox-gl-style-spec. Enforce it here too.
* [core] guard against duplicate source id’sIvo van Dongen2016-11-301-0/+21
|
* [build] upgrade to variant 1.1.4 and dependenciesKonstantin Käfer2016-11-282-9/+9
|
* [build] move logging to utilKonstantin Käfer2016-11-222-2/+2
|
* [build] move default ThreadPool implementation to platform/defaultKonstantin Käfer2016-11-221-1/+1
|
* [core] Convert style properties to a tuple-based approachJohn Firebaugh2016-11-171-3/+3
| | | | | | | | This converts the style property classes (CirclePaintProperties and so on) to the same tuple-based approach as gl::Attribute and gl::Uniform. The approach is outlined in https://github.com/mapbox/cpp/blob/master/C%2B%2B%20Structural%20Metaprogramming.md. The main advantage of this approach is it allows writing algorithms that work on sets of style properties, without resorting to code generation or manually repetitive code. This lets us iterate on approaches to data-driven properties more easily. Another advantage is that the cascading, unevaluated, and evaluated states of a set of properties exist as independent structures, instead of individual properties holding their own state. This is a more functional approach that makes data flow clearer and reduces state.
* [core] symbol layer - recalculate style on icon/text size changesIvo van Dongen2016-11-111-1/+1
|
* [core] change std::array<uint16_t, 2> to mbgl::SizeKonstantin Käfer2016-10-271-1/+1
|
* [core] fixup formattingIvo van Dongen2016-10-211-11/+11
|
* [core] [node] pass thread pool impl to Map constructorMike Morris2016-10-201-1/+1
| | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread
* [core] reload geojson source on url changeIvo van Dongen2016-10-201-0/+34
|
* [test] add .test.cpp suffix to test case filesKonstantin Käfer2016-09-288-0/+0
|
* [core] Source-driven attributionMinh Nguyễn2016-09-261-0/+39
| | | | | | Implemented observer callbacks so the style knows when the source’s attribution changes and the map knows when the style’s attribution changes. Also implemented a getter for a tile source’s attribution. Fixes #2723.
* [core] Trigger Update::RecalculateStyle when toggling layer visibilityBruno de Oliveira Abinader2016-09-261-2/+15
|
* [core] Merge GlyphStore and GlyphAtlasJohn Firebaugh2016-09-191-144/+0
|
* [core] Merge SpriteStore and SpriteAtlasJohn Firebaugh2016-09-191-0/+0
|
* [core] Use an actor model for tile worker concurrencyJohn Firebaugh2016-09-162-16/+16
|
* [core] Correct evaluation of interval functionsclydebarrow2016-09-161-0/+11
|
* [core] upgrade RapidJSON to 1.1.0Konstantin Käfer2016-09-151-5/+6
|
* [core] change bool to enum class bool TileLoadStateKonstantin Käfer2016-09-071-4/+4
|
* [core] Observe visibility changesJohn Firebaugh2016-09-061-0/+14
|
* [core] Initial state of Source::Impl::enabled must be trueJohn Firebaugh2016-09-061-0/+4
| | | | Until Style::recalculate() is called to check that there are no visible layers using the source, we have to assume there are. Otherwise, Style::isLoaded() can return a false positive.
* [core, ios, android, qt] Observe style layer mutations rather than requiring ↵John Firebaugh2016-09-061-0/+44
| | | | | | SDKs to use Map::update This paves the way for updates to filter and layout properties to trigger a source reload, without each SDK having to participate in the implementation.
* [core] remove unused TimePoint during Source updateKonstantin Käfer2016-09-051-1/+0
|
* [core] Source::update => Source::{load,parse}Tiles, Source::load => ↵Konstantin Käfer2016-09-051-18/+18
| | | | Source::loadDescription
* [core] Emit MapChangeDidFailLoadingMap when the style cannot be loaded or parsedThiago Marcos P. Santos2016-08-241-1/+6
| | | | | Currently this signal is never emitted, which can cause the Still mode to starve in case of an invalid style or failed request.
* [core] #6071 - extract GeoJSONOptions conversion from GeoJSONSource conversionIvo van Dongen2016-08-231-0/+68
| | | | | | | | | | | | | | * [core] geojson_options - retain original error message * [core] tests - initial style conversion stub methods * [core] geojsonoptions conversion - initial unit tests * [core] tests - fix forward reference issue * [core] geojsonoptions conversion - unit tests * [core] geojsonoptions conversion - renamed Holder to Value
* [core] parse more Style JSON propertiesKonstantin Käfer2016-08-191-0/+34
| | | | We're now parsing "name", "center", "zoom", "bearing", and "pitch" from the stylesheet.
* [core] Add support for $id key to filtersJohn Firebaugh2016-07-181-62/+74
| | | | https://github.com/mapbox/mapbox-gl-style-spec/issues/391
* [core] geometry@0.8.0 / geojsonvt@6.0.0 (#5514)Young Hahn2016-07-061-5/+2
| | | | | | | | | | | | | | | | | | | | | | * [core] geometry.hpp 0.8.0 * geojsonvt @ 6.0.0 * Update platform deps, build scripts * Perf optimizations/cleanup * Rebase in geometry@080 * D.R.Y. etc * Ensure fill annotation geometries have closed rings. * Optimizations * Update to geojsonvt @ 6.1.0 for clean handoff between geojson parsing and geojsonvt * Apply close multi/poly geoms for line annotations as well