summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* fix collisionsupstream/start-collision-crosstileAnsis Brammanis2017-11-021-1/+0
|
* only render a symbol in one tileAnsis Brammanis2017-11-022-7/+13
|
* add (disabled) ability to remove old buckets from crosstilesymbolindexAnsis Brammanis2017-11-023-62/+41
|
* crosstile fadingAnsis Brammanis2017-11-029-103/+100
|
* Apparently parameter names can collide with method names for gcc?Chris Loer2017-11-012-6/+6
|
* More compiler appeasement.Chris Loer2017-11-011-2/+2
|
* Compiler appeasement.Chris Loer2017-11-012-3/+3
|
* Changes for circle-ci clang-tidy.Chris Loer2017-11-014-4/+5
|
* Add "icon-allow-overlap" to query_style.json in order to preserve test ↵Chris Loer2017-11-011-4/+8
| | | | behavior from when each source did collision detection separately instead of sharing the same index.
* Update unit test stubs to match new collision code.Chris Loer2017-11-014-7/+12
| | | | Disable annotation_tile test -- seems like maybe it makes sense to delete?
* Update Map.Offline unit test with new image fixture reflecting new collision ↵Chris Loer2017-11-011-0/+0
| | | | | | detection. (only glanced at the new results, but they look reasonable)
* GridIndex: add separate "query" method that doesn't return bounding boxes, ↵Chris Loer2017-11-014-12/+17
| | | | | | for use by unit test and FeatureIndex. Also: fix a bug that would cause results to be duplicated for query boxes that completely contained the index.
* Fix "vertexStartIndex" calculation for text symbols.Chris Loer2017-11-012-11/+27
| | | | This probably needs refactoring.
* Make sure to sort all symbol buckets the first time we get them ready for ↵Chris Loer2017-11-012-2/+2
| | | | upload.
* Disable tile clipping for symbols.Chris Loer2017-11-011-3/+3
|
* Don't do fade animations in MapMode::StillChris Loer2017-11-014-6/+14
|
* Starting on sorting.Chris Loer2017-10-317-10/+115
|
* Switch queryRenderedSymbols to use canonical tile IDsChris Loer2017-10-315-10/+8
|
* Store sourceID in IndexedSubfeature so that queryRenderedSymbols can filter ↵Chris Loer2017-10-319-14/+27
| | | | | | to appropriate source. TODO: should sourceID have a stronger type than std::string?
* Oops.Chris Loer2017-10-311-2/+2
|
* First implementation of queryRenderedSymbolsChris Loer2017-10-3125-144/+121
|
* Store tile id in indexedsubfeatureChris Loer2017-10-315-9/+17
|
* Re-enable vertical glyph support.Chris Loer2017-10-317-55/+42
|
* fix collisions in overscaled tiles [skip ci]Ansis Brammanis2017-10-312-3/+6
|
* fix flickering [skip ci]Ansis Brammanis2017-10-313-4/+8
|
* Make sure to mark symbols as collided if they don't fit on their line geometry.Chris Loer2017-10-311-1/+1
| | | | [skip ci]
* Make CollisionIndex's GridIndex large enough to include the padding around ↵Chris Loer2017-10-311-2/+2
| | | | | | | the viewport. Move cell size to 25px to be in sync with gl js [skip ci]
* Short circuit line label rendering for labels that are fully faded.Chris Loer2017-10-311-2/+8
| | | | [skip ci]
* Hook up "showCollisionBoxes" logic where "setPlacementConfig" logic used to be.Chris Loer2017-10-3112-61/+56
| | | | | Remove PlacementConfig [skip ci]
* Don't insert "unused" collision circles into the grid, it slows everything down!Chris Loer2017-10-311-4/+7
|
* Hook up tile distance calculation.Chris Loer2017-10-314-14/+35
| | | | Collision circles should now agree with labels pretty well even in pitched views.
* Oops, got the index length wrong for circle debug boxes.Chris Loer2017-10-311-1/+1
| | | | [skip ci]
* Stop doing collision detection in background.Chris Loer2017-10-3114-516/+35
| | | | | Remove CollisionTile. "Placement" in background is now just "layout for symbol buckets" (as opposed to layout for non-symbol buckets, which finishes in "redoLayout").
* upload symbol opacity buffers in main upload pass [skip ci]Ansis Brammanis2017-10-315-34/+81
|
* Flip line label collisions from broken to not broken.Chris Loer2017-10-311-1/+1
| | | | Don't worry, we'll squash all these embarrassing commits later.
* GridIndex support for queries fully containing or fully outside of gridChris Loer2017-10-312-0/+52
|
* Switch GridIndex to use float coordinates instead of int16s: fast way to ↵Chris Loer2017-10-314-21/+24
| | | | prevent flicker from coordinate rounding.
* remove placedText and placedIcon from SymbolInstanceAnsis Brammanis2017-10-313-7/+1
| | | | | | | Opacities are stored in a separate map in Placement and linked to the symbol instance by an id. Hopefully this will make it easier to apply semi-stale placements to newly-loaded tiles later on. [skip ci]
* keep rendering until labels fade in [skip ci]Ansis Brammanis2017-10-314-43/+52
|
* switch `float targetOpacity` to `bool placed`Ansis Brammanis2017-10-313-35/+43
| | | | and make `Placement.commit(...)` return whether anything changed.
* fix incorrectly hidden symbolsAnsis Brammanis2017-10-312-2/+11
|
* fix collision box opacity [skip ci]Ansis Brammanis2017-10-311-2/+2
|
* add a couple of assertions [skip ci]Ansis Brammanis2017-10-312-0/+5
|
* implement fading within tiles [skip ci]Ansis Brammanis2017-10-318-21/+35
|
* Fix segment overflow bug for collision circles.Chris Loer2017-10-311-1/+2
| | | | [skip ci]
* Initial implementation of debug collision circlesChris Loer2017-10-3111-38/+187
| | | | | | | - Naive copy-pasting of collision box code: should factor out more of the commonalities - "Used circle" logic seems to be working correctly - Rendering seems to break if there are too many circles (probably something to do with segment logic?) [skip ci]
* Move CollisionIndex to use GridIndex instead of boost::rtree.Chris Loer2017-10-315-73/+130
| | | | | | - Stops crash on inserting line labels - Breaks queryRenderedSymbols for now. [skip ci]
* Hook up placement updates for collision boxes.Chris Loer2017-10-312-1/+18
|
* use the values in the collisionbox opacity buffer [skip ci]Ansis Brammanis2017-10-314-9/+54
|
* Starting implementation of debug collision boxes.Chris Loer2017-10-3113-87/+159
| | | | | - Dynamic buffers not hooked up yet - Circles not hooked up yet