Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] Fix non-anchored Transform::setAngle | Bruno de Oliveira Abinader | 2016-03-11 | 1 | -1/+1 |
| | | | | | 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 | -1/+1 |
| | | | | Added missing case. Really fixes #4155 this time. | ||||
* | [core] Fix screen coordinates when crossing the antimeridian | Bruno de Oliveira Abinader | 2016-03-10 | 1 | -1/+15 |
| | | | | | | | | | 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] Extra checks in Transform | Bruno de Oliveira Abinader | 2016-03-10 | 1 | -1/+5 |
| | |||||
* | [core] Check for NaNs in EdgeInsets | Bruno de Oliveira Abinader | 2016-03-10 | 2 | -15/+14 |
| | |||||
* | [core] Added Transform::getScreenCoordinate | Bruno de Oliveira Abinader | 2016-03-10 | 2 | -13/+19 |
| | |||||
* | [core] Remove _validPoint from Transform code | Bruno de Oliveira Abinader | 2016-03-10 | 1 | -11/+3 |
| | | | | vec2<T>::operator bool() checks for NaNs already. | ||||
* | [core] Coordinate wrapping fixes | Bruno de Oliveira Abinader | 2016-03-10 | 3 | -36/+19 |
| | | | | | | | | | | | | | | | - 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] cancel TileID::overscaling() | Konstantin Käfer | 2016-03-08 | 1 | -2/+2 |
| | |||||
* | Fixes an issue where rendering without Vertex Array Objects would cause a ↵ | Henry Dooley | 2016-03-04 | 1 | -3/+3 |
| | | | | massive slowdown in the driver on Nvidia hardware. Unconfirmed if the issue is present on other GPUs. | ||||
* | [core] Reset pitch in Map::resetPosition | Bruno de Oliveira Abinader | 2016-03-03 | 1 | -0/+1 |
| | |||||
* | [core] Use TransformState::worldSize() whenever possible | Bruno de Oliveira Abinader | 2016-03-03 | 2 | -7/+7 |
| | |||||
* | [core] Simplify TransformState::moveLatLng | Bruno de Oliveira Abinader | 2016-03-03 | 1 | -2/+2 |
| | |||||
* | [core] Fix style cascade loop when transitioning | Bruno de Oliveira Abinader | 2016-03-03 | 1 | -1/+1 |
| | |||||
* | [core] Avoid precompute overscaling for TileID | Bruno de Oliveira Abinader | 2016-03-01 | 2 | -14/+18 |
| | | | | Plus type change for zoom and removed redundant inlines. | ||||
* | [core] Added DEGREES_MAX as constant value | Bruno de Oliveira Abinader | 2016-03-01 | 3 | -11/+11 |
| | |||||
* | [core] Moved TileCoordinate to tile cover scope | Bruno de Oliveira Abinader | 2016-03-01 | 2 | -71/+32 |
| | |||||
* | [core] Cleared TileCoordinate from Painter | Bruno de Oliveira Abinader | 2016-03-01 | 2 | -5/+5 |
| | |||||
* | [core] Moved wrapping to LatLng scope | Bruno de Oliveira Abinader | 2016-03-01 | 2 | -17/+2 |
| | | | | Fixes a precision loss when converting unwrapped LatLngs. | ||||
* | [core] PrecisionPoint is now ScreenCoordinate | Bruno de Oliveira Abinader | 2016-03-01 | 5 | -76/+76 |
| | |||||
* | [core] Get rid of mbgl/util/vec4 - use vec4 from vec.hpp instead | Bruno de Oliveira Abinader | 2016-03-01 | 2 | -18/+19 |
| | |||||
* | [core] Enforce constants usage | Bruno de Oliveira Abinader | 2016-03-01 | 3 | -20/+20 |
| | | | | | Use 'LATITUDE_MAX', 'LONGITUDE_MAX', 'DEG2RAD' and 'RAD2DEG' whenever possible. | ||||
* | Merge branch 'release-ios-v3.1.0' | Minh Nguyễn | 2016-02-24 | 5 | -2/+38 |
|\ | |||||
| * | [core, ios, osx] Only constrain after adding to a window | Minh Nguyễn | 2016-02-10 | 5 | -2/+38 |
| | | | | | | | | | | | | 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] Thread GLObjectStore through to Holder objects | John Firebaugh | 2016-02-18 | 1 | -3/+1 |
| | | | | | | | | | | | | This eliminates the reliance on ThreadContext to provide GLObjectStore, and statically enforces that GL cleanup functions happen only when GLObjectStore::performCleanup is called. With the elimination of the Map thread, this becomes important because there may be multiple GLObjectStore's per-thread, and Map will need to ensure that the correct context is active when calling GLObjectStore::performCleanup. | ||||
* | | [core] Remove ThreadContext::getFileSource; instead thread FileSource through | John Firebaugh | 2016-02-18 | 2 | -6/+6 |
| | | |||||
* | | [gl] Moved TexturePool to gl namespace | Bruno de Oliveira Abinader | 2016-02-18 | 2 | -4/+6 |
| | | |||||
* | | [gl] Moved GLObjectStore to gl namespace | Bruno de Oliveira Abinader | 2016-02-18 | 2 | -3/+3 |
| | | |||||
* | | [core] Add support for updating point annotations | Gabriel Miklós | 2016-02-12 | 1 | -0/+5 |
| | | |||||
* | | [core] Organize files that were in map folder better | John Firebaugh | 2016-02-11 | 19 | -1952/+0 |
| | | | | | | | | Fixes #996 | ||||
* | | Allow using tileSize: 512 as a switch to trade retina support for 512px ↵ | Young Hahn | 2016-02-11 | 1 | -1/+1 |
| | | | | | | | | raster tiles | ||||
* | | [core] Interface and implementation for offline | John Firebaugh | 2016-02-10 | 1 | -0/+2 |
| | | |||||
* | | [all] Don't interpret 404s on non-tile resources as "no content" | John Firebaugh | 2016-02-10 | 4 | -115/+97 |
| | | |||||
* | | [core] Refactor tileCover | John Firebaugh | 2016-02-10 | 5 | -82/+37 |
| | | |||||
* | | [core] draw clipping masks from ClipIDGenerator rather than Sources | Konstantin Käfer | 2016-02-10 | 2 | -9/+0 |
| | | |||||
* | | [core] compute the actual clipping masks that we have to draw with getStencils() | Konstantin Käfer | 2016-02-10 | 1 | -1/+3 |
|/ | |||||
* | [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] Improve LatLngBounds API | John Firebaugh | 2016-02-02 | 1 | -4/+4 |
| | | | | | | | * 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 | ||||
* | [core] Remove unused | John Firebaugh | 2016-02-02 | 1 | -4/+0 |
| | |||||
* | [core] Remove unused | John Firebaugh | 2016-02-02 | 1 | -8/+0 |
| | |||||
* | [core] support tiles with non-4096 extents | Ansis Brammanis | 2016-02-02 | 4 | -1/+7 |
| | | | | | 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 | 2 | -5/+0 |
| | |||||
* | [core] Remove TransformState::getNormalizedZoom | John Firebaugh | 2016-02-02 | 3 | -7/+2 |
| | | | | It calculated the same value as TransformState::getZoom. | ||||
* | [core] Remove unused declarations | John Firebaugh | 2016-02-02 | 1 | -3/+0 |
| | |||||
* | [core] Normalize only raster source tile URLs | John Firebaugh | 2016-02-01 | 1 | -1/+1 |
| | |||||
* | [core] Refactor TileJSON parsing for offline | John Firebaugh | 2016-02-01 | 1 | -20/+19 |
| | |||||
* | [core] Rationalize Resource initialization | John Firebaugh | 2016-01-29 | 4 | -29/+4 |
| |