summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Oops, got the index length wrong for circle debug boxes.upstream/start-collision-no-background-placementChris Loer2017-10-261-1/+1
| | | | [skip ci]
* Stop doing collision detection in background.Chris Loer2017-10-2614-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 Loer2017-10-261-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-262-0/+52
|
* Switch GridIndex to use float coordinates instead of int16s: fast way to ↵Chris Loer2017-10-264-21/+24
| | | | prevent flicker from coordinate rounding.
* remove placedText and placedIcon from SymbolInstanceAnsis Brammanis2017-10-263-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-264-43/+52
|
* switch `float targetOpacity` to `bool placed`Ansis Brammanis2017-10-263-35/+43
| | | | and make `Placement.commit(...)` return whether anything changed.
* fix incorrectly hidden symbolsAnsis Brammanis2017-10-252-2/+11
|
* fix collision box opacity [skip ci]Ansis Brammanis2017-10-251-2/+2
|
* add a couple of assertions [skip ci]Ansis Brammanis2017-10-252-0/+5
|
* implement fading within tiles [skip ci]Ansis Brammanis2017-10-258-21/+35
|
* Fix segment overflow bug for collision circles.Chris Loer2017-10-251-1/+2
| | | | [skip ci]
* Initial implementation of debug collision circlesChris Loer2017-10-2511-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-255-73/+130
| | | | | | - Stops crash on inserting line labels - Breaks queryRenderedSymbols for now. [skip ci]
* Hook up placement updates for collision boxes.Chris Loer2017-10-252-1/+18
|
* use the values in the collisionbox opacity buffer [skip ci]Ansis Brammanis2017-10-254-9/+54
|
* Starting implementation of debug collision boxes.Chris Loer2017-10-2513-87/+159
| | | | | - Dynamic buffers not hooked up yet - Circles not hooked up yet
* start running new placement [skip ci]Ansis Brammanis2017-10-2417-226/+369
|
* update shaders and create symbol opacity bufferAnsis Brammanis2017-10-2413-75/+68
|
* Add basic unit test for GridIndex.Chris Loer2017-10-242-0/+54
|
* Fix annotation_tile.test (CollisionFeatures don't have an "AlignmentType" ↵Chris Loer2017-10-241-1/+1
| | | | anymore)
* Initial implementation: add support for circle geometries to GridIndex.Chris Loer2017-10-243-49/+279
| | | | Modify FeatureIndex to use new interface.
* CollisionIndex initial implementation of line labels.Chris Loer2017-10-186-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 Loer2017-10-183-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 Loer2017-10-185-0/+185
| | | | to pause and restart placement.
* add SymbolOpacityIndex [skip ci]Ansis Brammanis2017-10-187-4/+269
|
* Take FrameHistory out of core-files.Chris Loer2017-10-181-2/+0
|
* Remove FrameHistory. This will disable zoom-based collisions until ↵Chris Loer2017-10-189-142/+2
| | | | foreground placement is implemented.
* Port viewport-collision changes to symbol_projection.cpp:Chris Loer2017-10-184-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 Loer2017-10-182-20/+5
| | | | line-placed icons.
* [core] correctly alter sprite URLs when attaching sprite.png/sprite.json ↵Konstantin Käfer2017-10-172-8/+18
| | | | filenames
* [core] don't generate clip IDs for buckets/layers that don't need to be clippedKonstantin Käfer2017-10-174-3/+14
|
* [core] Use convertJSON instead of RapidJSON directlyJohn Firebaugh2017-10-169-93/+40
|
* [core] Move SourceType to the 'style' namespaceAnand Thakker2017-10-1617-24/+27
|
* [core, node] Support axonometric renderingLauren Budorick2017-10-1412-1/+175
|
* Ignore raster-masking/overlapping-zoomLauren Budorick2017-10-141-0/+1
|
* Skip expression-based runtime styling testLauren Budorick2017-10-131-1/+1
|
* [core] Fix out-of-bounds array accessAsheem Mamoowala2017-10-121-1/+1
|
* Add ignore for expression-based regression testLauren Budorick2017-10-121-0/+1
|
* [core] make forcing cache/network only more explicitKonstantin Käfer2017-10-1225-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 Mamoowala2017-10-094-4/+4
| | | | cameraThatFitsShape:shape direction: edgePadding:]
* [android][ios][macOS] Implement bindings for `Map::cameraForGeometry`. On ↵Asheem Mamoowala2017-10-0911-5/+123
| | | | macOS, also added -[MGLMapView setCamera: withDuration: animationTimingFunction: edgePadding: completionHandler:] for parity with iOS
* [core] Add `cameraForLatLngs()` method with modified bearingAsheem Mamoowala2017-10-094-14/+71
|
* [node] Release v3.5.7 (#10164)Bruno de Oliveira Abinader2017-10-092-1/+4
|
* [test] Added GlyphManager.ImmediateFileSourceBruno de Oliveira Abinader2017-10-093-3/+70
|
* [core] Update glyph requestors _before_ requesting from file sourceBruno de Oliveira Abinader2017-10-092-8/+5
|
* [qt] use const for setting ResourceTransformRinigus2017-10-092-2/+2
|
* [qt] add ResourceTransform APIRinigus2017-10-093-0/+47
|
* Add ignores for heatmap render tests (#10147)upstream/cam-mas-2.2.6Vladimir Agafonkin2017-10-061-1/+18
|