summaryrefslogtreecommitdiff
path: root/test/api
Commit message (Collapse)AuthorAgeFilesLines
...
* [core] Remove shape layers from the style (fixes #2405)John Firebaugh2015-10-201-2/+27
|
* Install RapidJSON from masonJohn Firebaugh2015-10-011-1/+1
|
* Add test for removeAnnotationJohn Firebaugh2015-09-281-0/+16
|
* Rewrite annotation invalidation strategyJohn Firebaugh2015-09-281-28/+68
| | | | | | | | | | | | | | | | First, move style mutation code out of StyleParser and into AnnotationManager, coalescing it with the mutation code for shape layers. Second, allow AnnotationManager to keep track of stale tiles entirely internally. There's no reason to pass sets of TileIDs around. Third, correct the logic for invalidating the shape source. Since AnnotationManager does not track shape invalidations on a tile-by-tile basis, don't try to invalidate the shape source tile-by-tile. Fixes #1675 Fixes #2322 Fixes #2095
* Add some shape annotation testsJohn Firebaugh2015-09-281-0/+63
|
* Ensure that LiveTileData can be reparsedJohn Firebaugh2015-09-281-15/+13
| | | | | | | | | | Annotation tiles may become partially parsed just like regular tiles, for example if a point annotation is added to the map before the style's sprite has been loaded. In such cases, they need to be reparsed or the annotation will not be rendered. Previously, the code path for reparsing would be short-circuited by a dynamic_cast<VectorTileData*> followed by a null check. This commit removes that case and adds (back) a virtual reparse method to the TileData interface.
* Consolidate test-suite rendering harnesses (#2236)John Firebaugh2015-09-042-2/+2
|
* Add unit tests for addPointAnnotations()Thiago Marcos P. Santos2015-07-101-0/+36
| | | | This test would have caught #1874
* Make pixelRatio constant across a Map object lifetimeKonstantin Käfer2015-07-083-11/+9
| | | | also moves framebuffer size out of TransformState into its own object
* Add tests for renderStill() misuseThiago Marcos P. Santos2015-06-161-0/+60
|
* Replace mbgl::util::make_unique<> with std::make_unique<>Konstantin Käfer2015-05-262-2/+2
|
* Add callback for error notifications on renderStill()Thiago Marcos P. Santos2015-05-221-2/+2
| | | | | | | | | The callback will be called when any of the resources requested from the network failed to load. There is not recovery implemented yet, so the closest thing to reseting the Map object and reloading all the resources would be setting a new style.
* Resize view from map threadJohn Firebaugh2015-04-281-2/+2
|
* Remove Map::start/stopJohn Firebaugh2015-04-282-12/+5
| | | | | | Both Android and iOS now use pause/resume. The map thread is always running, and be able to receive messages. When paused, it will just refuse to render.
* Fix buildJohn Firebaugh2015-04-282-2/+2
|
* rename Mode::Static => Mode::StillKonstantin Käfer2015-04-172-2/+2
|
* explicitly call .discard() to resize the view on static rendersKonstantin Käfer2015-04-171-0/+63
| | | | | - this is only a stopgap; we need to properly pass state between threads - doesn't fix changing the pixel ratio
* don't hide unchecked messagesKonstantin Käfer2015-04-171-1/+2
|
* don't throw an exception in the map thread for bad stylesKonstantin Käfer2015-04-171-0/+32