summaryrefslogtreecommitdiff
path: root/src/mbgl/text/collision_tile.hpp
Commit message (Collapse)AuthorAgeFilesLines
* [core] Improved label pitch-scaling: approximate collision box shapes based ↵Chris Loer2017-07-101-2/+4
| | | | on tile distance from camera.
* Disable misleading indentation warnings where boost is included.Aaron Muir Hamilton2017-06-161-0/+1
|
* [tidy] modernize-use-usingBruno de Oliveira Abinader2017-05-121-4/+4
|
* [core] Replace FeatureIndex::collisionTile with a method parameterJohn Firebaugh2017-01-101-1/+1
| | | | This reduces state and simplifies the test added in the prior commit.
* [core] Simplify CollisionTile::findPlacementScaleBruno de Oliveira Abinader2016-10-251-1/+1
| | | | | | Improve findPlacementScale semantics by moving the check if the placement scale result is bigger than minimum scale out of the function scope.
* [core] Avoid duplicating edges for CollisionTileBruno de Oliveira Abinader2016-10-251-1/+0
| | | | | Make 'edges' static to avoid every instance of CollisionTile having its own copy of it.
* [core] Cleanup function signatures in CollisionTileBruno de Oliveira Abinader2016-10-251-3/+3
| | | | | - Prefer pass-by-value for primitive types. - Use floating point precision for yStretch to match receiving type.
* [core] Cleanup SymbolLayoutBruno de Oliveira Abinader2016-10-131-3/+4
| | | | | Reuse reverse rotation matrix from CollisionTile when populating the collision boxes.
* [core] Use query geometry from FeatureIndex into ↵Bruno de Oliveira Abinader2016-10-111-1/+2
| | | | CollisionTile::queryRenderedSymbols
* [core] use #pragma once instead of ifdef include guardsKonstantin Käfer2016-05-251-4/+1
|
* [core] Use mapbox::geometry::{box,envelope}John Firebaugh2016-05-131-1/+1
|
* [core] CollisionBox::indexedFeature to CollisionFeature::indexedFeatureJohn Firebaugh2016-05-121-1/+1
| | | | This eliminates the CollisionBox constructor that instantiates an "empty" IndexedSubfeature.
* [core] Code formattingJohn Firebaugh2016-05-121-2/+2
|
* [core] Use geometry.hpp's pointJohn Firebaugh2016-05-051-3/+3
|
* [core] implement queryRenderedFeaturesAnsis Brammanis2016-04-291-2/+7
|
* [core] support tiles with non-4096 extentsAnsis Brammanis2016-02-021-1/+0
| | | | | Convert all geometries to the maximum extent supported by our buffers and then use that constant extent everywhere else.
* [core] implement symbol-avoid-edgesAnsis Brammanis2016-01-201-1/+7
| | | | | | | ref #3582 if `symbol-avoid-edges` is true, this prevents symbols from colliding with tile edges.
* [core] always reparse with the freshest possible placement configKonstantin Käfer2015-10-261-21/+17
| | | | Fixes an issue where updates to stale tiles would remove labels altogether until the map was rotated.
* port minor collision code cleanup, fix #1705Ansis Brammanis2015-08-241-7/+2
| | | | https://github.com/mapbox/mapbox-gl-js/pull/1261
* fix symbol collision detection in perspective viewAnsis Brammanis2015-08-241-3/+3
|
* Fix name shadowingJohn Firebaugh2015-07-011-2/+2
|
* fix android compile errorsAnsis Brammanis2015-06-021-2/+3
| | | | | - explicitly mark override - re-add fix from 74604af that was lost in a merge
* make collision debug boxes toggleableAnsis Brammanis2015-05-281-2/+6
|
* place symbols with correct angle on initial loadAnsis Brammanis2015-05-201-2/+2
|
* port bboxifyLabel from -jsAnsis Brammanis2015-04-011-1/+1
|
* port SymbolBucket::placeFeaturesAnsis Brammanis2015-04-011-2/+5
|
* port the remained of CollisionTileAnsis Brammanis2015-04-011-2/+4
|
* start porting CollisionTile and CollisionFeatureAnsis Brammanis2015-04-011-0/+57