Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] TransformState::getIntegerZoom should be uint8_t | Bruno de Oliveira Abinader | 2017-09-15 | 1 | -1/+1 |
| | |||||
* | [core] Improved label pitch-scaling: approximate collision box shapes based ↵ | Chris Loer | 2017-07-11 | 1 | -0/+12 |
| | | | | on tile distance from camera. | ||||
* | [core] Clamp to scale boundaries in TransformState::setLatLngZoom | Bruno de Oliveira Abinader | 2017-06-28 | 1 | -1/+1 |
| | |||||
* | [core] Make TransformState LatLngBounds optional | Bruno de Oliveira Abinader | 2017-06-01 | 1 | -6/+11 |
| | |||||
* | [core] Render fill-extrusion layers (#8431) | Lauren Budorick | 2017-04-27 | 1 | -3/+6 |
| | |||||
* | [all] Remove redundant scale-related camera methods | John Firebaugh | 2017-04-13 | 1 | -4/+0 |
| | | | | We don't need to have two different measurement systems for map zoom. | ||||
* | [core] Added {set,get}{Min,Max}Pitch | Bruno de Oliveira Abinader | 2017-04-11 | 1 | -0/+19 |
| | |||||
* | [core] Added Map::{get,set}LatLngBounds | Bruno de Oliveira Abinader | 2017-04-11 | 1 | -2/+13 |
| | |||||
* | [core] Move {Map,Transform}::{get,set}{Min,Max}Zoom to bounds pragma | Bruno de Oliveira Abinader | 2017-04-11 | 1 | -0/+2 |
| | |||||
* | [core] Updated Size::isEmpty and TransformState::valid checks | Bruno de Oliveira Abinader | 2017-04-10 | 1 | -2/+5 |
| | |||||
* | [all] Make LatLng coordinates read-only | John Firebaugh | 2017-04-06 | 1 | -2/+2 |
| | |||||
* | [core] fix matrix z range and remove hack | Ansis Brammanis | 2016-12-21 | 1 | -3/+6 |
| | | | | | | | ported from -js: 0b5520fa5ab2a4659d80dcffa8b035a0d84fe1ca This should fix the issue behind #2270 and remove the need for the hack added in #3740. | ||||
* | [core, ios] replace `altitude` with `fov` | Ansis Brammanis | 2016-12-21 | 1 | -14/+20 |
| | | | | | | | | | ported from -js: eb6c6596c6a7a61363d30356674e0002153b1d19 `altitude` was a terribly-named variable that was used to indirectly control the fov. This should eliminate some confusion. `altitude` was equivalent to `cameraToCenterDistance / height` | ||||
* | [core] Use double in TransformState::zoomScale | Bruno de Oliveira Abinader | 2016-11-27 | 1 | -1/+1 |
| | |||||
* | Revert "[core] Don't use GL_LINEAR if panning w/o rotation nor pitch" | Bruno de Oliveira Abinader | 2016-11-01 | 1 | -0/+4 |
| | | | | This reverts commit a70bfd89108cf1aef75181819ae43e550a69255e. | ||||
* | [core] Cleanup TransformState::getIntegerZoom | Bruno de Oliveira Abinader | 2016-10-31 | 1 | -1/+1 |
| | |||||
* | [core] Moved util::log2 to its own header | Bruno de Oliveira Abinader | 2016-10-31 | 1 | -2/+2 |
| | | | | | | - Added util::{MIN,MAX}_ZOOM_F to avoid consecutive conversions from double to float - Move util::log2 to its own header (part of mbgl/math) | ||||
* | [core] Don't use GL_LINEAR if panning w/o rotation nor pitch | Bruno de Oliveira Abinader | 2016-10-31 | 1 | -4/+0 |
| | |||||
* | [core] change std::array<uint16_t, 2> to mbgl::Size | Konstantin Käfer | 2016-10-27 | 1 | -22/+20 |
| | |||||
* | [core] Move TransformState::{un,}project() to Projection | Bruno de Oliveira Abinader | 2016-10-19 | 1 | -22/+6 |
| | |||||
* | [core] Move TransformState::worldSize() to Projection | Bruno de Oliveira Abinader | 2016-10-19 | 1 | -12/+8 |
| | |||||
* | [core] Fix matrix when panning around the world | Bruno de Oliveira Abinader | 2016-07-12 | 1 | -1/+1 |
| | | | | Partially reverts commit 1d46e83. | ||||
* | [core] code style cleanups | Konstantin Käfer | 2016-07-01 | 1 | -3/+3 |
| | | | | | | | - puts function definitions in a namespace ... {} rather than using namespace ...; - remove trailing whitespace - add trailing newline - protect SQL statements from being formatted by clang-format | ||||
* | [core] Use the right types for zoom scale logic | Bruno de Oliveira Abinader | 2016-06-28 | 1 | -3/+3 |
| | | | | | | | 32 bit integers should be enough for zoom scale logic. In shape annotation logic, 'maxAmountOfTileFeatures' requires 64 bits because we are multiplying the zoom scale with the extent, which might give a number higher than std::numeric_limits<uint32_t>::max(). | ||||
* | [android] #5254 - fix ARMv5 support | Thiago Marcos P. Santos | 2016-06-06 | 1 | -1/+1 |
| | | | | Backported patches fixing ARMv5 support for issue #3985. | ||||
* | [core] Avoid NaNs in TransformState unit conversions | Bruno de Oliveira Abinader | 2016-05-20 | 1 | -0/+8 |
| | | | | | Fix cases where e.g. state has either zero width or height, causing the unit convertion functions would return NaNs. | ||||
* | [core] Rewrite TileCoordinate in terms of geometry.hpp point | John Firebaugh | 2016-05-17 | 1 | -39/+26 |
| | |||||
* | [core] Added Viewport mode | Bruno de Oliveira Abinader | 2016-05-11 | 1 | -2/+10 |
| | | | | | | Satisfies embedding platforms that requires the viewport coordinate systems to be set according to its standards e.g. viewport mirrored vertically. | ||||
* | [core] move Painter and dependents to new *TileID classes | Konstantin Käfer | 2016-05-10 | 1 | -5/+7 |
| | |||||
* | [core] Use geometry.hpp's point | John Firebaugh | 2016-05-05 | 1 | -19/+17 |
| | |||||
* | [core] Privatize math.hpp and vec.hpp | John Firebaugh | 2016-05-05 | 1 | -0/+1 |
| | |||||
* | [core] Coordinate wrapping fixes | Bruno de Oliveira Abinader | 2016-03-10 | 1 | -29/+2 |
| | | | | | | | | | | | | | | | - 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] Use TransformState::worldSize() whenever possible | Bruno de Oliveira Abinader | 2016-03-03 | 1 | -5/+5 |
| | |||||
* | [core] Simplify TransformState::moveLatLng | Bruno de Oliveira Abinader | 2016-03-03 | 1 | -2/+2 |
| | |||||
* | [core] Added DEGREES_MAX as constant value | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -8/+8 |
| | |||||
* | [core] Moved TileCoordinate to tile cover scope | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -62/+30 |
| | |||||
* | [core] PrecisionPoint is now ScreenCoordinate | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -8/+8 |
| | |||||
* | [core] Get rid of mbgl/util/vec4 - use vec4 from vec.hpp instead | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -17/+19 |
| | |||||
* | [core] Enforce constants usage | Bruno de Oliveira Abinader | 2016-03-01 | 1 | -14/+14 |
| | | | | | Use 'LATITUDE_MAX', 'LONGITUDE_MAX', 'DEG2RAD' and 'RAD2DEG' whenever possible. | ||||
* | Merge branch 'release-ios-v3.1.0' | Minh Nguyễn | 2016-02-24 | 1 | -2/+10 |
|\ | |||||
| * | [core, ios, osx] Only constrain after adding to a window | Minh Nguyễn | 2016-02-10 | 1 | -2/+10 |
| | | | | | | | | | | | | Introduced a setter/getter for constrain mode. On iOS and OS X, the zoom level inspectable causes the zoom level to be set independently from the longitude and latitude. Thus, the latitude inspectable had no effect because the latitude was constrained to 0 at z0. Temporarily removing the heightwise constraint allows the map to center on the intended location before zooming, which is the usual case for storyboards and XIBs. On iOS, the only guarantee we have timing-wise is that all the inspectables are applied after initialization but before the view is added to a window. So we reimpose the heightwise constraint as soon as the view is added to a window, that is, before the user has a chance to pan the map out of bounds. Fixes #3868. | ||||
* | | [core] Refactor tileCover | John Firebaugh | 2016-02-10 | 1 | -13/+0 |
|/ | |||||
* | [core] #509 - Creating and using MIN_ZOOM and MAX_ZOOM constants | Brad Leege | 2016-02-03 | 1 | -2/+2 |
| | |||||
* | [core] #509 - Adding min / max checks to parameters and refactoring to ↵ | Brad Leege | 2016-02-03 | 1 | -14/+4 |
| | | | | utilize clamp function | ||||
* | [android][core] #509 - Setting Min and Max Zooms warning annotations in ↵ | Brad Leege | 2016-02-03 | 1 | -2/+16 |
| | | | | Android. Clamping Min and Max zooms at Core GL for all platforms to use at runtime. | ||||
* | [core] support tiles with non-4096 extents | Ansis Brammanis | 2016-02-02 | 1 | -1/+1 |
| | | | | | Convert all geometries to the maximum extent supported by our buffers and then use that constant extent everywhere else. | ||||
* | [core] Simplify latLngToCoordinate calculation | John Firebaugh | 2016-02-02 | 1 | -5/+3 |
| | |||||
* | [core] Remove unused | John Firebaugh | 2016-02-02 | 1 | -4/+0 |
| | |||||
* | [core] Remove TransformState::getNormalizedZoom | John Firebaugh | 2016-02-02 | 1 | -4/+0 |
| | | | | It calculated the same value as TransformState::getZoom. | ||||
* | [core] add setMaxZoom, setMinZoom | Ansis Brammanis | 2016-01-28 | 1 | -0/+8 |
| | | | | also change the default maxZoom to 20 to match -js. |