From e55065e62a2e3b1707ac8ffa09e6b08b928e07c1 Mon Sep 17 00:00:00 2001 From: Bruno de Oliveira Abinader Date: Fri, 21 Oct 2016 16:41:32 +0300 Subject: [core] Reuse last placement data in CollisionTile::queryRenderedFeatures To obtain precise results, we: 1. Round scale value to obtain same results from symbol shader. 2. Generate a boost geometry polygon to check if it intersects() against all feature boxes. 3. Check if current scale is within each feature's minimum and maximum placement scales. 4. De-scale feature boxes when intersecting to account for the fractional zoom scaling. --- benchmark/fixtures/api/cache.db | Bin 405504 -> 405504 bytes 1 file changed, 0 insertions(+), 0 deletions(-) (limited to 'benchmark') diff --git a/benchmark/fixtures/api/cache.db b/benchmark/fixtures/api/cache.db index 102c4074ef..a62a3b0f00 100644 Binary files a/benchmark/fixtures/api/cache.db and b/benchmark/fixtures/api/cache.db differ -- cgit v1.2.1