Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [core] #509 - Creating and using MIN_ZOOM and MAX_ZOOM constants | Brad Leege | 2016-02-03 | 2 | -2/+4 |
| | |||||
* | [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 | 2 | -5/+5 |
| | | | | | | | * 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 | 7 | -37/+0 |
| | |||||
* | [core] Remove unused | John Firebaugh | 2016-02-02 | 1 | -8/+0 |
| | |||||
* | [core] tweak dash rendering and enable render tests | Ansis Brammanis | 2016-02-02 | 1 | -3/+5 |
| | | | | fixes #2646 | ||||
* | [core] make symbol sort order more deterministic | Ansis Brammanis | 2016-02-02 | 2 | -6/+10 |
| | |||||
* | [core] support tiles with non-4096 extents | Ansis Brammanis | 2016-02-02 | 24 | -36/+91 |
| | | | | | 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 | 5 | -19/+14 |
| | | | | 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 | 3 | -4/+4 |
| | |||||
* | [core] Refactor TileJSON parsing for offline | John Firebaugh | 2016-02-01 | 3 | -22/+49 |
| | |||||
* | [core] Change TileData pixelRatio to an integer | John Firebaugh | 2016-01-29 | 1 | -1/+1 |
| | |||||
* | [core] Rationalize Resource initialization | John Firebaugh | 2016-01-29 | 9 | -86/+102 |
| | |||||
* | [core] Ensure that FileSource has access to tile URL, pixelRatio, x, y, z | John Firebaugh | 2016-01-29 | 5 | -29/+54 |
| | |||||
* | [core] Camel-case member names | John Firebaugh | 2016-01-29 | 3 | -11/+11 |
| | |||||
* | [core] fix redoPlacement blocking main thread, fix #3727 | Ansis Brammanis | 2016-01-29 | 1 | -6/+5 |
| | | | | | | | | If a workRequest exists, don't cancel it and start an new request. It's ok to just do nothing if the request exists because a new call to redoPlacement will be triggered after the existing request finishes. this fixes a regression in e44db93f1cb3276dcdc7de8400ca96beda1b1d30 | ||||
* | [core] Move rapidjson document creation into StyleParser | John Firebaugh | 2016-01-28 | 3 | -13/+14 |
| | |||||
* | [core] add setMaxZoom, setMinZoom | Ansis Brammanis | 2016-01-28 | 5 | -1/+36 |
| | | | | also change the default maxZoom to 20 to match -js. | ||||
* | [core] destruct WorkTask data before calling the callback | Konstantin Käfer | 2016-01-28 | 3 | -5/+7 |
| | |||||
* | [core, ios, osx] Tilt around visual center point | Minh Nguyễn | 2016-01-26 | 3 | -1/+18 |
| | | | | The tilt gesture on both iOS and OS X now respects the content insets. On iOS, in user tracking mode, it additionally respects the user dot’s position if it’s aligned to the top or bottom of the view. | ||||
* | [core] bump sprite atlas to 1024x1024 | Ansis Brammanis | 2016-01-26 | 3 | -3/+3 |
| | |||||
* | Cleanup std::chrono usage | Bruno de Oliveira Abinader | 2016-01-25 | 5 | -5/+7 |
| | | | | Use mbgl::Duration and mbgl::{,Milli}Seconds whenever possible. | ||||
* | [core] Include prior values of caching headers in Resource | John Firebaugh | 2016-01-22 | 3 | -11/+9 |
| | | | | This allows the FileSource interface itself to support revalidation. We could (and probably should) now rewrite HTTPContextBase implementations as FileSource implementations. | ||||
* | [core] Use notModified to check for style change | John Firebaugh | 2016-01-22 | 1 | -5/+7 |
| | |||||
* | [core] Avoid storing raw glyph data in addition to parsed representation | John Firebaugh | 2016-01-22 | 2 | -31/+17 |
| | |||||
* | [core] Remove unused parts of chrono.hpp | John Firebaugh | 2016-01-22 | 1 | -16/+0 |
| | |||||
* | [core] Merge rfc1123, iso8601, and parse_date into chrono.hpp and fix their API | John Firebaugh | 2016-01-22 | 5 | -34/+76 |
| | |||||
* | [core] fix missing icon collision boxes | Ansis Brammanis | 2016-01-22 | 2 | -10/+18 |
| | | | | port https://github.com/mapbox/mapbox-gl-js/pull/1981 | ||||
* | [core] use nearest neigbour for some line icons | Ansis Brammanis | 2016-01-22 | 1 | -1/+1 |
| | | | | | Use nearest neighbour texture filtering to draw sharper icons when the icons are aligned with the viewport. This matches -js. | ||||
* | [core] trigger repaint after placement is redone | Ansis Brammanis | 2016-01-22 | 7 | -41/+38 |
| | | | | | | | fixes #3140 This also fixes a bug where placement could be redone with a stale PlacementConfig after the tile first finishes loading. | ||||
* | [core] don't use expensive fmod to get fractional part | Konstantin Käfer | 2016-01-22 | 1 | -1/+1 |
| | |||||
* | [core] don't copy stops by value when recalculating StyleParameters | Konstantin Käfer | 2016-01-22 | 1 | -1/+1 |
| | |||||
* | [core] Use better types for modified / expires / etag | John Firebaugh | 2016-01-21 | 10 | -25/+34 |
| | |||||
* | [core] Eliminate Response::stale and inline Response::isExpired() | John Firebaugh | 2016-01-21 | 1 | -6/+0 |
| | | | | Response::isExpired() had subtle and potentially confusing behavior around Seconds::zero(). It's best to inline it and comment why. | ||||
* | [core] Eliminate RequestBase | John Firebaugh | 2016-01-21 | 3 | -40/+17 |
| | | | | HTTPRequestBase can now itself be the base class. | ||||
* | [core] improve text-max-angle check | Ansis Brammanis | 2016-01-20 | 1 | -2/+2 |
| | | | | | | | | | Instead of using the absolute value of the sum of angles, use the sum of the absolute values of angles. This helps avoid labels on lines with sharp zig zags. for example, the "Central Campus Mall" label in issue #2998 | ||||
* | [core] implement symbol-avoid-edges | Ansis Brammanis | 2016-01-20 | 3 | -41/+98 |
| | | | | | | | ref #3582 if `symbol-avoid-edges` is true, this prevents symbols from colliding with tile edges. | ||||
* | Revert "Revert WebP support due to broken builds" | Bruno de Oliveira Abinader | 2016-01-20 | 1 | -0/+6 |
| | | | | | | | This reverts commit 6709bdcacd5a45a10b554f3f225206c9494e5e43. There was an issue with the script that removes '-lwebp' from WebP linker flags, since we're statically linking. This is now fixed. | ||||
* | [core][ios][osx][android] make SpriteImage accept PremultipliedImage | Ansis Brammanis | 2016-01-19 | 8 | -43/+37 |
| | | | | | | | | | | | | the SpriteImage constructor signature changes from SpriteImage( uint16_t width, uint16_t height, float pixelRatio, std::string&& data, bool sdf = false); to SpriteImage(PremultipliedImage&&, float pixelRatio, bool sdf = false) | ||||
* | [core][ios][osx][android] fix icons with non-integer width/height | Ansis Brammanis | 2016-01-19 | 2 | -21/+14 |
| | | | | | | | | | | | ref #3031 ref #2198 For example, an icon that has: - a pixel width of 10 - a pixel ratio of 3 - a scaled with of 3.333 is now supported. | ||||
* | [core] Use experimental optional instead of mapbox::util::optional | John Firebaugh | 2016-01-19 | 26 | -64/+59 |
| | |||||
* | Revert WebP support due to broken builds | John Firebaugh | 2016-01-19 | 1 | -6/+0 |
| | | | | This reverts commits 2010fbb0e61cbe7c0b08560118ca887fc1d7193e, a361ce47a19d37b96b48cd605c62c5ab79bba462, and d004bb275ae3ea60bb6c2febd6fa22f1f51c3993. | ||||
* | [linux] Replace PNG with WebP on tile source URL | Bruno de Oliveira Abinader | 2016-01-19 | 1 | -0/+6 |
| | | | | | This is a hack, in the same fashion as adding {ratio} to the tile URLs. We should update the raster tile sources to use WebP by default. | ||||
* | [ios] Flip points, not edge insets | Minh Nguyễn | 2016-01-18 | 2 | -12/+7 |
| | |||||
* | [core] Reformulated setLatLng() based on CameraOptions | Minh Nguyễn | 2016-01-18 | 1 | -15/+11 |
| | | | | This version of setLatLng() can be expressed by constraining the viewport to a 0×0 viewport around the passed-in point. | ||||
* | [core, ios, osx, android, glfw] Flipped origin of Map::latLngForPixel(), ↵ | Minh Nguyễn | 2016-01-18 | 3 | -4/+26 |
| | | | | | | | | Map::pixelForLatLng() Map and Transform methods assume an origin at the top-left corner of the view, like iOS, Android, and GLFW but unlike OS X. Transform is responsible for flipping coordinates between the top-left origin of Map and the bottom-left origin of TransformState. Fixes #3574. |