Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 2 | -35/+35 |
| | |||||
* | [core] don't load tiles from sources that aren't used | Konstantin Käfer | 2016-10-27 | 1 | -0/+48 |
| | |||||
* | [core] move gl::Context to Backend and refactor View | Konstantin Käfer | 2016-10-25 | 1 | -43/+27 |
| | |||||
* | [core] separate Backend from View for headless rendering | Konstantin Käfer | 2016-10-25 | 1 | -23/+39 |
| | |||||
* | [core] [node] pass thread pool impl to Map constructor | Mike Morris | 2016-10-20 | 1 | -17/+19 |
| | | | | | | | Updates mbgl::Map constructor usage everywhere Adds NodeThreadPool implementation using AsyncQueue to call Nan::AsyncQueueWorker from main thread | ||||
* | [core] Fix Map::setLatLng behavior | Bruno de Oliveira Abinader | 2016-10-07 | 1 | -0/+16 |
| | | | | | We were erroneously assigning a value to optional<ScreenCoordinate> (null island), causing it to be a valid anchor for Transform::easeTo. | ||||
* | [test] add .test.cpp suffix to test case files | Konstantin Käfer | 2016-09-28 | 2 | -0/+0 |
| | |||||
* | [tests] Add tests for Map::[add|remove]Image | Thiago Marcos P. Santos | 2016-09-22 | 1 | -0/+33 |
| | |||||
* | [core] do not render layers that are outside their zoom range | Konstantin Käfer | 2016-09-20 | 1 | -0/+61 |
| | | | | So far, we didn't properly disable layers that are outside the zoom range. This means that we rendered layers that should not have been rendered, albeit we didn't make any attempt to load tiles for those layers. However, when zooming in/out, existing tiles might already have been loaded in the source which continued to be rendered. In most cases they weren't actually visible because either the matrices weren't updated, or the clip IDs weren't set so that they would be "rendered" off-screen and clipped completely. In any case, we did way too much work. | ||||
* | [core] add MapChangeDidFinishLoadingStyle signal (#6371) | Ivo van Dongen | 2016-09-20 | 1 | -0/+20 |
| | |||||
* | [test] Added Map class accessors tests | Bruno de Oliveira Abinader | 2016-09-13 | 1 | -0/+34 |
| | |||||
* | [tests] Add unit test for style loading failures | Thiago Marcos P. Santos | 2016-08-24 | 1 | -0/+32 |
| | |||||
* | [core] Emit MapChangeDidFailLoadingMap when the style cannot be loaded or parsed | Thiago Marcos P. Santos | 2016-08-24 | 1 | -1/+1 |
| | | | | | Currently this signal is never emitted, which can cause the Still mode to starve in case of an invalid style or failed request. | ||||
* | [tests] Test that style mutations due to annotations don't cancel style ↵ | John Firebaugh | 2016-08-23 | 1 | -0/+26 |
| | | | | revalidation | ||||
* | [core] Don't allow style mutations to be overwritten by revalidation | John Firebaugh | 2016-08-23 | 1 | -0/+64 |
| | | | | | * Once we get a fresh style, stop revalidating. * If the style is mutated, stop revalidating and preserve the existing mutations. | ||||
* | [tests] Merge single test in set_style.cpp with other Map tests | John Firebaugh | 2016-08-23 | 1 | -0/+19 |
| | |||||
* | [core] support "scheme": "tms" in TileJSON files | Konstantin Käfer | 2016-08-16 | 1 | -1/+1 |
| | |||||
* | Color class (#5361) | Young Hahn | 2016-06-15 | 1 | -2/+3 |
| | | | | | | * Color class * Switch to list initialization | ||||
* | [core, node, android] Remove used "base" parameter from setStyleJSON | John Firebaugh | 2016-06-02 | 1 | -4/+4 |
| | |||||
* | [core] Rationalize naming for style-related code | John Firebaugh | 2016-06-02 | 1 | -1/+2 |
| | |||||
* | [tests] Add basic tests for Map::{add,remove}Layer | John Firebaugh | 2016-06-02 | 1 | -10/+38 |
| | |||||
* | [core] Avoid NaNs in TransformState unit conversions | Bruno de Oliveira Abinader | 2016-05-20 | 1 | -0/+40 |
| | | | | | Fix cases where e.g. state has either zero width or height, causing the unit convertion functions would return NaNs. | ||||
* | [core] remove MockView and View dependency in Transform | Konstantin Käfer | 2016-05-18 | 1 | -25/+12 |
| | |||||
* | [core] move from microsecond precision timestamp to integer second precision | Konstantin Käfer | 2016-05-13 | 1 | -1/+1 |
| | |||||
* | [core] Added Viewport mode | Bruno de Oliveira Abinader | 2016-05-11 | 1 | -12/+12 |
| | | | | | | Satisfies embedding platforms that requires the viewport coordinate systems to be set according to its standards e.g. viewport mirrored vertically. | ||||
* | [core] retain tiles differently and remove old TileID class | Konstantin Käfer | 2016-05-10 | 1 | -50/+0 |
| | |||||
* | [core] Use geometry.hpp's point | John Firebaugh | 2016-05-05 | 1 | -4/+1 |
| | |||||
* | [tests] Rationalize test fixtures (#4834) | John Firebaugh | 2016-04-25 | 1 | -10/+10 |
| | | | Place them in a directory corresponding to the test .cpp file name. | ||||
* | [core] Use the proper type for font stacks | John Firebaugh | 2016-04-22 | 1 | -1/+1 |
| | |||||
* | [core] Convert MapContext to Map::Impl; eliminate indirection | John Firebaugh | 2016-04-15 | 2 | -26/+13 |
| | |||||
* | [core] Clean up ThreadContext vestiges | John Firebaugh | 2016-04-15 | 1 | -1/+1 |
| | |||||
* | [tests] Use StubFileSource where a real FileSource is not required | John Firebaugh | 2016-04-14 | 1 | -2/+2 |
| | |||||
* | [core] Remove internal threading from OnlineFileRequest | John Firebaugh | 2016-04-14 | 1 | -0/+3 |
| | | | | There's no need to do the work that OnlineFileRequest does on a separate thread from the DefaultFileSource thread, and having AsyncTasks proxy to other tasks across a thread boundary adds needless complexity. | ||||
* | [core] Render from the main thread | John Firebaugh | 2016-04-14 | 1 | -45/+3 |
| | | | | Do not create a thread for the MapContext anymore. | ||||
* | [ios] Run core unit tests in CI | John Firebaugh | 2016-04-11 | 1 | -8/+37 |
| | |||||
* | [test] rearrange test files so they're not in the fixtures folder | Konstantin Käfer | 2016-03-22 | 4 | -5/+5 |
| | |||||
* | [core] Always return wrapped coordinates | Bruno de Oliveira Abinader | 2016-03-14 | 1 | -0/+6 |
| | | | | | | This fixes an issue in both iOS and Android when e.g. adding a marker on both sides of the dateline border in Taveuni island, the marker in one of the sides would have an out-of-bounds longitude. | ||||
* | [core] Simplify LatLng::unwrapForShortestPath usage | Bruno de Oliveira Abinader | 2016-03-14 | 1 | -2/+70 |
| | | | | | | | | | | Simplify LatLng::{wrap,unwrapForShortestPath} code, avoiding duplicated code between Transform::{latLngToScreenCoordinate,easeTo,flyTo}. Added unit tests for camera usage in Transform to detect cases like e.g. crossing the antimeridian as a shortest path between two coordinates. Transform::flyTo precision loss to be handled in #4298. | ||||
* | [core] Implement LatLng::null() | Bruno de Oliveira Abinader | 2016-03-13 | 1 | -0/+3 |
| | |||||
* | [core] Harden Transform anchor & padding usage | Bruno de Oliveira Abinader | 2016-03-13 | 1 | -4/+77 |
| | | | | | Use optional values for anchor & padding in Map and Transform functions instead of NaNs. Added unit tests to stress some edge cases. | ||||
* | [core] Fix non-anchored Transform::setAngle | Bruno de Oliveira Abinader | 2016-03-11 | 1 | -12/+17 |
| | | | | | This reverts a line change from b33b2f15, because we explicitely want the anchor to be invalid. | ||||
* | [core] Fix screen coordinates when crossing the antimeridian (#2) | Bruno de Oliveira Abinader | 2016-03-11 | 1 | -0/+16 |
| | | | | Added missing case. Really fixes #4155 this time. | ||||
* | [core] Fix screen coordinates when crossing the antimeridian | Bruno de Oliveira Abinader | 2016-03-10 | 1 | -0/+22 |
| | | | | | | | | | If the center and point coordinates are not in the same side of the antimeridian, we need to unwrap the point longitude to make sure it can still be seen from the visible side of the antimeridian that is opposite to the center side. Fixes #4155. | ||||
* | [core] Check for NaNs in EdgeInsets | Bruno de Oliveira Abinader | 2016-03-10 | 1 | -2/+36 |
| | |||||
* | [core] Coordinate wrapping fixes | Bruno de Oliveira Abinader | 2016-03-10 | 1 | -6/+10 |
| | | | | | | | | | | | | | | | - 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] Moved TileCoordinate to tile cover scope | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -6/+10 |
| | |||||
* | [core] Moved wrapping to LatLng scope | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -0/+23 |
| | | | | Fixes a precision loss when converting unwrapped LatLngs. | ||||
* | [core] PrecisionPoint is now ScreenCoordinate | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -7/+7 |
| | |||||
* | [core] Enforce constants usage | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -16/+17 |
| | | | | | Use 'LATITUDE_MAX', 'LONGITUDE_MAX', 'DEG2RAD' and 'RAD2DEG' whenever possible. | ||||
* | [core] Moving caching logic to DefaultFileSource | John Firebaugh | 2016-02-10 | 2 | -5/+5 |
| | | | | This results in OnlineFileSource containing precisely the logic we want for reuse by OfflineFileSource, and no more. |