summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
| * implement annotation marker tap recognition in AndroidJustin R. Miller2015-08-281-0/+7
| |
| * iOS perspective gesture supportJason Wray2015-08-262-0/+22
| | | | | | | | | | | | Drag two fingers upward to tilt the map. Implements #2116
| * add map.setPitch(pitch) and map.getPitch()Ansis Brammanis2015-08-241-0/+4
| |
| * load correct covering tiles in perspective viewAnsis Brammanis2015-08-241-0/+1
| | | | | | | | | | port pointCoordinate from -js to convert screen points to tile coordinates correctly in perspective view.
| * fix earthquakes in perspective viewAnsis Brammanis2015-08-241-7/+7
| | | | | | | | | | Use higher precision for matrix calculations so that the map does not jump around while zooming.
| * port mat4.perspective and mat4.rotate_xAnsis Brammanis2015-08-241-0/+2
| |
* | View::swap -> View::beforeRender View::afterRenderMike Morris2015-08-254-4/+12
|/ | | | | To be able to resize the framebuffer on the map thread in HeadlessView.
* Merge branch 'v8'John Firebaugh2015-08-243-2/+19
|\
| * Support v8 sprite, glyph, and style mapbox:// urlsLucas Wojciechowski2015-08-211-2/+2
| |
| * Add circle render typeBruno de Oliveira Abinader2015-08-202-0/+17
| | | | | | | | | | | | | | As specified in: https://github.com/mapbox/mapbox-gl-style-spec/blob/v8-circle/reference/v8.json Part of #1740.
* | GL is the library, SDK is the productJustin R. Miller2015-08-212-1/+1
|/
* MGLUserTrackingModeFollowWithCourseMinh Nguyễn2015-08-142-2/+4
| | | | | | Added course-tracking. However, rotation has to happen atomically without animation until #1834 is fixed. Fixes #1605.
* Added operator implementations for mbgl::Update enum classBruno de Oliveira Abinader2015-08-131-4/+15
|
* fixes #2044: add -showAnnotations:animated:Justin R. Miller2015-08-121-0/+7
|
* Merge branch 'android-okhttp'Leith Bade2015-08-121-0/+29
|\
| * Use OkHTTP to implement HTTPContext on Android.Leith Bade2015-08-111-0/+29
| | | | | | | | Closes #823
* | add benchmark mode that shows the real frame time rather than the vsync timeKonstantin Käfer2015-08-112-2/+9
|/
* Map::nudgeTransitions no longer depends on client informationBruno de Oliveira Abinader2015-08-052-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::RepaintBruno de Oliveira Abinader2015-08-052-1/+2
|
* add MBGL_USE_GLES2 defineKonstantin Käfer2015-08-043-11/+14
|
* don't use certain STL functionsKonstantin Käfer2015-08-041-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 codeLeith Bade2015-08-041-0/+23
|
* Add more mapView!Jason Wray2015-07-311-0/+2
|
* Document iOS region change delegate methodsJason Wray2015-07-311-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 bindingsLeith Bade2015-07-291-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 progressBruno de Oliveira Abinader2015-07-231-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 APIBruno de Oliveira Abinader2015-07-212-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 Abinader2015-07-201-1/+4
| | | | | | syncing"" This reverts commit 263f9fad308873077b9287dd8aeab089fc415b10.
* Revert "split renderSync and transition nudging to allow client view syncing"Bruno de Oliveira Abinader2015-07-201-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ễn2015-07-141-1/+4
|\
| * refs #1859: use traditional struct declarationJustin R. Miller2015-07-091-4/+7
| |
| * Removed documentation for unavailable methodMinh Nguyễn2015-07-081-4/+0
| | | | | | | | So it doesn’t show up in the generated docset.
| * split renderSync and transition nudging to allow client view syncingJustin R. Miller2015-07-081-1/+4
| |
* | Pass {Duration,TimePoint} by const ref if possibleBruno de Oliveira Abinader2015-07-141-12/+12
| |
* | Remove unused function: cwd()Thiago Marcos P. Santos2015-07-111-2/+0
| |
* | refs #1859: use traditional struct declarationJustin R. Miller2015-07-091-4/+7
| |
* | Removed documentation for unavailable methodMinh Nguyễn2015-07-081-4/+0
|/ | | | So it doesn’t show up in the generated docset.
* explicitly bring in headerJustin R. Miller2015-07-081-0/+2
|
* fix nullabilityJustin R. Miller2015-07-081-1/+1
|
* nullability for MGLAnnotationImageJustin R. Miller2015-07-081-0/+4
|
* Cocoa custom marker imagery APIJustin R. Miller2015-07-083-1/+31
|
* add ability to add random custom markers to test appKonstantin Käfer2015-07-082-0/+44
|
* add ability to set custom sprites on the Map objectKonstantin Käfer2015-07-081-0/+5
|
* mark Image constructor as explicit to avoid accidental implicit argument ↵Konstantin Käfer2015-07-081-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äfer2015-07-081-1/+1
|
* Sprite store APIKonstantin Käfer2015-07-081-0/+5
|
* improve round line joins for semi-transparent linesAnsis Brammanis2015-07-081-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 lifetimeKonstantin Käfer2015-07-086-21/+48
| | | | also moves framebuffer size out of TransformState into its own object
* [wrap)Minh Nguyễn2015-07-061-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 coreJohn Firebaugh2015-07-012-2/+3
| | | | | As a byproduct, this makes FileCache get requests properly cancelable.