Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fixes #2044: add -showAnnotations:animated: | Justin R. Miller | 2015-08-12 | 1 | -0/+7 |
| | |||||
* | Merge branch 'android-okhttp' | Leith Bade | 2015-08-12 | 1 | -0/+29 |
|\ | |||||
| * | Use OkHTTP to implement HTTPContext on Android. | Leith Bade | 2015-08-11 | 1 | -0/+29 |
| | | | | | | | | Closes #823 | ||||
* | | add benchmark mode that shows the real frame time rather than the vsync time | Konstantin Käfer | 2015-08-11 | 2 | -2/+9 |
|/ | |||||
* | Map::nudgeTransitions no longer depends on client information | Bruno de Oliveira Abinader | 2015-08-05 | 2 | -5/+5 |
| | | | | | | | | Clients no longer need to provide data (eg. if gesturing or in a custom animation) to Map::nudgeTransitions(). Upon MapContext::renderSync(), a new atomic bool 'needsRepaint' in MapData allows thread-safe communication between Map and MapContext. | ||||
* | Added Update::Repaint | Bruno de Oliveira Abinader | 2015-08-05 | 2 | -1/+2 |
| | |||||
* | add MBGL_USE_GLES2 define | Konstantin Käfer | 2015-08-04 | 3 | -11/+14 |
| | |||||
* | don't use certain STL functions | Konstantin Käfer | 2015-08-04 | 1 | -4/+4 |
| | | | | some functions defined in <cmath>, as well as std::to_string aren't available on GNU's STL for some platforms, e.g. Android | ||||
* | First pass at tidying up Android annotation code | Leith Bade | 2015-08-04 | 1 | -0/+23 |
| | |||||
* | Add more mapView! | Jason Wray | 2015-07-31 | 1 | -0/+2 |
| | |||||
* | Document iOS region change delegate methods | Jason Wray | 2015-07-31 | 1 | -3/+12 |
| | | | | With #1026 the region delegate methods work reliably and as expected. This commit adds `mapView:regionWillChangeAnimated:`, `mapViewRegionIsChanging:`, and `mapView:regionDidChangeAnimated:` to the official documentation. | ||||
* | First pass at updating JNI bindings | Leith Bade | 2015-07-29 | 1 | -1/+4 |
| | | | | | | | | | Hook up collisionDebug, isFullyLoaded, onLowMemory in Android Rename class to styleClass in Java to match iOS Fixed some formatting Fixes #1905 Fixes #1946 Fixes #1263 | ||||
* | Avoid nudging transitions if a gesture is in progress | Bruno de Oliveira Abinader | 2015-07-23 | 1 | -1/+1 |
| | | | | | | | | We're now using nudgeTransitions() to tell the Map view that we want to update it. However, if we're on a gesture movement, the update() call can get called too fast and causing general slowdown. This check ensures we only call for nudgeTransitions() after all gesture events are finished. Fixes the issue pointed out by #1548 on Android. | ||||
* | Export default transition delay in Map public API | Bruno de Oliveira Abinader | 2015-07-21 | 2 | -1/+5 |
| | | | | | | | Added a setter/getter for default transition delay, in the same fashion as the default transition duration. Spin-off from #1888. Fixes #302. | ||||
* | Revert "Revert "split renderSync and transition nudging to allow client view ↵ | Bruno de Oliveira Abinader | 2015-07-20 | 1 | -1/+4 |
| | | | | | | syncing"" This reverts commit 263f9fad308873077b9287dd8aeab089fc415b10. | ||||
* | Revert "split renderSync and transition nudging to allow client view syncing" | Bruno de Oliveira Abinader | 2015-07-20 | 1 | -4/+1 |
| | | | | | | This reverts commit b8388168dd130c67c77254565cdb576df7905915. It seems 'nudgeTransitions()' is no longer necessary as #1548 has fixed the update issues. | ||||
* | Merge branch 'release-v0.5.0' | Minh Nguyễn | 2015-07-14 | 1 | -1/+4 |
|\ | |||||
| * | refs #1859: use traditional struct declaration | Justin R. Miller | 2015-07-09 | 1 | -4/+7 |
| | | |||||
| * | Removed documentation for unavailable method | Minh Nguyễn | 2015-07-08 | 1 | -4/+0 |
| | | | | | | | | So it doesn’t show up in the generated docset. | ||||
| * | split renderSync and transition nudging to allow client view syncing | Justin R. Miller | 2015-07-08 | 1 | -1/+4 |
| | | |||||
* | | Pass {Duration,TimePoint} by const ref if possible | Bruno de Oliveira Abinader | 2015-07-14 | 1 | -12/+12 |
| | | |||||
* | | Remove unused function: cwd() | Thiago Marcos P. Santos | 2015-07-11 | 1 | -2/+0 |
| | | |||||
* | | refs #1859: use traditional struct declaration | Justin R. Miller | 2015-07-09 | 1 | -4/+7 |
| | | |||||
* | | Removed documentation for unavailable method | Minh Nguyễn | 2015-07-08 | 1 | -4/+0 |
|/ | | | | So it doesn’t show up in the generated docset. | ||||
* | explicitly bring in header | Justin R. Miller | 2015-07-08 | 1 | -0/+2 |
| | |||||
* | fix nullability | Justin R. Miller | 2015-07-08 | 1 | -1/+1 |
| | |||||
* | nullability for MGLAnnotationImage | Justin R. Miller | 2015-07-08 | 1 | -0/+4 |
| | |||||
* | Cocoa custom marker imagery API | Justin R. Miller | 2015-07-08 | 3 | -1/+31 |
| | |||||
* | add ability to add random custom markers to test app | Konstantin Käfer | 2015-07-08 | 2 | -0/+44 |
| | |||||
* | add ability to set custom sprites on the Map object | Konstantin Käfer | 2015-07-08 | 1 | -0/+5 |
| | |||||
* | mark Image constructor as explicit to avoid accidental implicit argument ↵ | Konstantin Käfer | 2015-07-08 | 1 | -1/+1 |
| | | | | | | conversion when passing a std::string instead of an Image, the parameter gets implicitly and automatically converted (== parsed) to a temporary Image object. Since parsing an Image shouldn't be a frequent operation | ||||
* | compress_png: void* => const void* | Konstantin Käfer | 2015-07-08 | 1 | -1/+1 |
| | |||||
* | Sprite store API | Konstantin Käfer | 2015-07-08 | 1 | -0/+5 |
| | |||||
* | improve round line joins for semi-transparent lines | Ansis Brammanis | 2015-07-08 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | https://github.com/mapbox/mapbox-gl-js/pull/1359 Round line joins used to be drawn by adding a semicircle cap to the end of each segment. This looked fine for opaque lines not for semi-transparent lines. This changes the triangulation so that round line joins don't overlap with segments. The gap between segments is filled with small triangles that look like pie slices. The edge of the round linejoin is made up of many short straight lines that look round at the sizes we draw lines. Since sharp angles are infrequent, this does not significantly affect the total number of triangles created. Joins for angles that are really sharp are still drawn with overlap. | ||||
* | Make pixelRatio constant across a Map object lifetime | Konstantin Käfer | 2015-07-08 | 6 | -21/+48 |
| | | | | also moves framebuffer size out of TransformState into its own object | ||||
* | [wrap) | Minh Nguyễn | 2015-07-06 | 1 | -1/+3 |
| | | | | If (wrap] is desired, it is the responsibility of the caller to handle the case in which min is returned. | ||||
* | Move WorkerTask functionality into RunLoop core | John Firebaugh | 2015-07-01 | 2 | -2/+3 |
| | | | | | As a byproduct, this makes FileCache get requests properly cancelable. | ||||
* | fixes #1770: rename & expose compass, logo, and attribution | Justin R. Miller | 2015-07-01 | 1 | -0/+9 |
| | |||||
* | Rationalize *RenderingMap notifications | John Firebaugh | 2015-06-30 | 3 | -3/+21 |
| | |||||
* | Use array of structs rather than parallel arrays for annotations | John Firebaugh | 2015-06-29 | 3 | -9/+56 |
| | |||||
* | Fit to coordinates | Minh Nguyễn | 2015-06-26 | 2 | -0/+8 |
| | | | | Whoever determined the boundaries of the District of Columbia did not have fit-to-bounds implementations in mind. With this change, shapes that are not unrotated rectangles fit much, much better. | ||||
* | Remove duration argument from View::notifyMapChange | John Firebaugh | 2015-06-26 | 2 | -4/+2 |
| | | | | Fixes #1026 | ||||
* | Move Transform from MapData to Map | John Firebaugh | 2015-06-26 | 1 | -0/+2 |
| | | | | | Pass current state to MapContext where needed. Remove mutex from Transform. | ||||
* | drive Android rendering from the main thread via invalidate() calls | Konstantin Käfer | 2015-06-26 | 2 | -0/+4 |
| | |||||
* | drive map rendering from main thread | Konstantin Käfer | 2015-06-26 | 4 | -6/+14 |
| | |||||
* | remove unused renderAsync() function | Konstantin Käfer | 2015-06-26 | 1 | -1/+0 |
| | |||||
* | Implemented -setVisibleCoordinateBounds: | Minh Nguyễn | 2015-06-25 | 1 | -3/+5 |
| | | | Followup to #1783: Implemented the non-animated version of fit to bounds and makes it a KVO-compliant property. | ||||
* | Test fit to bounds; added MGLCoordinateBounds functions | Minh Nguyễn | 2015-06-25 | 5 | -15/+90 |
| | | | | Added a bunch of functions to work with MGLCoordinateBounds in a separate header analogous to MKGeometry.h. Added resolution-independent tests for common fit to bounds scenarios. | ||||
* | Fit to bounds with padding | Minh Nguyễn | 2015-06-25 | 2 | -1/+11 |
| | | | | Each side of the bounding box is specified independently, allowing more flexibility than the offset + padding construct supported in mapbox/mapbox-gl-js’ Camera. | ||||
* | Reimplemented fit to bounds | Minh Nguyễn | 2015-06-25 | 3 | -0/+16 |
| | | | | The new implementation is now public and takes advantage of MGLCoordinateBounds. It is re-ported from `Camera.prototype.fitBounds()` in mapbox/mapbox-gl-js to ensure correct behavior. A new function, MGLCoordinateBoundsMake(), makes it easier to create an MGLCoordinateBounds for use with this method. |