summaryrefslogtreecommitdiff
path: root/test/util
Commit message (Collapse)AuthorAgeFilesLines
* [core] Make vec{2,3,4} operator bool explicitBruno de Oliveira Abinader2016-03-111-3/+3
|
* [core] Coordinate wrapping fixesBruno de Oliveira Abinader2016-03-101-0/+28
| | | | | | | | | | | | | | | - Make returning LatLngs unwrapped by default. - PointAnnotation and ShapeAnnotation are always wrapped so they can be selected via intersection from the visible tile boundaries. - Fixes LatLng::wrap() calculation. - Fixes LatLng::unwrapForShortestPath() calculation. The new unwrapForShortestPath algorithm unwraps the start coordinate either forwards or backwards depending on the end coordinate value, so we can always cross the antimeridian when needed and still obtain a wrapped end coordinate in the end. Fixes #4214.
* [core] Fix RunLoop::run() behavior when called a second timeJohn Firebaugh2016-03-081-0/+21
|
* [core] Enforce constants usageBruno de Oliveira Abinader2016-03-011-15/+16
| | | | | Use 'LATITUDE_MAX', 'LONGITUDE_MAX', 'DEG2RAD' and 'RAD2DEG' whenever possible.
* [core] Remove RunLoop::{ref,unref}John Firebaugh2016-02-161-44/+0
|
* [tests] Fix buildJohn Firebaugh2016-02-111-1/+1
|
* Allow using tileSize: 512 as a switch to trade retina support for 512px ↵Young Hahn2016-02-111-16/+34
| | | | raster tiles
* [core] Cache with mapbox:// tile URLsJohn Firebaugh2016-02-101-95/+63
|
* [core] Refactor tileCoverJohn Firebaugh2016-02-101-0/+118
|
* [core] compute the actual clipping masks that we have to draw with getStencils()Konstantin Käfer2016-02-101-20/+180
|
* [core] Improve LatLngBounds APIJohn Firebaugh2016-02-021-19/+97
| | | | | | | * Use "named constructors": empty, world, hull * Make the two-argument constructor lenient (i.e., it is a hull operation) * Add various accessors * Enforce a single empty representation
* [tests] Reorganize tests to match src structureJohn Firebaugh2016-02-0214-0/+1485