Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | throttle placementupstream/start-collision-throttle | Ansis Brammanis | 2017-11-03 | 3 | -7/+22 |
| | |||||
* | Remove addressed TODOs | Chris Loer | 2017-11-03 | 2 | -5/+1 |
| | |||||
* | Fix collision box dynamic updating logic to match tile boundaries used in ↵ | Chris Loer | 2017-11-03 | 2 | -20/+25 |
| | | | | collision box generation. | ||||
* | Fix "scale" and "textPixelRatio" calculations -- both of them need to ↵ | Chris Loer | 2017-11-03 | 1 | -3/+2 |
| | | | | include overscaling factor, instead of neither. | ||||
* | Fix infinite loop when minZoom == 0. | Chris Loer | 2017-11-02 | 1 | -0/+6 |
| | |||||
* | Port GL JS logic for generating extra collision circles in overscaled tiles. | Chris Loer | 2017-11-02 | 7 | -20/+30 |
| | | | | Unfortunately only re-enable one of the overscaling render tests -- the "Figueroa St" test works but gives somewhat different results than JS. | ||||
* | fade symbols across tiles (#10361) | Ansis Brammanis | 2017-11-02 | 9 | -150/+131 |
| | |||||
* | Apparently parameter names can collide with method names for gcc? | Chris Loer | 2017-11-01 | 2 | -6/+6 |
| | |||||
* | More compiler appeasement. | Chris Loer | 2017-11-01 | 1 | -2/+2 |
| | |||||
* | Compiler appeasement. | Chris Loer | 2017-11-01 | 2 | -3/+3 |
| | |||||
* | Changes for circle-ci clang-tidy. | Chris Loer | 2017-11-01 | 4 | -4/+5 |
| | |||||
* | Add "icon-allow-overlap" to query_style.json in order to preserve test ↵ | Chris Loer | 2017-11-01 | 1 | -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 Loer | 2017-11-01 | 4 | -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 Loer | 2017-11-01 | 1 | -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 Loer | 2017-11-01 | 4 | -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 Loer | 2017-11-01 | 2 | -11/+27 |
| | | | | This probably needs refactoring. | ||||
* | Make sure to sort all symbol buckets the first time we get them ready for ↵ | Chris Loer | 2017-11-01 | 2 | -2/+2 |
| | | | | upload. | ||||
* | Disable tile clipping for symbols. | Chris Loer | 2017-11-01 | 1 | -3/+3 |
| | |||||
* | Don't do fade animations in MapMode::Still | Chris Loer | 2017-11-01 | 4 | -6/+14 |
| | |||||
* | Starting on sorting. | Chris Loer | 2017-10-31 | 7 | -10/+115 |
| | |||||
* | Switch queryRenderedSymbols to use canonical tile IDs | Chris Loer | 2017-10-31 | 5 | -10/+8 |
| | |||||
* | Store sourceID in IndexedSubfeature so that queryRenderedSymbols can filter ↵ | Chris Loer | 2017-10-31 | 9 | -14/+27 |
| | | | | | | to appropriate source. TODO: should sourceID have a stronger type than std::string? | ||||
* | Oops. | Chris Loer | 2017-10-31 | 1 | -2/+2 |
| | |||||
* | First implementation of queryRenderedSymbols | Chris Loer | 2017-10-31 | 25 | -144/+121 |
| | |||||
* | Store tile id in indexedsubfeature | Chris Loer | 2017-10-31 | 5 | -9/+17 |
| | |||||
* | Re-enable vertical glyph support. | Chris Loer | 2017-10-31 | 7 | -55/+42 |
| | |||||
* | fix collisions in overscaled tiles [skip ci] | Ansis Brammanis | 2017-10-31 | 2 | -3/+6 |
| | |||||
* | fix flickering [skip ci] | Ansis Brammanis | 2017-10-31 | 3 | -4/+8 |
| | |||||
* | Make sure to mark symbols as collided if they don't fit on their line geometry. | Chris Loer | 2017-10-31 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | Make CollisionIndex's GridIndex large enough to include the padding around ↵ | Chris Loer | 2017-10-31 | 1 | -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 Loer | 2017-10-31 | 1 | -2/+8 |
| | | | | [skip ci] | ||||
* | Hook up "showCollisionBoxes" logic where "setPlacementConfig" logic used to be. | Chris Loer | 2017-10-31 | 12 | -61/+56 |
| | | | | | Remove PlacementConfig [skip ci] | ||||
* | Don't insert "unused" collision circles into the grid, it slows everything down! | Chris Loer | 2017-10-31 | 1 | -4/+7 |
| | |||||
* | Hook up tile distance calculation. | Chris Loer | 2017-10-31 | 4 | -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 Loer | 2017-10-31 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | Stop doing collision detection in background. | Chris Loer | 2017-10-31 | 14 | -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 Brammanis | 2017-10-31 | 5 | -34/+81 |
| | |||||
* | Flip line label collisions from broken to not broken. | Chris Loer | 2017-10-31 | 1 | -1/+1 |
| | | | | Don't worry, we'll squash all these embarrassing commits later. | ||||
* | GridIndex support for queries fully containing or fully outside of grid | Chris Loer | 2017-10-31 | 2 | -0/+52 |
| | |||||
* | Switch GridIndex to use float coordinates instead of int16s: fast way to ↵ | Chris Loer | 2017-10-31 | 4 | -21/+24 |
| | | | | prevent flicker from coordinate rounding. | ||||
* | remove placedText and placedIcon from SymbolInstance | Ansis Brammanis | 2017-10-31 | 3 | -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 Brammanis | 2017-10-31 | 4 | -43/+52 |
| | |||||
* | switch `float targetOpacity` to `bool placed` | Ansis Brammanis | 2017-10-31 | 3 | -35/+43 |
| | | | | and make `Placement.commit(...)` return whether anything changed. | ||||
* | fix incorrectly hidden symbols | Ansis Brammanis | 2017-10-31 | 2 | -2/+11 |
| | |||||
* | fix collision box opacity [skip ci] | Ansis Brammanis | 2017-10-31 | 1 | -2/+2 |
| | |||||
* | add a couple of assertions [skip ci] | Ansis Brammanis | 2017-10-31 | 2 | -0/+5 |
| | |||||
* | implement fading within tiles [skip ci] | Ansis Brammanis | 2017-10-31 | 8 | -21/+35 |
| | |||||
* | Fix segment overflow bug for collision circles. | Chris Loer | 2017-10-31 | 1 | -1/+2 |
| | | | | [skip ci] | ||||
* | Initial implementation of debug collision circles | Chris Loer | 2017-10-31 | 11 | -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 Loer | 2017-10-31 | 5 | -73/+130 |
| | | | | | | - Stops crash on inserting line labels - Breaks queryRenderedSymbols for now. [skip ci] |