Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Oops, got the index length wrong for circle debug boxes.upstream/start-collision-no-background-placement | Chris Loer | 2017-10-26 | 1 | -1/+1 |
| | | | | [skip ci] | ||||
* | Stop doing collision detection in background. | Chris Loer | 2017-10-26 | 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"). | ||||
* | Flip line label collisions from broken to not broken. | Chris Loer | 2017-10-26 | 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-26 | 2 | -0/+52 |
| | |||||
* | Switch GridIndex to use float coordinates instead of int16s: fast way to ↵ | Chris Loer | 2017-10-26 | 4 | -21/+24 |
| | | | | prevent flicker from coordinate rounding. | ||||
* | remove placedText and placedIcon from SymbolInstance | Ansis Brammanis | 2017-10-26 | 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-26 | 4 | -43/+52 |
| | |||||
* | switch `float targetOpacity` to `bool placed` | Ansis Brammanis | 2017-10-26 | 3 | -35/+43 |
| | | | | and make `Placement.commit(...)` return whether anything changed. | ||||
* | fix incorrectly hidden symbols | Ansis Brammanis | 2017-10-25 | 2 | -2/+11 |
| | |||||
* | fix collision box opacity [skip ci] | Ansis Brammanis | 2017-10-25 | 1 | -2/+2 |
| | |||||
* | add a couple of assertions [skip ci] | Ansis Brammanis | 2017-10-25 | 2 | -0/+5 |
| | |||||
* | implement fading within tiles [skip ci] | Ansis Brammanis | 2017-10-25 | 8 | -21/+35 |
| | |||||
* | Fix segment overflow bug for collision circles. | Chris Loer | 2017-10-25 | 1 | -1/+2 |
| | | | | [skip ci] | ||||
* | Initial implementation of debug collision circles | Chris Loer | 2017-10-25 | 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-25 | 5 | -73/+130 |
| | | | | | | - Stops crash on inserting line labels - Breaks queryRenderedSymbols for now. [skip ci] | ||||
* | Hook up placement updates for collision boxes. | Chris Loer | 2017-10-25 | 2 | -1/+18 |
| | |||||
* | use the values in the collisionbox opacity buffer [skip ci] | Ansis Brammanis | 2017-10-25 | 4 | -9/+54 |
| | |||||
* | Starting implementation of debug collision boxes. | Chris Loer | 2017-10-25 | 13 | -87/+159 |
| | | | | | - Dynamic buffers not hooked up yet - Circles not hooked up yet | ||||
* | start running new placement [skip ci] | Ansis Brammanis | 2017-10-24 | 17 | -226/+369 |
| | |||||
* | update shaders and create symbol opacity buffer | Ansis Brammanis | 2017-10-24 | 13 | -75/+68 |
| | |||||
* | Add basic unit test for GridIndex. | Chris Loer | 2017-10-24 | 2 | -0/+54 |
| | |||||
* | Fix annotation_tile.test (CollisionFeatures don't have an "AlignmentType" ↵ | Chris Loer | 2017-10-24 | 1 | -1/+1 |
| | | | | anymore) | ||||
* | Initial implementation: add support for circle geometries to GridIndex. | Chris Loer | 2017-10-24 | 3 | -49/+279 |
| | | | | Modify FeatureIndex to use new interface. | ||||
* | CollisionIndex initial implementation of line labels. | Chris Loer | 2017-10-18 | 6 | -77/+216 |
| | | | | | | Boxes are still used instead of circles, but it would be pretty easy (if not necessarily most performant) to add a circle geometry refinement to the tree-querying logic. Compiles but not tested. [skip ci] | ||||
* | Start implementing `CollisionIndex`, the global/viewport-based replacement ↵ | Chris Loer | 2017-10-18 | 3 | -0/+243 |
| | | | | | | | | for `CollisionTile`. No support for line-labels/circles yet. Compiles but not tested. [skip ci] | ||||
* | Initial implementation of "PlacementState": intended to be used by renderer ↵ | Chris Loer | 2017-10-18 | 5 | -0/+185 |
| | | | | to pause and restart placement. | ||||
* | add SymbolOpacityIndex [skip ci] | Ansis Brammanis | 2017-10-18 | 7 | -4/+269 |
| | |||||
* | Take FrameHistory out of core-files. | Chris Loer | 2017-10-18 | 1 | -2/+0 |
| | |||||
* | Remove FrameHistory. This will disable zoom-based collisions until ↵ | Chris Loer | 2017-10-18 | 9 | -142/+2 |
| | | | | foreground placement is implemented. | ||||
* | Port viewport-collision changes to symbol_projection.cpp: | Chris Loer | 2017-10-18 | 4 | -36/+127 |
| | | | | | | - Adds "placeFirstAndLastGlyph" which can be called from CollisionIndex - Doesn't add JS-specific projection/glyph hiding optimizations - Only testing is a brief exercise of the previously existing line projection logic -- this still needs to be hooked up to more code to actually be useful. | ||||
* | Prepare for viewport-collision work: remove "straight" option for ↵ | Chris Loer | 2017-10-18 | 2 | -20/+5 |
| | | | | line-placed icons. | ||||
* | [core] correctly alter sprite URLs when attaching sprite.png/sprite.json ↵ | Konstantin Käfer | 2017-10-17 | 2 | -8/+18 |
| | | | | filenames | ||||
* | [core] don't generate clip IDs for buckets/layers that don't need to be clipped | Konstantin Käfer | 2017-10-17 | 4 | -3/+14 |
| | |||||
* | [core] Use convertJSON instead of RapidJSON directly | John Firebaugh | 2017-10-16 | 9 | -93/+40 |
| | |||||
* | [core] Move SourceType to the 'style' namespace | Anand Thakker | 2017-10-16 | 17 | -24/+27 |
| | |||||
* | [core, node] Support axonometric rendering | Lauren Budorick | 2017-10-14 | 12 | -1/+175 |
| | |||||
* | Ignore raster-masking/overlapping-zoom | Lauren Budorick | 2017-10-14 | 1 | -0/+1 |
| | |||||
* | Skip expression-based runtime styling test | Lauren Budorick | 2017-10-13 | 1 | -1/+1 |
| | |||||
* | [core] Fix out-of-bounds array access | Asheem Mamoowala | 2017-10-12 | 1 | -1/+1 |
| | |||||
* | Add ignore for expression-based regression test | Lauren Budorick | 2017-10-12 | 1 | -0/+1 |
| | |||||
* | [core] make forcing cache/network only more explicit | Konstantin Käfer | 2017-10-12 | 25 | -251/+284 |
| | | | | | | Previously, we used the existence of a `prior*` field in the Resource object as an indication for whether we should consult the cache or not. However, this is prone to error, since a failed cache lookup won't set any prior fields. Therefore, we manually set `priorExpires` to 0. This in turn triggered another bug where generated wrong expiration timestamps when the server response we got was expired (or expired between sending and receiving). This commit changes the flags so that we can now explicitly request CacheOnly/NetworkOnly (or All) loading methods, rather than the implicit Optional/Required naming scheme. | ||||
* | [ios, macos] Use CLLocationDirection for direction parameter in -[MGLMapView ↵ | Asheem Mamoowala | 2017-10-09 | 4 | -4/+4 |
| | | | | cameraThatFitsShape:shape direction: edgePadding:] | ||||
* | [android][ios][macOS] Implement bindings for `Map::cameraForGeometry`. On ↵ | Asheem Mamoowala | 2017-10-09 | 11 | -5/+123 |
| | | | | macOS, also added -[MGLMapView setCamera: withDuration: animationTimingFunction: edgePadding: completionHandler:] for parity with iOS | ||||
* | [core] Add `cameraForLatLngs()` method with modified bearing | Asheem Mamoowala | 2017-10-09 | 4 | -14/+71 |
| | |||||
* | [node] Release v3.5.7 (#10164) | Bruno de Oliveira Abinader | 2017-10-09 | 2 | -1/+4 |
| | |||||
* | [test] Added GlyphManager.ImmediateFileSource | Bruno de Oliveira Abinader | 2017-10-09 | 3 | -3/+70 |
| | |||||
* | [core] Update glyph requestors _before_ requesting from file source | Bruno de Oliveira Abinader | 2017-10-09 | 2 | -8/+5 |
| | |||||
* | [qt] use const for setting ResourceTransform | Rinigus | 2017-10-09 | 2 | -2/+2 |
| | |||||
* | [qt] add ResourceTransform API | Rinigus | 2017-10-09 | 3 | -0/+47 |
| | |||||
* | Add ignores for heatmap render tests (#10147)upstream/cam-mas-2.2.6 | Vladimir Agafonkin | 2017-10-06 | 1 | -1/+18 |
| |